Function at 0x10046f20
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
mov esi, dword [0x1017bfd8]
push edi
cmp byte [esi], 0
je 0x100471e1
mov eax, dword [esi + 0x199c]
cmp eax, dword [esi + 0x1998]
je 0x100471dd
cmp byte [esi + 1], 0
je 0x100471e1
mov ecx, dword [esi + 0xd4]
test ecx, ecx
je 0x10046fc9
movss xmm1, dword [esi + 0x2c88]
ucomiss xmm1, dword [0x101452dc]
lahf
test ah, 0x44
jnp 0x10046f9a
movss xmm0, dword [esi + 0x2c8c]
subss xmm0, dword [esi + 0x2c84]
subss xmm1, dword [esi + 0x2c80]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
comiss xmm0, dword [0x10144ed8]
jbe 0x10046fc9
cvttss2si eax, dword [esi + 0x2c84]
push eax
cvttss2si eax, dword [esi + 0x2c80]
push eax
call ecx
mov eax, dword [esi + 0x2c80]
add esp, 8
mov ecx, dword [esi + 0x2c84]
mov dword [esi + 0x2c88], eax
mov dword [esi + 0x2c8c], ecx
cmp dword [esi + 0x19c8], 1
jne 0x100471e1
mov eax, dword [esi + 0x19e4]
mov byte [esi + 2], 0
test eax, eax
je 0x10046fee
cmp byte [eax + 0x7c], 0
jne 0x10046fee
mov byte [eax + 0x7a], 0
call fcn.1004c800
cmp dword [esi + 0x1b34], 0
je 0x10047001
call fcn.10051640
cmp byte [esi + 0x1cc0], 0
je 0x1004708f
mov eax, dword [esi + 0x1ce0]
mov dl, byte [esi + 0x1d06]
inc eax
cmp eax, dword [esi + 0x1998]
jge 0x1004704e
test byte [esi + 0x1cc4], 0x20
jne 0x1004704a
mov ecx, dword [esi + 0x1ccc]
cmp ecx, 4
ja 0x100471e1
mov eax, dword [0x1017bfd8]
cmp byte [eax + ecx + 0xe8], 0
jne 0x1004704e
mov al, 1
jmp 0x10047050
xor al, al
test dl, dl
jne 0x10047058
test al, al
je 0x1004705d
call fcn.10051e60
cmp byte [esi + 0x1cc0], 0
je 0x1004708f
mov eax, dword [esi + 0x1cc8]
cmp eax, dword [esi + 0x1998]
jge 0x1004708f
push 0x10142148
mov byte [esi + 0x1cc1], 1
call fcn.1004dd40
add esp, 4
mov byte [esi + 0x1cc1], 0
mov eax, dword [esi + 0x1998]
mov byte [esi + 1], 0
mov dword [esi + 0x199c], eax
call fcn.10045750
mov ecx, dword [esi + 0x19c0]
test ecx, ecx
jns 0x100470ca
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [esi + 0x19bc]
call fcn.10053900
mov dword [esi + 0x19bc], 0
lea ecx, [esi + 0x19bc]
push dword [esi + 0x19a4]
call fcn.10053900
mov eax, dword [esi + 0x19a4]
xor edi, edi
test eax, eax
je 0x10047127
cmp edi, eax
jge 0x100471e1
mov eax, dword [esi + 0x19ac]
mov edx, dword [eax + edi*4]
cmp byte [edx + 0x7a], 0
je 0x10047111
test dword [edx + 8], 0x1000000
jne 0x1004711c
lea ecx, [esi + 0x19bc]
call fcn.10046bc0
mov eax, dword [esi + 0x19a4]
inc edi
cmp edi, eax
jne 0x100470f3
mov ecx, dword [esi + 0x19bc]
cmp eax, ecx
jne 0x100471e1
mov dword [esi + 0x19bc], eax
mov eax, dword [esi + 0x19a8]
mov dword [esi + 0x19a4], ecx
mov ecx, dword [esi + 0x19c0]
mov dword [esi + 0x19c0], eax
mov eax, dword [esi + 0x19ac]
mov dword [esi + 0x19a8], ecx
mov ecx, dword [esi + 0x19c4]
mov dword [esi + 0x19c4], eax
mov eax, dword [esi + 0x19e0]
mov dword [esi + 0x368], eax
mov eax, dword [esi + 0x94]
mov dword [esi + 0x19ac], ecx
mov byte [eax], 0
mov dword [esi + 0xf4], 0
mov dword [esi + 0xf0], 0
mov ecx, dword [esi + 0x14f4]
test ecx, ecx
jns 0x100471c0
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [esi + 0x14f0]
call fcn.10028080
push 0x54
lea eax, [esi + 0x2fc]
mov dword [esi + 0x14f0], 0
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
pop edi
pop esi
pop ebx
ret
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3