Function at 0x1800408d0
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 - 0x160]
sub rsp, 0x260
mov rax, qword [0x18011b040]
xor rax, rsp
mov qword [rbp + 0x150], rax
xor r15d, r15d
mov r8d, 0x104
lea rdx, [rbp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
mov qword [rbp - 0x18], r15
mov qword [rbp - 0x10], r15
lea rax, [rbp + 0x40]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], r15b
jne 0x180040933
lea rdx, [rbp + 0x40]
lea rcx, [rbp - 0x28]
call fcn.18001d5d0
nop
mov dword [rbp - 0x2c], r15d
mov dword [rbp - 0x30], r15d
mov qword [rbp - 0x38], r15
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 0xf
cmova rcx, qword [rbp - 0x28]
lea rdx, [rbp - 0x2c]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
mov ebx, eax
test eax, eax
je 0x180040d1b
mov ecx, ebx
call fcn.1800c6f74
mov r14, rax
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 0xf
cmova rcx, qword [rbp - 0x28]
mov r9, rax
mov r8d, ebx
mov edx, dword [rbp - 0x2c]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoA]
test eax, eax
je 0x180040d12
lea r9, [rbp - 0x30]
lea r8, [rbp - 0x38]
lea rdx, [0x1800ecd88]
mov rcx, r14
call qword [sym.imp.VERSION.dll_VerQueryValueA]
test eax, eax
je 0x180040d12
cmp dword [rbp - 0x30], 0
je 0x180040d12
mov rdi, qword [rbp - 0x38]
movzx edx, word [rdi + 0xe]
lea rcx, [rsp + 0x68]
call fcn.18004b830
mov rsi, rax
movzx edx, word [rdi + 8]
lea rcx, [rbp - 0x58]
call fcn.18004b830
mov rbx, rax
movzx edx, word [rdi + 0xa]
lea rcx, [rbp - 0x78]
call fcn.18004b830
nop
mov r9, rbx
mov r8, rax
lea rcx, [rsp + 0x40]
call fcn.18001f200
nop
mov r9, rsi
lea r8, [rsp + 0x40]
lea rcx, [rbp + 0x18]
call fcn.18001f200
nop
lea rcx, [rsp + 0x40]
call fcn.18001faf0
nop
lea rcx, [rbp - 0x78]
call fcn.18001faf0
nop
lea rcx, [rbp - 0x58]
call fcn.18001faf0
nop
lea rcx, [rsp + 0x68]
call fcn.18001faf0
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x38], r15
mov r8d, 4
cmp qword [rbp + 0x28], r8
cmovb r8, qword [rbp + 0x28]
lea rdx, [rbp + 0x18]
cmp qword [rbp + 0x30], 0xf
cmova rdx, qword [rbp + 0x18]
lea rcx, [rsp + 0x20]
call fcn.18001d5d0
nop
lea rcx, [rsp + 0x20]
call fcn.18004bfc0
mulsd xmm0, qword [0x180104560]
cvttsd2si eax, xmm0
mov dword [0x18011ce18], eax
lea rcx, [rsp + 0x20]
call fcn.18001faf0
mov edx, dword [0x18011ce18]
lea rcx, [rbp - 8]
call fcn.18001d6d0
nop
mov r8d, dword [0x18011ce18]
mov r9d, r15d
lea rcx, [rbp - 8]
cmp qword [rbp + 0x10], 0xf
seta r10b
mov rdx, qword [rbp - 8]
cmova rcx, rdx
mov rax, qword [rbp + 8]
cmp rax, 1
jb 0x180040ba4
cmp byte [rcx], 0x35
jne 0x180040af7
mov ecx, r15d
jmp 0x180040afc
sbb ecx, ecx
or ecx, 1
test ecx, ecx
jne 0x180040ba4
lea rcx, [rbp - 8]
test r10b, r10b
cmovne rcx, rdx
cmp rax, 2
jb 0x180040ba4
cmp byte [rax + rcx - 2], 0x30
jne 0x180040b2c
cmp byte [rax + rcx - 1], 0x30
jne 0x180040b2c
mov ecx, r15d
jmp 0x180040b31
sbb ecx, ecx
or ecx, 1
test ecx, ecx
jne 0x180040ba4
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 0x180040c62
test r8d, r8d
je 0x180040c62
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 0x180040c62
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 0x180040b55
jmp 0x180040c62
lea rcx, [rbp - 8]
test r10b, r10b
cmovne rcx, rdx
cmp rax, 1
jb 0x180040c62
cmp byte [rcx], 0x34
jne 0x180040bc3
mov ecx, r15d
jmp 0x180040bc8
sbb ecx, ecx
or ecx, 1
test ecx, ecx
jne 0x180040c62
lea rcx, [rbp - 8]
test r10b, r10b
cmovne rcx, rdx
cmp rax, 2
jb 0x180040c62
cmp byte [rax + rcx - 2], 0x30
jne 0x180040bf8
cmp byte [rax + rcx - 1], 0x30
jne 0x180040bf8
mov eax, r15d
jmp 0x180040bfd
sbb eax, eax
or eax, 1
test eax, eax
jne 0x180040c62
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 0x180040c62
nop dword [rax]
test r8d, r8d
je 0x180040c62
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 0x180040c62
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 0x180040c20
mov dword [0x18011ce18], r8d
cmp r8d, 0x10a5
jne 0x180040c7f
mov r8d, 0x1ab
mov dword [0x18011ce18], r8d
mov edx, r8d
lea rcx, [rsp + 0x68]
call fcn.18001d6d0
nop
mov r9d, 0xc
lea r8, str.UE_Version:
xor edx, edx
mov rcx, rax
call fcn.18001d990
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
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x38], socket
mov byte [rsp + 0x20], 0
lea rcx, [rsp + 0x20]
call fcn.18001faf0
lea rcx, [rsp + 0x40]
call fcn.18001faf0
nop
lea rcx, [rsp + 0x68]
call fcn.18001faf0
nop
lea rcx, [rbp - 8]
call fcn.18001faf0
nop
lea rcx, [rbp + 0x18]
call fcn.18001faf0
mov rcx, r14
call fcn.1800c6c80
nop
lea rcx, [rbp - 0x28]
call fcn.18001faf0
mov rcx, qword [rbp + 0x150]
xor rcx, rsp
call fcn.1800c68f0
lea r11, [rsp + 0x260]
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