Function at 0x140185800
Capabilities:
Get file version info

Disassembly:
push rbp
push rdi
push r12
push r14
push r15
sub rsp, 0x110
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x120], rbx
mov qword [rbp + 0x128], rsi
mov rax, qword [0x1405f98c0]
xor rax, rbp
mov qword [rbp + 0xd0], rax
mov r15, rdx
mov rbx, rcx
mov qword [rbp + 0x20], rcx
xor edi, edi
mov dword [rbp + 4], edi
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], 3
mov r14d, recv
mov qword [rcx + 0x18], r14
mov eax, dword [0x140577ce4]
mov word [rcx], ax
movzx eax, byte [0x140577ce6]
mov byte [rcx + 2], al
mov byte [rcx + 3], dil
mov dword [rbp + 4], 1
lea rdx, [rbp + 8]
mov rcx, r15
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov r12d, eax
lea rcx, [r12 + 0x10]
mov edx, edi
cmp rcx, r12
cmova rdx, rcx
test rdx, rdx
je 0x140185c83
cmp rdx, 0x400
ja 0x1401858de
lea rax, [rdx + 0xf]
cmp rax, rdx
ja 0x1401858bc
movabs rax, 0xffffffffffffff0
and rax, 0xfffffffffffffff0
call fcn.1403e4120
sub rsp, rax
lea rsi, [rsp + 0x30]
test rsi, rsi
je 0x140185c83
mov dword [rsi], 0xcccc
jmp 0x1401858f4
mov rcx, rdx
call fcn.1403fdf5c
mov rsi, rax
test rax, rax
je 0x1401858f8
mov dword [rax], 0xdddd
add rsi, 0x10
test rsi, rsi
je 0x140185c83
mov r9, rsi
mov r8d, r12d
mov edx, dword [rbp + 8]
mov rcx, r15
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x1401859a7
mov rcx, qword [rbx + 0x18]
cmp rcx, 9
jae 0x140185c8d
mov rdx, rcx
shr rdx, 1
movabs rsi, 0x7fffffffffffffff
mov rax, rsi
sub rax, rdx
cmp rcx, rax
jbe 0x140185957
movabs rax, 0x8000000000000000
add rax, 0x27
jmp 0x140185d13
lea rax, [rdx + rcx]
cmp rax, 0xf
cmova r14, rax
mov rsi, r14
lea rcx, [r14 + 1]
cmp rcx, 0x1000
jae 0x140185d06
test rcx, rcx
jne 0x140185d5d
mov qword [rbx + 0x10], 9
mov qword [rbx + 0x18], r14
movsd xmm0, qword [str.NOTSIGNED]
movsd qword [rdi], xmm0
movzx eax, byte [0x140577ce0]
mov byte [rdi + 8], al
jmp 0x140185daf
lea r9, [rbp]
lea r8, [rbp + 0x10]
lea rdx, str.VarFileInfoTranslation
mov rcx, rsi
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x140185c43
cmp dword [rbp], 4
jb 0x140185c43
mov rax, qword [rbp + 0x10]
movzx edx, word [rax + 2]
movzx r9d, word [rax]
mov dword [rsp + 0x20], edx
lea r8, str.StringFileInfo_04x_04xFileVersion
mov edx, 0x2a
lea rcx, [rbp + 0x70]
call fcn.140183b00
lea r9, [rbp]
lea r8, [rbp + 0x18]
lea rdx, [rbp + 0x70]
mov rcx, rsi
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x140185b5d
cmp dword [rbp], 0
jbe 0x140185b5d
xorps xmm0, xmm0
movups xmmword [rbp + 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x38], xmm1
mov rdx, qword [rbp + 0x18]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140185a40
lea rcx, [rbp + 0x28]
call fcn.1400c71d0
nop
lea rdx, [rbp + 0x28]
lea rcx, [rbp + 0x48]
call fcn.1401844a0
mov rsi, rax
cmp rbx, rax
je 0x140185ac8
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x140185aa4
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x140185a9f
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140185df0
mov rcx, r8
call fcn.1403e3650
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], r14
mov byte [rbx], 0
movups xmm0, xmmword [rsi]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rsi + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rsi + 0x10], rdi
mov qword [rsi + 0x18], r14
mov byte [rsi], 0
mov rdx, qword [rbp + 0x60]
cmp rdx, 0xf
jbe 0x140185b03
inc rdx
mov rcx, qword [rbp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140185afe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140185df0
call fcn.1403e3650
movdqa xmm0, xmmword [0x14057a8c0]
movdqu xmmword [rbp + 0x58], xmm0
mov byte [rbp + 0x48], 0
mov rdx, qword [rbp + 0x40]
cmp rdx, 7
jbe 0x140185dba
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140185b53
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140185df6
call fcn.1403e3650
jmp 0x140185dba
mov rcx, qword [rbx + 0x18]
cmp rcx, 3
jae 0x140185c51
mov rdx, rcx
movabs rsi, 0x7fffffffffffffff
shr rdx, 1
mov rax, rsi
sub rax, rdx
cmp rcx, rax
jbe 0x140185b96
movabs rax, 0x8000000000000000
add rax, 0x27
jmp 0x140185bbf
lea rax, [rdx + rcx]
cmp rax, 0xf
cmova r14, rax
lea rcx, [r14 + 1]
cmp rcx, 0x1000
mov rsi, r14
jb 0x140185c04
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140185dea
mov rcx, rax
call fcn.1403e3660
test rax, rax
je 0x140185dfc
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
mov qword [rbx + 0x18], rsi
mov qword [rbx + 0x10], 3
mov eax, dword [0x140577ce4]
mov word [rdi], ax
movzx eax, byte [0x140577ce6]
mov byte [rdi + 2], al
mov byte [rdi + 3], 0
jmp 0x140185db7
test rcx, rcx
je 0x140185c17
call fcn.1403e3660
mov rdi, rax
mov qword [rbx + 0x18], r14
jmp 0x140185be0
mov qword [rbx + 0x10], 3
mov qword [rbx + 0x18], r14
mov eax, dword [0x140577ce4]
mov word [rdi], ax
movzx eax, byte [0x140577ce6]
mov byte [rdi + 2], al
mov byte [3], 0
jmp 0x140185db7
mov rcx, qword [rbx + 0x18]
cmp rcx, 3
jb 0x140185b6b
cmp rcx, 0xf
mov rdi, rbx
jbe 0x140185c5d
mov rdi, qword [rbx]
mov qword [rbx + 0x10], 3
mov r8d, 3
lea rdx, [0x140577ce4]
mov rcx, rdi
call fcn.14043cc20
mov byte [rdi + 3], 0
jmp 0x140185dba
mov rcx, qword [rbx + 0x18]
cmp rcx, 9
jb 0x140185cbf
cmp rcx, 0xf
mov rdi, rbx
jbe 0x140185c99
mov rdi, qword [rbx]
mov qword [rbx + 0x10], 9
mov r8d, 9
lea rdx, str.NOTSIGNED
mov rcx, rdi
call fcn.14043cc20
mov byte [rdi + 9], 0
jmp 0x140185dba
mov rdx, rcx
shr rdx, 1
movabs rsi, 0x7fffffffffffffff
mov rax, rsi
sub rax, rdx
cmp rcx, rax
jbe 0x140185cea
movabs rax, 0x8000000000000000
add rax, 0x27
jmp 0x140185d13
lea rax, [rdx + rcx]
cmp rax, 0xf
cmova r14, rax
mov rsi, r14
lea rcx, [r14 + 1]
cmp rcx, 0x1000
jb 0x140185d58
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140185dea
mov rcx, rax
call fcn.1403e3660
test rax, rax
je 0x140185dfc
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
mov qword [rbx + 0x10], 9
mov qword [rbx + 0x18], rsi
movsd xmm0, qword [str.NOTSIGNED]
movsd qword [rdi], xmm0
movzx eax, byte [0x140577ce0]
mov byte [rdi + 8], al
mov byte [rdi + 9], 0
jmp 0x140185db7
test rcx, rcx
je 0x140185d8d
call fcn.1403e3660
mov rdi, rax
mov qword [rbx + 0x10], 9
mov qword [rbx + 0x18], r14
movsd xmm0, qword [str.NOTSIGNED]
movsd qword [rax], xmm0
movzx eax, byte [0x140577ce0]
mov byte [rdi + 8], al
mov byte [rdi + 9], 0
jmp 0x140185db7
mov qword [rbx + 0x10], 9
mov qword [rbx + 0x18], r14
movsd xmm0, qword [str.NOTSIGNED]
movsd qword [rdi], xmm0
movzx ecx, byte [0x140577ce0]
mov byte [rdi + 8], cl
mov byte [9], 0
mov qword [rbx], rdi
mov rax, rbx
mov rcx, qword [rbp + 0xd0]
xor rcx, rbp
call fcn.1403e3630
mov rbx, qword [rbp + 0x120]
mov rsi, qword [rbp + 0x128]
lea rsp, [rbp + 0xe0]
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.1400c4e70
nop
call fcn.1403fd768
nop
call fcn.1403fd768
int3
call fcn.1403fd768
int3