Function at 0x140183c10
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x10], rdx
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x290]
sub rsp, 0x390
mov r14, rdx
xor esi, esi
mov dword [rsp + 0x30], esi
lea rax, [0x140484d90]
mov qword [rdx], rax
mov dword [rsp + 0x30], 1
lea rcx, [rbp + 0x2d8]
call fcn.140183fe0
nop
mov rbx, qword [rbp + 0x2d8]
mov eax, dword [rbx + 4]
inc eax
mov dword [rbp + 0x84], eax
cmp eax, 0x100
jle 0x140183c9f
movsxd rcx, eax
add rcx, rcx
call fcn.14023c100
mov rcx, rax
mov qword [rbp + 0x88], rax
test rax, rax
jne 0x140183c91
call fcn.1400ab7c0
mov rcx, qword [rbp + 0x88]
mov eax, dword [rbp + 0x84]
mov dword [rbp + 0x80], eax
jmp 0x140183cb7
lea rcx, [rbp + 0x90]
mov qword [rbp + 0x88], rcx
mov dword [rbp + 0x80], 0x100
mov rdx, qword [rbx + 0x10]
movsxd rdi, dword [rbx + 4]
add rdi, rdi
add rdx, rbx
je 0x140183cd6
mov r8, rdi
call fcn.140258d60
mov rcx, qword [rbp + 0x88]
mov word [rcx + rdi], si
xor edx, edx
mov rcx, qword [rbp + 0x88]
call sub.VERSION.dll_GetFileVersionInfoSizeW
movsxd rsi, eax
mov edi, 0xffffffff
test eax, eax
je 0x140183f75
mov dword [rsp + 0x74], esi
cmp esi, 0x100
jle 0x140183d2d
mov rcx, rsi
call fcn.14023c100
mov r9, rax
mov qword [rsp + 0x78], rax
test rax, rax
jne 0x140183d23
call fcn.1400ab7c0
mov r9, qword [rsp + 0x78]
mov eax, dword [rsp + 0x74]
mov dword [rsp + 0x70], eax
jmp 0x140183d3e
lea r9, [rbp - 0x80]
mov qword [rsp + 0x78], r9
mov dword [rsp + 0x70], 0x100
mov r8d, esi
xor edx, edx
mov rcx, qword [rbp + 0x88]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x140183f61
lea r9, [rbp + 0x2d0]
lea r8, [rsp + 0x60]
lea rdx, [0x140310b78]
mov rcx, qword [rsp + 0x78]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x140183f61
cmp dword [rbp + 0x2d0], 0
je 0x140183f61
mov rbx, qword [rsp + 0x60]
lea rax, [0x140491af0]
mov qword [rsp + 0x50], rax
mov esi, 0x20
movzx r8d, word [rbx + 0x12]
mov word [rsp + 0x28], si
mov dword [rsp + 0x20], 0xa
xor r9d, r9d
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x50]
call fcn.1400b7fc0
mov dword [rsp + 0x30], 3
movzx r8d, word [rbx + 0x10]
mov word [rsp + 0x28], si
mov dword [rsp + 0x20], 0xa
xor r9d, r9d
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x48]
call fcn.1400b7fc0
mov dword [rsp + 0x30], setsockopt
movzx r8d, word [rbx + 0x16]
mov word [rsp + 0x28], si
mov dword [rsp + 0x20], 0xa
xor r9d, r9d
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x40]
call fcn.1400b7fc0
mov dword [rsp + 0x30], 0x17
movzx r8d, word [rbx + 0x14]
mov word [rsp + 0x28], si
mov dword [rsp + 0x20], 0xa
xor r9d, r9d
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x38]
call fcn.1400b7fc0
mov rcx, qword [r14]
mov rax, qword [rsp + 0x58]
mov qword [r14], rax
mov qword [rsp + 0x58], rcx
mov eax, dword [rcx]
test eax, eax
je 0x140183e6d
cmp eax, 0xffffffff
je 0x140183e83
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140183e83
mov edx, 2
mov r8d, 8
mov rcx, qword [rsp + 0x58]
call fcn.1400affb0
nop
mov rax, qword [rsp + 0x38]
mov ecx, dword [rax]
test ecx, ecx
je 0x140183ea3
cmp ecx, 0xffffffff
je 0x140183eb9
mov rax, qword [rsp + 0x38]
mov ecx, edi
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x140183eb9
mov edx, 2
mov r8d, 8
mov rcx, qword [rsp + 0x38]
call fcn.1400affb0
nop
mov rax, qword [rsp + 0x40]
mov ecx, dword [rax]
test ecx, ecx
je 0x140183ed9
cmp ecx, 0xffffffff
je 0x140183eef
mov rax, qword [rsp + 0x40]
mov ecx, edi
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x140183eef
mov edx, 2
mov r8d, 8
mov rcx, qword [rsp + 0x40]
call fcn.1400affb0
nop
mov rax, qword [rsp + 0x48]
mov ecx, dword [rax]
test ecx, ecx
je 0x140183f0f
cmp ecx, 0xffffffff
je 0x140183f25
mov rax, qword [rsp + 0x48]
mov ecx, edi
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x140183f25
mov edx, 2
mov r8d, 8
mov rcx, qword [rsp + 0x48]
call fcn.1400affb0
nop
mov rax, qword [rsp + 0x50]
mov ecx, dword [rax]
test ecx, ecx
je 0x140183f45
cmp ecx, 0xffffffff
je 0x140183f5a
mov rax, qword [rsp + 0x50]
mov ecx, edi
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x140183f5a
mov edx, 2
mov r8d, 8
mov rcx, qword [rsp + 0x50]
call fcn.1400affb0
mov rbx, qword [rbp + 0x2d8]
lea rax, [rbp - 0x80]
mov rcx, qword [rsp + 0x78]
cmp rcx, rax
je 0x140183f75
call fcn.14023c0f0
nop
lea rax, [rbp + 0x90]
mov rcx, qword [rbp + 0x88]
cmp rcx, rax
je 0x140183f8e
call fcn.14023c0f0
nop
mov eax, dword [rbx]
test eax, eax
je 0x140183fa9
cmp eax, 0xffffffff
je 0x140183fc0
mov rax, qword [rbp + 0x2d8]
lock xadd dword [rax], edi
cmp edi, 1
jne 0x140183fc0
mov edx, 2
mov r8d, 8
mov rcx, qword [rbp + 0x2d8]
call fcn.1400affb0
mov rax, r14
add rsp, 0x390
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret