Function at 0x140007a90
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xd0
mov rax, qword [0x1402cf868]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rsi, rdx
mov rdi, rcx
mov qword [rbp - 0x19], rcx
xor r12d, r12d
mov rcx, rdx
cmp qword [rdx + 0x18], 8
jb 0x140007ad6
mov rcx, qword [rdx]
xor edx, edx
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov r15d, eax
test eax, eax
je 0x140007cd4
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x11], xmm0
mov qword [rbp - 1], r12
cmp r15, 0x1000
jb 0x140007b2a
lea rcx, [r15 + 0x27]
cmp rcx, r15
jbe 0x140007d1a
call fcn.1401c9a1c
mov rcx, rax
test rax, rax
je 0x140007d14
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140007b32
mov rcx, r15
call fcn.1401c9a1c
mov qword [rbp - 0x11], rax
lea rbx, [rax + r15]
mov qword [rbp - 1], rbx
mov r8, r15
xor edx, edx
mov rcx, rax
call fcn.1401cc260
mov qword [rbp - 9], rbx
cmp qword [rsi + 0x18], 8
jb 0x140007b59
mov rsi, qword [rsi]
mov r9, qword [rbp - 0x11]
mov r8d, r15d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x140007c9e
mov qword [rbp - 0x19], r12
mov dword [rbp + 7], gethostname
lea r9, [rbp + 7]
lea r8, [rbp - 0x19]
lea rdx, [0x140278a9c]
mov rcx, qword [rbp - 0x11]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x140007c9e
mov rax, qword [rbp - 0x19]
mov ecx, dword [rax + 8]
mov edx, dword [rax + 0xc]
movzx r8d, dx
movzx eax, cx
shr ecx, 0x10
mov dword [rbp - 0x41], ecx
movabs rcx, 0x2000000000000000
mov qword [rbp - 0x61], rcx
mov dword [rbp - 0x3d], eax
movabs rax, 0x2000000000000004
mov qword [rbp - 0x59], rax
shr edx, 0x10
mov dword [rbp - 0x39], edx
movabs rax, 0x2000000000000008
mov qword [rbp - 0x51], rax
mov dword [rbp - 0x35], r8d
movabs rax, 0x200000000000000c
mov qword [rbp - 0x49], rax
mov qword [rbp - 0x79], 4
lea rax, [rbp - 0x61]
mov qword [rbp - 0x71], rax
movaps xmm0, xmmword [rbp - 0x79]
movdqa xmmword [rbp - 0x29], xmm0
lea rax, str....
mov qword [rbp - 0x79], rax
mov qword [rbp - 0x71], select
lea r8, [rbp - 0x29]
lea rdx, [rbp - 0x79]
lea rcx, [rbp + 0xf]
call fcn.14000c920
movups xmm0, xmmword [rbp + 0xf]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbp + 0x1f]
movups xmmword [rdi + 0x10], xmm1
movdqa xmm0, xmmword [0x1402a1fd0]
movdqu xmmword [rbp + 0x1f], xmm0
mov byte [rbp + 0xf], 0
lea rcx, [rbp + 0xf]
call fcn.140008940
nop
mov rcx, qword [rbp - 0x11]
test rcx, rcx
je 0x140007ce9
mov rdx, qword [rbp - 1]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007c97
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007d20
call fcn.1401c94e0
jmp 0x140007ce9
mov rcx, qword [rbp - 0x11]
test rcx, rcx
je 0x140007cd4
mov rdx, qword [rbp - 1]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007ccf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007d14
call fcn.1401c94e0
mov qword [rdi], r12
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], 0
mov qword [rdi + 0x10], r12
mov byte [rdi], 0
mov rax, rdi
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1401c94c0
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.1401d16ec
int3
call fcn.140001fe0
int3
call fcn.1401d16ec
int3