Function at 0x180006080
Capabilities:
Get file version info

Disassembly:
mov r11, rsp
push rbx
push rsi
push rdi
push r12
push r13
sub rsp, 0x4d0
mov rax, qword [0x1800c6d00]
xor rax, rsp
mov qword [rsp + 0x4b0], rax
xor r13d, r13d
mov qword [r11 + 0x18], rbp
mov dword [rsp + 0x30], edx
mov esi, edx
lea rdi, [0x1800c9520]
mov r12, rcx
mov ebx, r13d
mov ebp, edx
test edx, edx
jle 0x1800062dd
mov qword [r11 - 0x30], r14
lea rsi, str._s__04X
lea r14, [0x1800a60a0]
mov qword [r11 - 0x38], r15
nop dword [rax]
test rbx, rbx
jne 0x1800062c9
cmp ebp, 0xff
mov dword [rsp + 0x20], ebp
lea r8, str._s__02X
mov r9, rdi
cmova r8, rsi
lea rcx, [rsp + 0x2b0]
mov edx, 0x100
call fcn.1800045b0
lea rax, [rsp + 0x2b0]
mov qword [rsp + 0x28], r14
lea r9, [0x1800c9730]
mov qword [rsp + 0x20], rax
lea r8, [0x1800c9720]
mov edx, 0x104
lea rcx, [rsp + 0xa0]
call fcn.1800780a4
lea rcx, [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
test rax, rax
je 0x1800062ab
lea rdx, [rsp + 0x40]
mov r15d, r13d
lea rcx, [rsp + 0xa0]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
lea eax, [rdi - 1]
cmp eax, 0x752e
ja 0x180006298
mov ecx, edi
call fcn.1800429e8
mov r14, rax
test rax, rax
je 0x180006298
mov r9, rax
mov qword [rsp + 0x38], r13
mov r8d, edi
lea rcx, [rsp + 0xa0]
xor edx, edx
call sub.VERSION.dll_GetFileVersionInfoW
lea r9, [rsp + 0x44]
mov rcx, r14
lea r8, [rsp + 0x38]
lea rdx, str.VarFileInfoTranslation
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x18000628b
mov r9d, 0x13
lea r8, [rsp + 0x48]
mov edx, 0x7d00
mov rcx, r12
call qword [sym.imp.USER32.dll_LoadStringW]
mov r9d, 0x13
lea r8, [rsp + 0x70]
mov edx, 0x7d00
mov rcx, rbx
call qword [sym.imp.USER32.dll_LoadStringW]
lea rax, [rsp + 0x48]
lea r8, [rsp + 0x70]
sub r8, rax
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x180006225
add rax, 2
test ecx, ecx
jne 0x180006211
lea r9, [rsp + 0xa0]
test edx, edx
jne 0x18000625f
mov rax, qword [rsp + 0x38]
lea r8, str.Using_RC_File___S_
mov edx, 8
mov r15d, 1
movzx ecx, word [rax]
mov dword [0x1800c9514], ecx
mov rcx, qword [0x1800cc980]
call fcn.1800073b0
jmp 0x18000628b
mov rcx, qword [0x1800cc980]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea r8, str._Language_RC___S___ID_S__not_linked___S_required_
lea rax, [rsp + 0x70]
mov edx, 2
mov qword [rsp + 0x20], rax
call fcn.1800073b0
mov rcx, r14
call fcn.1800429d4
test r15d, r15d
jne 0x1800062a4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rbx, r13
lea rdi, [0x1800c9520]
mov eax, ebp
lea r14, [0x1800a60a0]
cmp eax, 0xff
movzx ebp, bpl
cmovbe ebp, r13d
test ebp, ebp
jne 0x1800060e0
mov esi, dword [rsp + 0x30]
mov r15, qword [rsp + 0x4c0]
mov r14, qword [rsp + 0x4c8]
mov rbp, qword [rsp + 0x510]
test esi, esi
jle 0x18000636a
nop dword [rax]
test rbx, rbx
jne 0x18000636a
mov r9d, esi
lea r8, str.L_02X
mov edx, 0x100
lea rcx, [rsp + 0x2b0]
call fcn.1800045b0
lea rax, [rsp + 0x2b0]
mov edx, 0x104
mov qword [rsp + 0x28], rax
lea r9, [0x1800c9730]
lea r8, [0x1800c9720]
mov qword [rsp + 0x20], rdi
lea rcx, [rsp + 0xa0]
call fcn.1800780a4
lea rdx, [rsp + 0xa0]
mov rcx, r12
call fcn.180005eb0
cmp esi, 0xff
mov rbx, rax
movzx esi, sil
cmovbe esi, r13d
test esi, esi
jne 0x1800062f0
jmp 0x18000636d
mov rax, rbx
mov rcx, qword [rsp + 0x4b0]
xor rcx, rsp
call fcn.180032180
add rsp, 0x4d0
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret