Function at 0x180268430
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x768
mov rax, qword [0x1803d9938]
xor rax, rsp
mov qword [rsp + 0x750], rax
mov rcx, qword [rsp + 0x780]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strdup]
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x788]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strdup]
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x58], 0
cmp qword [rsp + 0x60], 0
je 0x1802684a1
cmp qword [rsp + 0x80], 0
jne 0x1802684ab
mov dword [rsp + 0x58], 8
jmp 0x180268507
mov rax, qword [rsp + 0x770]
mov rax, qword [rax + 0x530]
mov qword [rsp + 0xa8], rax
mov eax, dword [rsp + 0x798]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x790]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x80]
mov r8, qword [rsp + 0x60]
xor edx, edx
mov rcx, qword [rsp + 0x778]
call qword [rsp + 0xa8]
test rax, rax
jne 0x180268507
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x58], eax
mov qword [rsp + 0x90], 0
mov rax, qword [rsp + 0x770]
cmp qword [rax], 0
je 0x1802687b8
cmp qword [rsp + 0x60], 0
je 0x1802687b8
mov rax, qword [rsp + 0x770]
mov rax, qword [rax]
mov eax, dword [rax + 0x28]
and eax, 8
test eax, eax
je 0x180268615
mov qword [rsp + 0x70], 0
lea rdx, [rsp + 0x88]
mov rcx, qword [rsp + 0x60]
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov dword [rsp + 0x5c], eax
cmp dword [rsp + 0x5c], 0
jbe 0x180268615
mov eax, dword [rsp + 0x5c]
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
je 0x180268615
mov r9, qword [rsp + 0x78]
mov r8d, dword [rsp + 0x5c]
mov edx, dword [rsp + 0x88]
mov rcx, qword [rsp + 0x60]
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x18026860a
mov eax, dword [0x1802f942c]
mov dword [rsp + 0x8c], eax
lea r9, [rsp + 0xa0]
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x8c]
mov rcx, qword [rsp + 0x78]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x1802685eb
mov qword [rsp + 0x70], 0
jmp 0x18026860a
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x70]
mov ecx, dword [rcx + 8]
shl rcx, 0x20
add rax, rcx
mov qword [rsp + 0x90], rax
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rax, [0x1802f9430]
mov qword [rsp + 0x50], rax
lea r9, [rsp + 0xc0]
mov r8, qword [rsp + 0x790]
mov rdx, qword [rsp + 0x778]
mov rcx, qword [rsp + 0x770]
call fcn.1802674c0
test eax, eax
je case.default.0x18026867a
mov eax, dword [rsp + 0xe0]
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x68], 8
ja case.default.0x18026867a
movsxd rax, dword [rsp + 0x68]
lea rcx, [0x180000000]
mov eax, dword [rcx + rax*4 + 0x268800]
add rax, rcx
jmp rax
lea rax, str._nosymbols_
mov qword [rsp + 0x50], rax
jmp case.default.0x18026867a
lea rax, str.COFF
mov qword [rsp + 0x50], rax
jmp case.default.0x18026867a
lea rax, [0x1802f9454]
mov qword [rsp + 0x50], rax
jmp case.default.0x18026867a
lea rax, [0x1802f9458]
mov qword [rsp + 0x50], rax
jmp case.default.0x18026867a
lea rax, str._exported_
mov qword [rsp + 0x50], rax
jmp case.default.0x18026867a
lea rax, str._deferred_
mov qword [rsp + 0x50], rax
jmp case.default.0x18026867a
lea rax, [0x1802f947c]
mov qword [rsp + 0x50], rax
jmp case.default.0x18026867a
lea rax, [0x1802f9480]
mov qword [rsp + 0x50], rax
jmp case.default.0x18026867a
lea rax, str.Virtual
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x204]
mov qword [rsp + 0x98], rax
mov eax, 1
imul rax, rax, 0
movsx eax, byte [rsp + rax + 0x304]
test eax, eax
je 0x18026872d
lea rax, [rsp + 0x304]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x770]
mov rax, qword [rax]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0x770]
mov rax, qword [rax]
mov rax, qword [rax]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x798]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x790]
mov r8, qword [rsp + 0x788]
mov rdx, qword [rsp + 0x780]
mov rcx, qword [rsp + 0xb0]
call qword [rsp + 0xb8]
cmp qword [rsp + 0x60], 0
je 0x1802687cb
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
cmp qword [rsp + 0x80], 0
je 0x1802687e4
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x750]
xor rcx, rsp
call fcn.180269d00
add rsp, 0x768
ret