Function at 0x1800b9d90
Capabilities:
Get file version info

Disassembly:
mov r11, rsp
push rbp
push r15
sub rsp, 0x758
mov rax, qword [0x180144040]
xor rax, rsp
mov qword [rsp + 0x710], rax
mov qword [r11 - 0x18], rbx
mov rbx, r9
mov qword [r11 - 0x20], rsi
mov qword [r11 - 0x28], rdi
mov qword [r11 - 0x30], r12
mov r12, rcx
mov qword [r11 - 0x38], r13
mov rcx, r8
mov qword [rsp + 0x50], rbx
mov r13, rdx
mov qword [rsp + 0x58], r8
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strdup]
mov rcx, rbx
mov rdi, rax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strdup]
xor esi, esi
mov r15, rax
mov ebp, esi
test rdi, rdi
je 0x1800b9e39
test rax, rax
je 0x1800b9e39
mov eax, dword [rsp + 0x798]
mov r9, r15
mov r10, qword [r12 + 0x530]
mov r8, rdi
mov dword [rsp + 0x28], eax
xor edx, edx
mov rax, qword [rsp + 0x790]
mov rcx, r13
mov qword [rsp + 0x20], rax
call r10
test rax, rax
jne 0x1800b9e3e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
jmp 0x1800b9e3e
mov ebp, 8
mov rax, qword [r12]
test rax, rax
je 0x1800b9fe4
test rdi, rdi
je 0x1800b9ff2
test byte [rax + 0x28], 8
mov qword [rsp + 0x728], r14
je 0x1800b9ef0
lea rdx, [rsp + 0x6c]
mov qword [rsp + 0x60], rsi
mov rcx, rdi
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
mov r14d, eax
test eax, eax
je 0x1800b9ef0
mov ecx, r14d
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
je 0x1800b9ef0
mov edx, dword [rsp + 0x6c]
mov r9, rax
mov r8d, r14d
mov rcx, rdi
call qword [sym.imp.VERSION.dll_GetFileVersionInfoA]
test eax, eax
je 0x1800b9ee7
mov eax, 0x5c
lea r9, [rsp + 0x70]
lea r8, [rsp + 0x60]
mov word [rsp + 0x68], ax
lea rdx, [rsp + 0x68]
mov rcx, rbx
call qword [sym.imp.VERSION.dll_VerQueryValueA]
test eax, eax
jne 0x1800b9ed5
mov qword [rsp + 0x60], rsi
jmp 0x1800b9ee7
mov rax, qword [rsp + 0x60]
mov esi, dword [rax + 8]
mov eax, dword [rax + 0xc]
shl rsi, 0x20
add rsi, rax
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r14, qword [rsp + 0x790]
lea r9, [rsp + 0x80]
mov r8, r14
lea rbx, str._unknown_
mov rdx, r13
mov rcx, r12
call fcn.1800ba070
test eax, eax
je case.default.0x1800b9f37
movsxd rax, dword [rsp + 0xa0]
cmp eax, 8
ja case.default.0x1800b9f37
lea rdx, [0x180000000]
mov ecx, dword [rdx + rax*4 + 0xba048]
add rcx, rdx
jmp rcx
lea rbx, str._nosymbols_
jmp case.default.0x1800b9f37
lea rbx, str.COFF
jmp case.default.0x1800b9f37
lea rbx, [0x1801253ec]
jmp case.default.0x1800b9f37
lea rbx, [0x180125404]
jmp case.default.0x1800b9f37
lea rbx, str._exported_
jmp case.default.0x1800b9f37
lea rbx, str._deferred_
jmp case.default.0x1800b9f37
lea rbx, [0x180125734]
jmp case.default.0x1800b9f37
lea rbx, [0x180125750]
jmp case.default.0x1800b9f37
lea rbx, str.Virtual
cmp byte [rsp + 0x2c4], 0
lea rcx, [rsp + 0x1c4]
mov r8, qword [rsp + 0x50]
lea rax, [rsp + 0x2c4]
mov rdx, qword [rsp + 0x58]
cmove rax, rcx
mov rcx, qword [r12]
mov r9, r14
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0x798]
mov r10, qword [rcx]
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0x20], eax
call qword [r10 + 0x10]
mov r14, qword [rsp + 0x728]
jmp 0x1800b9fe9
test rdi, rdi
je 0x1800b9ff2
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r13, qword [rsp + 0x730]
mov r12, qword [rsp + 0x738]
mov rdi, qword [rsp + 0x740]
mov rsi, qword [rsp + 0x748]
mov rbx, qword [rsp + 0x750]
test r15, r15
je 0x1800ba028
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, ebp
mov rcx, qword [rsp + 0x710]
xor rcx, rsp
call fcn.1800d0f80
add rsp, 0x758
pop r15
pop rbp
ret