Function at 0x18004c2a0
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 [0x180118b10]
xor rax, rsp
mov qword [rbp + 0xa8], rax
mov rbx, rdx
mov rsi, rcx
cmp qword [rdx + 0x18], 8
jb 0x18004c2e7
mov rcx, qword [rdx]
jmp 0x18004c2ea
mov rcx, rdx
xor edx, edx
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test eax, eax
jne 0x18004c399
call fcn.18004c5b0
mov rdx, rax
lea rcx, [rbp - 0x70]
call fcn.180007420
nop
mov rdx, rbx
mov rcx, rax
call fcn.180007560
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.1800075e0
nop
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.18004c170
nop
cmp qword [rax + 0x18], 0x10
jb 0x18004c33f
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x48]
call fcn.180089d60
nop
cmp qword [rsp + 0x40], 0x10
jb 0x18004c366
mov rcx, qword [rsp + 0x28]
call fcn.180089f18
mov qword [rsp + 0x40], setsockopt
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, [0x180115d10]
lea rcx, [rsp + 0x48]
call fcn.18008f9d8
nop
xor eax, eax
mov qword [rbp + 0x98], rax
mov rdx, rdi
lea rcx, [rbp + 0x98]
call fcn.18004eac0
nop
cmp qword [rbx + 0x18], 8
jb 0x18004c3be
mov rcx, qword [rbx]
jmp 0x18004c3c1
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 0x18004c478
call fcn.18004c700
mov rdx, rax
lea rcx, [rbp - 0x70]
call fcn.180007420
nop
mov rdx, rbx
mov rcx, rax
call fcn.180007560
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.1800075e0
nop
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.18004c170
nop
cmp qword [rax + 0x18], 0x10
jb 0x18004c41e
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x48]
call fcn.180089d60
nop
cmp qword [rsp + 0x40], 0x10
jb 0x18004c445
mov rcx, qword [rsp + 0x28]
call fcn.180089f18
mov qword [rsp + 0x40], setsockopt
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, [0x180115d10]
lea rcx, [rsp + 0x48]
call fcn.18008f9d8
nop
xor edi, edi
mov dword [rbp + 0xa0], edi
mov qword [rbp + 0x90], rdi
lea r9, [rbp + 0xa0]
lea r8, [rbp + 0x90]
lea rdx, [0x1800d4280]
mov rcx, qword [rbp + 0x98]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
jne 0x18004c54c
call fcn.18004c840
mov rdx, rax
lea rcx, [rbp - 0x70]
call fcn.180007420
nop
mov rdx, rbx
mov rcx, rax
call fcn.180007560
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.1800075e0
nop
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.18004c170
nop
cmp qword [rax + 0x18], 0x10
jb 0x18004c4f4
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x48]
call fcn.180089d60
nop
cmp qword [rsp + 0x40], 0x10
jb 0x18004c51b
mov rcx, qword [rsp + 0x28]
call fcn.180089f18
mov qword [rsp + 0x40], setsockopt
mov qword [rsp + 0x38], rdi
mov byte [rsp + 0x28], 0
lea rax, vtable.message_exception.0
mov qword [rsp + 0x48], rax
lea rdx, [0x180115d10]
lea rcx, [rsp + 0x48]
call fcn.18008f9d8
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 0x18004c581
call fcn.18008a73c
mov rax, rsi
mov rcx, qword [rbp + 0xa8]
xor rcx, rsp
call fcn.180089cf0
mov rbx, qword [rsp + 0x1e0]
add rsp, 0x1b0
pop rdi
pop rsi
pop rbp
ret