Function at 0x180066510
Capabilities:
Accept command line arguments

Disassembly:
push rbp
lea rbp, [rsp - 0xe0]
sub rsp, 0x1e0
mov rax, qword [0x18017d040]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov rax, qword [0x18017fd68]
shl rax, 5
add rax, qword [0x18017e078]
cmp qword [rax + 0x10], 8
lea rcx, [rax + 0x18]
jbe 0x180066552
mov rcx, qword [rcx]
cmp byte [rcx], 0
je 0x180066d91
cmp byte [0x18017f818], 0
je 0x180066d91
mov qword [rsp + 0x1f0], rbx
lea rdx, [rbp - 0x70]
mov qword [rsp + 0x1f8], rsi
mov rsi, qword [0x18017f3d8]
mov qword [rsp + 0x200], rdi
mov qword [rsp + 0x1d8], r12
mov qword [rsp + 0x1d0], r13
movups xmm0, xmmword [rsi + 0x3980]
mov qword [rsp + 0x1c8], r14
lea rcx, [rsi + 0x4898]
mov qword [rsp + 0x1c0], r15
movups xmmword [rbp - 0x6c], xmm0
mov dword [rbp - 0x70], 0xd
movaps xmmword [rsp + 0x1b0], xmm6
call fcn.18001e060
xor r14d, r14d
lea rdx, [rbp - 0x58]
mov qword [rsi + 0x3980], r14
mov dword [rsi + 0x3988], r14d
mov dword [rsi + 0x398c], 0x3cf5c28f
mov rbx, qword [0x18017f3d8]
mov dword [rbp - 0x58], 2
movups xmm0, xmmword [rbx + 0x38d0]
lea rcx, [rbx + 0x4898]
movups xmmword [rbp - 0x54], xmm0
call fcn.18001e060
mov qword [rbx + 0x38d0], r14
lea rdx, [rbp + 0x40]
mov dword [rbx + 0x38d8], r14d
mov dword [rbx + 0x38dc], 0x3cf5c28f
mov rbx, qword [0x18017f3d8]
mov dword [rbp + 0x40], 5
movups xmm0, xmmword [rbx + 0x3900]
lea rcx, [rbx + 0x4898]
movups xmmword [rbp + 0x44], xmm0
call fcn.18001e060
mov qword [rbx + 0x3900], r14
mov dword [rbx + 0x3908], r14d
mov dword [rbx + 0x390c], 0x3cf5c28f
mov rcx, qword [0x18017fad0]
mov rbx, qword [0x18017f3d8]
mov rdi, rcx
mov qword [rsp + 0x50], rcx
test rcx, rcx
jne 0x1800666a8
mov rcx, qword [rbx + 0x48]
mov rdi, rcx
test rcx, rcx
jne 0x1800666a3
mov rax, qword [rbx + 0x38]
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx]
mov rdi, rcx
mov qword [rsp + 0x50], rcx
call fcn.180013300
lea rcx, [rbx + 0x48b8]
lea rdx, [rsp + 0x50]
call fcn.18001e400
mov rdx, qword [rdi + 0x40]
mov rcx, qword [rbx + 0x3f48]
mov rdx, qword [rdx + 8]
mov rcx, qword [rcx + 0x298]
call fcn.1800209b0
mov rbx, qword [0x18017f3d8]
xorps xmm0, xmm0
mov rax, qword [rbx + 0x4938]
movss xmm3, dword [rbx + 0x3808]
movss xmm2, dword [rbx + 0x3890]
movss xmm1, dword [rbx + 0x388c]
subss xmm2, xmm3
mov rdx, qword [rax]
addss xmm3, xmm3
movss dword [rbx + 0x488c], xmm1
maxss xmm2, xmm0
addss xmm3, dword [rbx + 0x3c70]
movss dword [rbx + 0x4890], xmm2
call fcn.180045740
mov qword [rbx + 0x488c], r14
test al, al
je 0x180066740
call fcn.180045260
jmp 0x180066745
call fcn.180012c60
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x60], 0x3f800000
mov dword [rsp + 0x64], 0x3f800000
call fcn.180035c20
movabs rcx, 0x57729cc38e7b7c6a
lea rbx, [rbp + 0x20]
movabs rax, 0x321f976e602f09f6
movabs r15, 0x326c9700604609db
mov qword [rsp + 0x40], rax
movabs rdi, 0xf923cb057d2c8ac0
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x20], rax
movabs rax, 0xf951cb707d4f8aa5
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x28], rax
movabs rax, 0x6c942626d7c5be40
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x30], rax
mov qword [rsp + 0x40], rcx
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x38], rax
mov qword [rsp + 0x40], r15
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x60], rax
mov qword [rsp + 0x40], rdi
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x68], rax
movabs rax, 0x6c942626d7c5be25
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x70], rax
mov qword [rsp + 0x40], rcx
mov rax, qword [rsp + 0x40]
movdqa xmm0, xmmword [rbp + 0x30]
movdqa xmm6, xmmword [rbp + 0x20]
xorps xmm6, xmmword [rbp + 0x60]
mov qword [rbp + 0x78], rax
xorps xmm0, xmmword [rbp + 0x70]
movdqa xmmword [rbp + 0x30], xmm0
movdqa xmmword [rbp + 0x20], xmm6
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
cmp word [rax], r14w
je 0x1800668f0
movq rdx, xmm6
nop dword [rax]
test dx, dx
je 0x180066880
nop word [rax + rax]
cmp word [rcx], dx
lea r8, [rcx + 2]
mov rcx, r8
jne 0x180066da9
movzx eax, word [rbx + 2]
add rbx, 2
movzx edx, ax
test ax, ax
jne 0x180066860
test rcx, rcx
je 0x1800668f0
movabs rax, 0x571ee263053567b2
lea rdx, [rbp]
mov qword [rsp + 0x40], rax
lea rcx, [rbp - 0x40]
mov rax, qword [rsp + 0x40]
mov qword [rbp], rax
mov qword [rsp + 0x40], rdi
mov rax, qword [rsp + 0x40]
mov qword [rbp + 8], rax
mov qword [rsp + 0x40], r15
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x40], rdi
mov rax, qword [rsp + 0x40]
movdqa xmm0, xmmword [rbp]
mov qword [rsp + 0x78], rax
xorps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rbp], xmm0
movaps xmm0, xmmword [0x180165000]
movups xmmword [rbp - 0x40], xmm0
call fcn.180032fc0
mov rcx, qword [0x18017f6b0]
mov rax, qword [rcx]
mov rdx, qword [rax + 0x118]
call rdx
test al, al
je 0x18006696f
movabs rax, 0x3209fa61076b67b2
lea rdx, [rbp + 0x10]
mov qword [rsp + 0x40], rax
lea rcx, [rbp - 0x30]
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x10], rax
mov qword [rsp + 0x40], rdi
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x18], rax
mov qword [rsp + 0x40], r15
mov rax, qword [rsp + 0x40]
mov qword [rbp - 0x80], rax
mov qword [rsp + 0x40], rdi
mov rax, qword [rsp + 0x40]
movdqa xmm0, xmmword [rbp + 0x10]
mov qword [rbp - 0x78], rax
xorps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rbp + 0x10], xmm0
movaps xmm0, xmmword [0x180164ff0]
movups xmmword [rbp - 0x30], xmm0
call fcn.180032fc0
mov ecx, dword [0x18017e784]
movabs rbx, 0x5305ef7908367aba
mov rax, qword gs:[0x58]
movabs r15, 0xcb03a770370cf6e0
movss xmm6, dword [0x180164ee8]
movabs r12, 0x5cb41214e7f79e13
mov edx, 4
movabs r13, 0x5746acf9b74f465a
mov rax, qword [rax + rcx*8]
mov eax, dword [rdx + rax]
cmp dword [0x18017fe20], eax
jle 0x180066b1d
lea rcx, [0x18017fe20]
call fcn.1800dcaf0
cmp dword [0x18017fe20], 0xffffffff
jne 0x180066b1d
movss xmm3, dword [0x180164ec4]
lea rcx, [rbp - 0x20]
mov qword [rsp + 0x40], rbx
lea rdx, [rsp + 0x48]
mov rax, qword [rsp + 0x40]
mov qword [rbp - 0x20], rax
mov qword [rsp + 0x40], r15
mov rax, qword [rsp + 0x40]
mov qword [rbp - 0x18], rax
mov qword [rsp + 0x40], r12
mov rax, qword [rsp + 0x40]
mov qword [rbp - 0x10], rax
mov qword [rsp + 0x40], r13
mov rax, qword [rsp + 0x40]
mov qword [rbp - 8], rax
movabs rax, 0x326c9700604609db
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x80], rax
mov qword [rsp + 0x40], rdi
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x88], rax
movabs rax, 0x6c942626d7c5be25
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x90], rax
movabs rax, 0x57729cc38e7b7c6a
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
movdqa xmm0, xmmword [rbp - 0x20]
movdqa xmm1, xmmword [rbp - 0x10]
xorps xmm0, xmmword [rbp + 0x80]
mov qword [rbp + 0x98], rax
mov rax, qword [0x18017f3d8]
xorps xmm1, xmmword [rbp + 0x90]
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
movss xmm2, dword [rax + 0x3c70]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rax + 0x3c68]
movss dword [rsp + 0x20], xmm6
movdqa xmmword [rbp - 0x20], xmm0
movdqa xmmword [rbp - 0x10], xmm1
call fcn.180029280
movss xmm0, dword [rsp + 0x48]
lea rcx, [0x18017fe20]
addss xmm0, dword [0x180164d54]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x48], xmm0
movss dword [0x18017fe18], xmm0
movss xmm0, dword [rsp + 0x4c]
movss dword [0x18017fe1c], xmm0
call fcn.1800dca84
mov rcx, qword [0x18017f3d8]
mov rax, qword [rcx + 0x3f48]
cmp qword [rax + 0x1a8], r14
jne 0x180066b44
cmp qword [rcx + 0x4bb8], r14
lea rcx, [rax + 0x250]
je 0x180066b4b
lea rcx, [rax + 0x220]
movss xmm0, dword [rcx]
movaps xmm1, xmm6
subss xmm0, dword [rax + 0x20]
subss xmm0, dword [0x18017fe18]
subss xmm0, dword [rsi + 0x3804]
call fcn.180016260
mov qword [rsp + 0x40], rbx
lea rdx, [rbp - 0x20]
mov rax, qword [rsp + 0x40]
lea rcx, [rsp + 0x50]
mov qword [rbp - 0x20], rax
mov qword [rsp + 0x40], r15
mov rax, qword [rsp + 0x40]
mov qword [rbp - 0x18], rax
mov qword [rsp + 0x40], r12
mov rax, qword [rsp + 0x40]
mov qword [rbp - 0x10], rax
mov qword [rsp + 0x40], r13
mov rax, qword [rsp + 0x40]
mov qword [rbp - 8], rax
movabs rax, 0x326c9700604609db
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x40], rax
mov qword [rsp + 0x40], rdi
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x48], rax
movabs rax, 0x6c942626d7c5be25
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x50], rax
movabs rax, 0x57729cc38e7b7c6a
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
movdqa xmm0, xmmword [rbp - 0x20]
xorps xmm0, xmmword [rbp + 0x40]
movdqa xmm1, xmmword [rbp - 0x10]
movdqa xmmword [rbp - 0x20], xmm0
movaps xmm0, xmmword [0x180165010]
mov qword [rbp + 0x58], rax
xorps xmm1, xmmword [rbp + 0x50]
movups xmmword [rsp + 0x50], xmm0
movdqa xmmword [rbp - 0x10], xmm1
call fcn.180032fc0
call fcn.1800454f0
mov r8, qword [0x18017f3d8]
mov ebx, 3
movaps xmm6, xmmword [rsp + 0x1b0]
mov r15, qword [rsp + 0x1c0]
mov r13, qword [rsp + 0x1d0]
mov rax, qword [r8 + 0x4940]
mov r12, qword [rsp + 0x1d8]
mov rdi, qword [rsp + 0x200]
mov rsi, qword [rsp + 0x1f8]
cmp qword [r8 + 0x3f48], rax
jne 0x180066d23
cmp dword [r8 + 0x4978], r14d
jne 0x180066d23
cmp byte [r8 + 0x4980], r14b
jne 0x180066d23
mov ecx, dword [r8 + 0x3ef8]
dec ecx
test rax, rax
je 0x180066cd9
test dword [rax + 0x14], 0x1000000
lea edx, [rbx - 4]
je 0x180066cd0
mov edx, r14d
nop dword [rax]
mov rax, qword [rax + 0x368]
test dword [rax + 0x14], 0x1000000
jne 0x180066cc0
movsx ecx, word [rax + 0xca]
add ecx, edx
test ecx, ecx
js 0x180066d1a
mov rax, qword [r8 + 0x3f00]
movsxd rdx, ecx
lea r8, [rax + rdx*8]
nop dword [rax + rax]
mov rcx, qword [r8]
test rcx, rcx
je 0x180066d10
cmp byte [rcx + 0xb7], r14b
je 0x180066d10
mov eax, dword [rcx + 0x14]
and eax, 0x40200
cmp eax, 0x40200
jne 0x180066d1c
sub r8, 8
sub rdx, 1
jns 0x180066cf0
xor ecx, ecx
mov edx, ebx
call fcn.180012f30
call fcn.180012c60
call fcn.1800133c0
mov r8, qword [0x18017f3d8]
mov r14, qword [rsp + 0x1c8]
mov eax, dword [r8 + 0x4898]
cmp eax, ebx
jge 0x180066d50
mov ebx, eax
test eax, eax
jle 0x180066d89
nop dword [rax]
mov rcx, qword [r8 + 0x48a0]
dec ebx
cdqe
lea rdx, [rax + rax*4]
movsxd rax, dword [rcx + rdx*4 - 0x14]
movups xmm0, xmmword [rcx + rdx*4 - 0x10]
add rax, 0x38b
add rax, rax
movups xmmword [r8 + rax*8], xmm0
dec dword [r8 + 0x4898]
mov eax, dword [r8 + 0x4898]
test ebx, ebx
jg 0x180066d50
mov rbx, qword [rsp + 0x1f0]
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.1800dc8e0
add rsp, 0x1e0
pop rbp
ret
cmp word [r8], r14w
jne 0x180066850
jmp 0x1800668f0