Function at 0x18003d3b0
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x180170038]
xor rax, rsp
mov qword [rbp + 0x170], rax
xor esi, esi
mov r8d, 0x104
lea rdx, [rbp + 0x60]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], rsi
mov qword [rbp - 0x28], rsi
lea rax, [rbp + 0x60]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], sil
jne 0x18003d410
lea rdx, [rbp + 0x60]
lea rcx, [rbp - 0x40]
call fcn.18000a1e0
nop
mov dword [rbp - 0x44], esi
mov dword [rbp - 0x48], esi
mov qword [rbp - 0x50], rsi
lea rcx, [rbp - 0x40]
cmp qword [rbp - 0x28], 0x10
cmovae rcx, qword [rbp - 0x40]
lea rdx, [rbp - 0x44]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
mov ebx, eax
test eax, eax
je 0x18003d8c7
mov ecx, ebx
call fcn.18011f224
mov rdi, rax
lea rcx, [rbp - 0x40]
cmp qword [rbp - 0x28], 0x10
cmovae rcx, qword [rbp - 0x40]
mov r9, rax
mov r8d, ebx
mov edx, dword [rbp - 0x44]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoA]
test eax, eax
je 0x18003d8be
lea r9, [rbp - 0x48]
lea r8, [rbp - 0x50]
lea rdx, [0x18014a73c]
mov rcx, rdi
call qword [sym.imp.VERSION.dll_VerQueryValueA]
test eax, eax
je 0x18003d8be
cmp dword [rbp - 0x48], 0
je 0x18003d8be
mov rbx, qword [rbp - 0x50]
movzx r8d, word [rbx + 0xe]
lea r9, [rbp + 0x55]
nop dword [rax]
dec r9
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r9], r8b
mov r8d, edx
test edx, edx
jne 0x18003d4c0
lea r8, [rbp + 0x55]
mov rdx, r9
lea rcx, [rsp + 0x28]
call fcn.180019b90
nop
movzx r8d, word [rbx + 8]
lea r9, [rbp + 0x35]
nop word [rax + rax]
dec r9
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r9], r8b
mov r8d, edx
test edx, edx
jne 0x18003d510
lea r8, [rbp + 0x35]
mov rdx, r9
lea rcx, [rbp - 0x70]
call fcn.180019b90
nop
movzx r8d, word [rbx + 0xa]
lea r9, [rbp + 0x55]
nop dword [rax]
nop dword [rax + rax]
dec r9
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r9], r8b
mov r8d, edx
test edx, edx
jne 0x18003d560
lea r8, [rbp + 0x55]
mov rdx, r9
lea rcx, [rsp + 0x70]
call fcn.180019b90
nop
lea r9, [rbp - 0x70]
lea r8, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.180018750
nop
lea r9, [rsp + 0x28]
lea r8, [rsp + 0x50]
lea rcx, [rbp]
call fcn.180018750
nop
lea rcx, [rsp + 0x50]
call fcn.180014770
nop
lea rcx, [rsp + 0x70]
call fcn.180014770
nop
lea rcx, [rbp - 0x70]
call fcn.180014770
nop
lea rcx, [rsp + 0x28]
call fcn.180014770
xorps xmm0, xmm0
movups xmmword [rbp + 0x20], xmm0
mov qword [rbp + 0x30], rsi
mov qword [rbp + 0x38], rsi
mov r8d, 4
cmp qword [rbp + 0x10], r8
cmovb r8, qword [rbp + 0x10]
lea rdx, [rbp]
cmp qword [rbp + 0x18], 0x10
cmovae rdx, qword [rbp]
lea rcx, [rbp + 0x20]
call fcn.18000a1e0
nop
lea rcx, [rbp + 0x20]
call fcn.1800243b0
mulsd xmm0, qword [0x180158e90]
cvttsd2si eax, xmm0
mov dword [0x1801a90dc], eax
lea rcx, [rbp + 0x20]
call fcn.180014770
mov edx, dword [0x1801a90dc]
lea rcx, [rbp - 0x20]
call fcn.180009850
nop
mov r8d, dword [0x1801a90dc]
mov r9d, esi
lea rcx, [rbp - 0x20]
cmp qword [rbp - 8], 0x10
setae r10b
mov rdx, qword [rbp - 0x20]
cmovae rcx, rdx
mov rax, qword [rbp - 0x10]
cmp rax, 1
jb 0x18003d73f
cmp byte [rcx], 0x35
jne 0x18003d68e
mov ecx, esi
jmp 0x18003d693
sbb ecx, ecx
or ecx, 1
test ecx, ecx
jne 0x18003d73f
lea rcx, [rbp - 0x20]
test r10b, r10b
cmovne rcx, rdx
cmp rax, 2
jb 0x18003d73f
cmp byte [rax + rcx - 2], 0x30
jne 0x18003d6c2
cmp byte [rax + rcx - 1], 0x30
jne 0x18003d6c2
mov ecx, esi
jmp 0x18003d6c7
sbb ecx, ecx
or ecx, 1
test ecx, ecx
jne 0x18003d73f
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 0x18003d7f4
nop dword [rax + rax]
test r8d, r8d
je 0x18003d7f4
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 0x18003d7f4
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 0x18003d6f0
jmp 0x18003d7f4
lea rcx, [rbp - 0x20]
test r10b, r10b
cmovne rcx, rdx
cmp rax, 1
jb 0x18003d7f4
cmp byte [rcx], 0x34
jne 0x18003d75d
mov ecx, esi
jmp 0x18003d762
sbb ecx, ecx
or ecx, 1
test ecx, ecx
jne 0x18003d7f4
lea rcx, [rbp - 0x20]
test r10b, r10b
cmovne rcx, rdx
cmp rax, 2
jb 0x18003d7f4
cmp byte [rax + rcx - 2], 0x30
jne 0x18003d78d
cmp byte [rax + rcx - 1], 0x30
jne 0x18003d78d
mov eax, esi
jmp 0x18003d792
sbb eax, eax
or eax, 1
test eax, eax
jne 0x18003d7f4
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 0x18003d7f4
test r8d, r8d
je 0x18003d7f4
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 0x18003d7f4
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 0x18003d7b2
mov dword [0x1801a90dc], r8d
cmp r8d, 0x10a5
jne 0x18003d811
mov r8d, 0x1ab
mov dword [0x1801a90dc], r8d
mov edx, r8d
lea rcx, [rsp + 0x28]
call fcn.180009850
nop
mov r9d, 0xc
lea r8, str.UE_Version:
xor edx, edx
mov rcx, rax
call fcn.180018d00
xorps xmm0, xmm0
movups xmmword [rbp + 0x20], xmm0
mov qword [rbp + 0x30], rsi
mov qword [rbp + 0x38], rsi
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x30], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rax, [rbp + 0x20]
mov qword [rsp + 0x20], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x40], xmm0
mov qword [rbp + 0x50], rsi
mov qword [rbp + 0x58], 0xf
mov byte [rbp + 0x40], 0
xor r9d, r9d
lea r8, [rbp + 0x40]
lea rdx, [rbp + 0x20]
xor ecx, ecx
call fcn.180097260
nop
lea rcx, [rbp + 0x20]
call fcn.180014770
nop
lea rcx, [rsp + 0x28]
call fcn.180014770
nop
lea rcx, [rbp - 0x20]
call fcn.180014770
nop
lea rcx, [rbp]
call fcn.180014770
mov rcx, rdi
call fcn.18011f0d0
nop
lea rcx, [rbp - 0x40]
call fcn.180014770
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.18011eb40
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret