Function at 0x180059ef0
Capabilities:
Get file version info

Disassembly:
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x140]
sub rsp, 0x240
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x270], rbx
mov rax, qword [0x180001b10]
xor rax, rsp
mov qword [rbp + 0x130], rax
mov rbx, rdx
mov rdi, rcx
cmp qword [rdx + 0x18], 8
jb 0x180059f37
mov rcx, qword [rdx]
jmp 0x180059f3a
mov rcx, rdx
xor edx, edx
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
test eax, eax
jne 0x18005a038
mov rdx, rbx
lea rcx, [rsp + 0x48]
call fcn.180012ed0
mov rbx, rax
movdqa xmm0, xmmword [0x18010cb00]
movdqa xmmword [rbp + 0xb0], xmm0
movdqa xmm1, xmmword [0x18010cb10]
movdqa xmmword [rbp + 0xc0], xmm1
movdqa xmm0, xmmword [0x18010c2d0]
movdqa xmmword [rbp + 0xd0], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0xe0], xmm1
xorps xmm0, xmm0
movdqa xmmword [rbp + 0xf0], xmm0
movdqa xmmword [rbp + 0x100], xmm1
movdqa xmmword [rbp + 0x110], xmm0
movdqa xmmword [rbp + 0x120], xmm1
mov r9b, 0x28
lea r8, [0x1800ef070]
mov edx, 0x26
lea rcx, [rbp + 0xb0]
call fcn.180058080
mov rdx, rax
lea rcx, [rbp - 0x70]
call fcn.180015e20
nop
mov rdx, rbx
mov rcx, rax
call fcn.18001aed0
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.180015fe0
nop
cmp qword [rax + 0x18], 0x10
jb 0x18005a005
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x28]
call fcn.1800ae508
nop
lea rax, vtable.message_exception.0
mov qword [rsp + 0x28], rax
lea rdx, [0x180151960]
lea rcx, [rsp + 0x28]
call fcn.1800b40d8
nop
xor eax, eax
mov qword [rbp + 0x98], rax
mov rdx, rsi
lea rcx, [rbp + 0x98]
call fcn.18005cdd0
nop
cmp qword [rbx + 0x18], 8
jb 0x18005a05d
mov rcx, qword [rbx]
jmp 0x18005a060
mov rcx, rbx
mov r9, qword [rbp + 0x98]
mov r8d, esi
xor edx, edx
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x18005a166
mov rdx, rbx
lea rcx, [rsp + 0x68]
call fcn.180012ed0
mov rbx, rax
movdqa xmm0, xmmword [0x18010cd40]
movdqa xmmword [rbp + 0xb0], xmm0
movdqa xmm1, xmmword [0x18010ce40]
movdqa xmmword [rbp + 0xc0], xmm1
movdqa xmm0, xmmword [0x18010bfd0]
movdqa xmmword [rbp + 0xd0], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0xe0], xmm1
xorps xmm0, xmm0
movdqa xmmword [rbp + 0xf0], xmm0
movdqa xmmword [rbp + 0x100], xmm1
movdqa xmmword [rbp + 0x110], xmm0
movdqa xmmword [rbp + 0x120], xmm1
mov r9b, 0xd0
lea r8, [0x1800ef098]
mov edx, 0x22
lea rcx, [rbp + 0xb0]
call fcn.180058080
mov rdx, rax
lea rcx, [rbp - 0x70]
call fcn.180015e20
nop
mov rdx, rbx
mov rcx, rax
call fcn.18001aed0
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.180015fe0
nop
cmp qword [rax + 0x18], 0x10
jb 0x18005a133
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x28]
call fcn.1800ae508
nop
lea rax, vtable.message_exception.0
mov qword [rsp + 0x28], rax
lea rdx, [0x180151960]
lea rcx, [rsp + 0x28]
call fcn.1800b40d8
nop
xor eax, eax
mov dword [rbp + 0xa0], eax
mov qword [rbp + 0x90], rax
lea r9, [rbp + 0xa0]
lea r8, [rbp + 0x90]
lea rdx, [0x180106cf8]
mov rcx, qword [rbp + 0x98]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
jne 0x18005a283
mov rdx, rbx
lea rcx, [rsp + 0x68]
call fcn.180012ed0
mov rbx, rax
movdqa xmm0, xmmword [0x18010ca20]
movdqa xmmword [rbp + 0xb0], xmm0
movdqa xmm1, xmmword [0x18010c7a0]
movdqa xmmword [rbp + 0xc0], xmm1
xorps xmm0, xmm0
movdqa xmmword [rbp + 0xd0], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0xe0], xmm1
movdqa xmmword [rbp + 0xf0], xmm0
movdqa xmmword [rbp + 0x100], xmm1
movdqa xmmword [rbp + 0x110], xmm0
movdqa xmmword [rbp + 0x120], xmm1
mov r9b, 0x79
lea r8, [0x1800ef0c0]
mov edx, 0x1d
lea rcx, [rbp + 0xb0]
call fcn.180058080
mov rdx, rax
lea rcx, [rbp - 0x70]
call fcn.180015e20
nop
mov rdx, rbx
mov rcx, rax
call fcn.18001aed0
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.180015fe0
nop
cmp qword [rax + 0x18], 0x10
jb 0x18005a250
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x28]
call fcn.1800ae508
nop
lea rax, vtable.message_exception.0
mov qword [rsp + 0x28], rax
lea rdx, [0x180151960]
lea rcx, [rsp + 0x28]
call fcn.1800b40d8
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 [rdi], eax
mov dword [rdi + 4], ecx
mov dword [rdi + 8], edx
mov dword [rdi + 0xc], r8d
mov rcx, qword [rbp + 0x98]
test rcx, rcx
je 0x18005a2b8
call fcn.1800ae6c0
mov rax, rdi
mov rcx, qword [rbp + 0x130]
xor rcx, rsp
call fcn.1800adc10
mov rbx, qword [rsp + 0x270]
add rsp, 0x240
pop rdi
pop rsi
pop rbp
ret