Function at 0x140018680
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x330
mov rax, qword [0x1400a3758]
xor rax, rsp
mov qword [rsp + 0x320], rax
mov r12, r8
mov r13, rdx
mov rdi, rcx
xor r14d, r14d
lea ecx, [r14 + 2]
call fcn.140059d40
mov rsi, rax
mov qword [rsp + 0x30], rax
mov word [rax], r14w
mov rbx, qword [r13]
lea r15, [0x14007a7c4]
mov rcx, r15
call fcn.140059d48
mov qword [r13], rax
mov rcx, rbx
call fcn.140059d2c
mov rbx, qword [r12]
mov rcx, r15
call fcn.140059d48
mov qword [r12], rax
mov rcx, rbx
call fcn.140059d2c
lea r8d, [r14 + 0x10]
lea rdx, str.File_not_found:
mov rcx, rdi
call fcn.14005bd3c
test eax, eax
jne 0x140018720
mov edi, r14d
jmp 0x140018923
mov qword [rsp + 0x20], rdi
xor r9d, r9d
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x48]
lea rcx, [0x1400a65b0]
call fcn.14001afd0
nop
mov rbx, qword [rsp + 0x48]
test rbx, rbx
je 0x14001874e
mov rbp, qword [rbx]
jmp 0x140018751
mov rbp, r14
mov rdi, qword [r13]
mov rcx, r15
call fcn.140059d48
mov qword [r13], rax
mov rcx, rdi
call fcn.140059d2c
mov rdi, qword [r12]
mov rcx, r15
call fcn.140059d48
mov qword [r12], rax
mov rcx, rdi
call fcn.140059d2c
cmp byte [0x1400a4682], 0
jne 0x1400188a2
lea rdx, [rsp + 0x38]
mov rcx, rbp
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test eax, eax
je 0x1400188a2
mov ecx, edi
call fcn.140059d40
mov r14, rax
cmp byte [0x1400a4682], 0
jne 0x140018897
mov r9, rax
mov r8d, edi
xor edx, edx
mov rcx, rbp
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x140018897
lea r8, [0x140081b80]
mov rdx, r14
lea rcx, [rsp + 0x40]
call fcn.140019e90
mov rdx, qword [rax]
mov rcx, r15
test rdx, rdx
cmovne rcx, rdx
call fcn.140059d48
mov rdi, rax
mov qword [rsp + 0x30], rax
mov rcx, rsi
call fcn.140059d2c
mov rcx, qword [rsp + 0x40]
call fcn.140059d2c
cmp word [rdi], 0
je 0x140018839
mov rdi, qword [r12]
mov rcx, qword [rsp + 0x30]
call fcn.140059d48
mov qword [r12], rax
mov rcx, rdi
call fcn.140059d2c
mov rdi, qword [rsp + 0x30]
lea r8, [0x140081bc0]
mov rdx, r14
lea rcx, [rsp + 0x50]
call fcn.140019e90
mov rdx, qword [rax]
test rdx, rdx
cmovne r15, rdx
mov rcx, r15
call fcn.140059d48
mov rsi, rax
mov qword [rsp + 0x30], rax
mov rcx, rdi
call fcn.140059d2c
mov rcx, qword [rsp + 0x50]
call fcn.140059d2c
cmp word [rsi], 0
je 0x140018897
mov rdi, qword [r13]
mov rcx, rsi
call fcn.140059d48
mov qword [r13], rax
mov rcx, rdi
call fcn.140059d2c
mov rcx, r14
call fcn.140059d2c
xor r14d, r14d
mov rdi, r14
mov qword [rsp + 0x60], r14
cmp byte [0x1400a4682], 0
jne 0x1400188d5
mov dword [rsp + 0x20], 0x101
mov r9d, 0x2b8
lea r8, [rsp + 0x60]
xor edx, edx
mov rcx, rbp
call fcn.14002cee0
mov rdi, qword [rsp + 0x60]
test rbx, rbx
je 0x140018923
mov eax, 0xffffffff
lock xadd dword [rbx + 0x10], eax
cmp eax, 1
jne 0x14001891e
mov rbx, qword [rsp + 0x48]
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400188ff
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r14
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140018911
call fcn.14004bd8c
mov qword [rbx + 8], r14
mov edx, 0x18
mov rcx, rbx
call fcn.14004bd8c
mov rsi, qword [rsp + 0x30]
mov rcx, rsi
call fcn.140059d2c
mov rax, rdi
mov rcx, qword [rsp + 0x320]
xor rcx, rsp
call fcn.14004bd30
mov rbx, qword [rsp + 0x388]
add rsp, 0x330
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret