Function at 0x180044ed0
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x140]
sub rsp, 0x240
mov rax, qword [0x180129540]
xor rax, rsp
mov qword [rbp + 0x130], rax
xor r15d, r15d
mov r8d, 0x104
lea rdx, [rbp + 0x20]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x70], xmm1
lea rax, [rbp + 0x20]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], r15b
jne 0x180044f33
lea rdx, [rbp + 0x20]
lea rcx, [rbp - 0x80]
call fcn.180004e30
nop
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x24], r15d
mov qword [rsp + 0x30], r15
lea rcx, [rbp - 0x80]
cmp qword [rbp - 0x68], 0xf
cmova rcx, qword [rbp - 0x80]
lea rdx, [rsp + 0x28]
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov ebx, eax
test eax, eax
je 0x180045509
mov ecx, ebx
call fcn.1800d9018
mov r14, rax
lea rcx, [rbp - 0x80]
cmp qword [rbp - 0x68], 0xf
cmova rcx, qword [rbp - 0x80]
mov r9, rax
mov r8d, ebx
mov edx, dword [rsp + 0x28]
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x180045500
lea r9, [rsp + 0x24]
lea r8, [rsp + 0x30]
lea rdx, [0x1800e3fac]
mov rcx, r14
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x180045500
cmp dword [rsp + 0x24], 0
je 0x180045500
mov rdi, qword [rsp + 0x30]
movzx edx, word [rdi + 0xe]
lea rcx, [rbp - 0x60]
call fcn.18004f510
mov rsi, rax
movzx edx, word [rdi + 8]
lea rcx, [rbp]
call fcn.18004f510
mov rbx, rax
movzx edx, word [rdi + 0xa]
lea rcx, [rbp - 0x20]
call fcn.18004f510
nop
mov r9, rbx
mov r8, rax
movzx edx, byte [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.180011930
nop
mov r9, rsi
lea r8, [rsp + 0x40]
movzx edx, byte [rsp + 0x20]
lea rcx, [rbp - 0x40]
call fcn.180011930
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x180045077
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180045071
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180045071
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800d8994
nop
mov rdx, qword [rbp - 8]
cmp rdx, 0xf
jbe 0x1800450b5
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800450b0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800450b0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800d8994
movdqa xmm0, xmmword [0x1800e4080]
movdqu xmmword [rbp - 0x10], xmm0
mov byte [rbp - 0x20], 0
mov rdx, qword [rbp + 0x18]
cmp rdx, 0xf
jbe 0x180045104
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800450ff
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800450ff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800d8994
movdqa xmm0, xmmword [0x1800e4080]
movdqu xmmword [rbp + 0x10], xmm0
mov byte [rbp], 0
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x180045153
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004514e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18004514e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800d8994
movdqa xmm0, xmmword [0x1800e4080]
movdqu xmmword [rbp - 0x50], xmm0
mov byte [rbp - 0x60], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
mov r8d, 4
cmp qword [rbp - 0x30], r8
cmovb r8, qword [rbp - 0x30]
lea rdx, [rbp - 0x40]
cmp qword [rbp - 0x28], 0xf
cmova rdx, qword [rbp - 0x40]
lea rcx, [rsp + 0x40]
call fcn.180004e30
nop
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.18004f3c0
mulsd xmm0, qword [0x1800e9840]
cvttsd2si edx, xmm0
mov dword [0x18012abcc], edx
mov rax, qword [rsp + 0x58]
cmp rax, 0xf
jbe 0x180045202
lea rdx, [rax + 1]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800451f7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800451f7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800d8994
mov edx, dword [0x18012abcc]
lea rcx, [rsp + 0x60]
call fcn.18004f440
nop
mov r8d, dword [0x18012abcc]
mov r9d, r15d
lea rcx, [rsp + 0x60]
mov rdx, qword [rsp + 0x60]
mov r10, qword [rsp + 0x78]
cmp r10, 0xf
cmova rcx, rdx
mov rax, qword [rsp + 0x70]
cmp rax, 1
jb 0x1800452f6
cmp byte [rcx], 0x35
jne 0x180045247
mov ecx, r15d
jmp 0x18004524c
sbb ecx, ecx
or ecx, 1
test ecx, ecx
jne 0x1800452f6
lea rcx, [rsp + 0x60]
cmp r10, 0xf
cmova rcx, rdx
cmp rax, 2
jb 0x1800452f6
cmp byte [rax + rcx - 2], 0x30
jne 0x18004527e
cmp byte [rax + rcx - 1], 0x30
jne 0x18004527e
mov ecx, r15d
jmp 0x180045283
sbb ecx, ecx
or ecx, 1
test ecx, ecx
jne 0x1800452f6
mov eax, 0x66666667
imul r8d
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea ecx, [rdx + rdx*4]
add ecx, ecx
cmp r8d, ecx
jne 0x1800453b2
test r8d, r8d
je 0x1800453b2
inc r9d
mov eax, 0x66666667
imul r8d
mov r8d, edx
sar r8d, 2
mov eax, r8d
shr eax, 0x1f
add r8d, eax
cmp r9d, 2
je 0x1800453b2
mov eax, 0x66666667
imul r8d
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea ecx, [rdx + rdx*4]
add ecx, ecx
cmp r8d, ecx
je 0x1800452a7
jmp 0x1800453b2
lea rcx, [rsp + 0x60]
cmp r10, 0xf
cmova rcx, rdx
cmp rax, 1
jb 0x1800453b2
cmp byte [rcx], 0x34
jne 0x180045317
mov ecx, r15d
jmp 0x18004531c
sbb ecx, ecx
or ecx, 1
test ecx, ecx
jne 0x1800453b2
lea rcx, [rsp + 0x60]
cmp r10, 0xf
cmova rcx, rdx
cmp rax, 2
jb 0x1800453b2
cmp byte [rax + rcx - 2], 0x30
jne 0x18004534a
cmp byte [rax + rcx - 1], 0x30
jne 0x18004534a
mov eax, r15d
jmp 0x18004534f
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1800453b2
mov eax, 0x66666667
imul r8d
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea ecx, [rdx + rdx*4]
add ecx, ecx
cmp r8d, ecx
jne 0x1800453b2
nop
test r8d, r8d
je 0x1800453b2
inc r9d
mov eax, 0x66666667
imul r8d
mov r8d, edx
sar r8d, 2
mov eax, r8d
shr eax, 0x1f
add r8d, eax
cmp r9d, 3
je 0x1800453b2
mov eax, 0x66666667
imul r8d
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea ecx, [rdx + rdx*4]
add ecx, ecx
cmp r8d, ecx
je 0x180045370
mov dword [0x18012abcc], r8d
cmp r8d, 0x10a5
jne 0x1800453cf
mov r8d, 0x1ab
mov dword [0x18012abcc], r8d
mov edx, r8d
lea rcx, [rbp - 0x60]
call fcn.18004f440
nop
mov r9d, 0xc
lea r8, str.UE_Version:
xor edx, edx
mov rcx, rax
call fcn.18001d320
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], r15
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rcx, [rsp + 0x40]
call fcn.1800935c0
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x18004546f
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180045469
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180045469
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800d8994
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x1800454af
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800454aa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800454aa
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800d8994
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], socket
mov byte [rsp + 0x60], 0
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x180045500
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800454fb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800454fb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800d8994
mov rcx, r14
call fcn.1800d8994
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 0xf
jbe 0x180045547
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180045542
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180045542
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800d8994
mov rcx, qword [rbp + 0x130]
xor rcx, rsp
call fcn.1800d8e20
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret