Function at 0x18004adc0
Capabilities:
Get file version info

Disassembly:
push rbp
push rsi
push rdi
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rsp + 0x1e0], rbx
mov rax, qword [0x180115b20]
xor rax, rsp
mov qword [rbp + 0xa8], rax
mov rbx, rdx
mov rsi, rcx
cmp qword [rdx + 0x18], 8
jb 0x18004ae07
mov rcx, qword [rdx]
jmp 0x18004ae0a
mov rcx, rdx
xor edx, edx
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test eax, eax
jne 0x18004aeb9
call fcn.18004b0d0
mov rdx, rax
lea rcx, [rbp - 0x70]
call fcn.18003aee0
nop
mov rdx, rbx
mov rcx, rax
call fcn.18003b020
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.18003b0a0
nop
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.18004ac90
nop
cmp qword [rax + 0x18], 0x10
jb 0x18004ae5f
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x48]
call fcn.1800892e0
nop
cmp qword [rsp + 0x40], 0x10
jb 0x18004ae86
mov rcx, qword [rsp + 0x28]
call fcn.180089498
mov qword [rsp + 0x40], select
xor edi, edi
mov qword [rsp + 0x38], rdi
mov byte [rsp + 0x28], dil
lea rax, vtable.message_exception.0
mov qword [rsp + 0x48], rax
lea rdx, [0x180112c40]
lea rcx, [rsp + 0x48]
call fcn.18008f6f8
nop
xor eax, eax
mov qword [rbp + 0x98], rax
mov rdx, rdi
lea rcx, [rbp + 0x98]
call fcn.18004d5c0
nop
cmp qword [rbx + 0x18], 8
jb 0x18004aede
mov rcx, qword [rbx]
jmp 0x18004aee1
mov rcx, rbx
mov r9, qword [rbp + 0x98]
mov r8d, edi
xor edx, edx
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x18004af98
call fcn.18004b220
mov rdx, rax
lea rcx, [rbp - 0x70]
call fcn.18003aee0
nop
mov rdx, rbx
mov rcx, rax
call fcn.18003b020
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.18003b0a0
nop
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.18004ac90
nop
cmp qword [rax + 0x18], 0x10
jb 0x18004af3e
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x48]
call fcn.1800892e0
nop
cmp qword [rsp + 0x40], 0x10
jb 0x18004af65
mov rcx, qword [rsp + 0x28]
call fcn.180089498
mov qword [rsp + 0x40], select
xor edi, edi
mov qword [rsp + 0x38], rdi
mov byte [rsp + 0x28], dil
lea rax, vtable.message_exception.0
mov qword [rsp + 0x48], rax
lea rdx, [0x180112c40]
lea rcx, [rsp + 0x48]
call fcn.18008f6f8
nop
xor edi, edi
mov dword [rbp + 0xa0], edi
mov qword [rbp + 0x90], rdi
lea r9, [rbp + 0xa0]
lea r8, [rbp + 0x90]
lea rdx, [0x1800d21d8]
mov rcx, qword [rbp + 0x98]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
jne 0x18004b06c
call fcn.18004b360
mov rdx, rax
lea rcx, [rbp - 0x70]
call fcn.18003aee0
nop
mov rdx, rbx
mov rcx, rax
call fcn.18003b020
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.18003b0a0
nop
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.18004ac90
nop
cmp qword [rax + 0x18], 0x10
jb 0x18004b014
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x48]
call fcn.1800892e0
nop
cmp qword [rsp + 0x40], 0x10
jb 0x18004b03b
mov rcx, qword [rsp + 0x28]
call fcn.180089498
mov qword [rsp + 0x40], select
mov qword [rsp + 0x38], rdi
mov byte [rsp + 0x28], 0
lea rax, vtable.message_exception.0
mov qword [rsp + 0x48], rax
lea rdx, [0x180112c40]
lea rcx, [rsp + 0x48]
call fcn.18008f6f8
nop
mov rax, qword [rbp + 0x90]
movzx ecx, word [rax + 0x16]
movzx edx, word [rax + 0x10]
movzx r8d, word [rax + 0x12]
movzx eax, word [rax + 0x14]
mov dword [rsi], eax
mov dword [rsi + 4], ecx
mov dword [rsi + 8], edx
mov dword [rsi + 0xc], r8d
mov rcx, qword [rbp + 0x98]
test rcx, rcx
je 0x18004b0a1
call fcn.180089c04
mov rax, rsi
mov rcx, qword [rbp + 0xa8]
xor rcx, rsp
call fcn.180089270
mov rbx, qword [rsp + 0x1e0]
add rsp, 0x1b0
pop rdi
pop rsi
pop rbp
ret