Function at 0x18004c4b0
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 [0x180111b10]
xor rax, rsp
mov qword [rbp + 0xa8], rax
mov rbx, rdx
mov rsi, rcx
cmp qword [rdx + 0x18], 8
jb 0x18004c4f7
mov rcx, qword [rdx]
jmp 0x18004c4fa
mov rcx, rdx
xor edx, edx
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test eax, eax
jne 0x18004c5a9
call fcn.18004c7c0
mov rdx, rax
lea rcx, [rbp - 0x70]
call fcn.1800071b0
nop
mov rdx, rbx
mov rcx, rax
call fcn.1800072f0
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.180007370
nop
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.18004c380
nop
cmp qword [rax + 0x18], 0x10
jb 0x18004c54f
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x48]
call fcn.180085490
nop
cmp qword [rsp + 0x40], 0x10
jb 0x18004c576
mov rcx, qword [rsp + 0x28]
call fcn.180085648
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, [0x18010f350]
lea rcx, [rsp + 0x48]
call fcn.18008aed8
nop
xor eax, eax
mov qword [rbp + 0x98], rax
mov rdx, rdi
lea rcx, [rbp + 0x98]
call fcn.18004ec50
nop
cmp qword [rbx + 0x18], 8
jb 0x18004c5ce
mov rcx, qword [rbx]
jmp 0x18004c5d1
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 0x18004c688
call fcn.18004c910
mov rdx, rax
lea rcx, [rbp - 0x70]
call fcn.1800071b0
nop
mov rdx, rbx
mov rcx, rax
call fcn.1800072f0
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.180007370
nop
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.18004c380
nop
cmp qword [rax + 0x18], 0x10
jb 0x18004c62e
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x48]
call fcn.180085490
nop
cmp qword [rsp + 0x40], 0x10
jb 0x18004c655
mov rcx, qword [rsp + 0x28]
call fcn.180085648
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, [0x18010f350]
lea rcx, [rsp + 0x48]
call fcn.18008aed8
nop
xor edi, edi
mov dword [rbp + 0xa0], edi
mov qword [rbp + 0x90], rdi
lea r9, [rbp + 0xa0]
lea r8, [rbp + 0x90]
lea rdx, [0x1800cf238]
mov rcx, qword [rbp + 0x98]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
jne 0x18004c75c
call fcn.18004ca50
mov rdx, rax
lea rcx, [rbp - 0x70]
call fcn.1800071b0
nop
mov rdx, rbx
mov rcx, rax
call fcn.1800072f0
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.180007370
nop
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.18004c380
nop
cmp qword [rax + 0x18], 0x10
jb 0x18004c704
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x48]
call fcn.180085490
nop
cmp qword [rsp + 0x40], 0x10
jb 0x18004c72b
mov rcx, qword [rsp + 0x28]
call fcn.180085648
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, [0x18010f350]
lea rcx, [rsp + 0x48]
call fcn.18008aed8
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 0x18004c791
call fcn.180085e6c
mov rax, rsi
mov rcx, qword [rbp + 0xa8]
xor rcx, rsp
call fcn.180085420
mov rbx, qword [rsp + 0x1e0]
add rsp, 0x1b0
pop rdi
pop rsi
pop rbp
ret