Function at 0x1004e790
Capabilities:
Terminate process

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x40
movss xmm4, dword [0x10145730]
xorps xmm1, xmm1
push esi
mov esi, dword [0x1017bfd8]
push edi
mov edi, edx
mov dword [ebp - 4], ecx
movss xmm3, dword [esi + 0x159c]
movss xmm6, dword [esi + 0x14]
movaps xmm0, xmm3
movss xmm2, dword [esi + 0x1598]
addss xmm0, xmm3
movss xmm5, dword [esi + 0x10]
comiss xmm6, xmm0
jbe 0x1004e7ec
xorps xmm3, xmm4
jmp 0x1004e7ef
xorps xmm3, xmm3
movaps xmm0, xmm2
addss xmm0, xmm2
comiss xmm5, xmm0
jbe 0x1004e800
xorps xmm2, xmm4
jmp 0x1004e803
xorps xmm2, xmm2
mov eax, dword [edi + 8]
addss xmm5, xmm2
addss xmm6, xmm3
movaps xmm0, xmm2
xorps xmm0, xmm4
movss dword [ebp - 0x2c], xmm0
movaps xmm0, xmm3
xorps xmm0, xmm4
movss dword [ebp - 0x28], xmm0
movss dword [ebp - 0x24], xmm5
movss dword [ebp - 0x20], xmm6
test eax, 0x10000000
je 0x1004e98f
cmp dword [esi + 0x19e4], edi
jne 0x1004eb2b
mov eax, dword [esi + 0x19c8]
lea edx, [eax - 2]
cmp edx, eax
jge 0x1004eb2b
mov eax, dword [esi + 0x19d0]
movss xmm2, dword [esi + 0x1550]
mov eax, dword [eax + edx*4]
cmp byte [eax + 0x146], 0
je 0x1004e929
mov edx, dword [eax + 8]
and edx, 1
je 0x1004e881
xorps xmm3, xmm3
jmp 0x1004e8a1
movss xmm0, dword [esi + 0x153c]
movss xmm3, dword [esi + 0x1904]
addss xmm0, xmm0
mulss xmm3, dword [eax + 0x26c]
addss xmm3, xmm0
test dword [eax + 8], 0x400
je 0x1004e8d4
movss xmm2, dword [esi + 0x1904]
mulss xmm2, dword [eax + 0x26c]
movss xmm0, dword [esi + 0x153c]
addss xmm0, xmm0
addss xmm2, dword [eax + 0x14c]
addss xmm2, xmm0
jmp 0x1004e8d7
xorps xmm2, xmm2
movss xmm5, dword [eax + 0x10]
movaps xmm4, xmm5
addss xmm4, xmm3
addss xmm4, xmm2
test edx, edx
jne 0x1004e90b
movss xmm0, dword [esi + 0x153c]
movss xmm1, dword [esi + 0x1904]
addss xmm0, xmm0
mulss xmm1, dword [eax + 0x26c]
addss xmm1, xmm0
addss xmm5, xmm1
mov dword [ebp - 0x1c], 0xff7fffff
mov dword [ebp - 0x14], 0x7f7fffff
movss dword [ebp - 0x10], xmm4
movss dword [ebp - 0x18], xmm5
jmp 0x1004e95b
movss xmm1, dword [eax + 0xc]
movaps xmm0, xmm1
mov dword [ebp - 0x18], 0xff7fffff
addss xmm1, dword [eax + 0x14]
addss xmm0, xmm2
mov dword [ebp - 0x10], 0x7f7fffff
subss xmm1, xmm2
movss dword [ebp - 0x1c], xmm0
subss xmm1, dword [eax + 0x70]
movss dword [ebp - 0x14], xmm1
movups xmm0, xmmword [ebp - 0x1c]
push 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [edi + 0xa0]
push eax
lea eax, [edi + 0x14]
push eax
lea edx, [edi + 0xc]
movups xmmword [ebp - 0x1c], xmm0
call fcn.1004e4c0
mov eax, dword [ebp - 4]
add esp, 0x14
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
test eax, 0x4000000
je 0x1004e9fe
movss xmm3, dword [edi + 0xc]
lea edx, [edi + 0xc]
movss xmm2, dword [0x10145040]
lea eax, [ebp - 0x1c]
movss xmm1, dword [edi + 0x10]
movaps xmm0, xmm3
subss xmm0, xmm2
push 0
push eax
lea eax, [ebp - 0x2c]
push eax
movss dword [ebp - 0x1c], xmm0
addss xmm3, xmm2
movaps xmm0, xmm1
lea eax, [edi + 0xa0]
subss xmm0, xmm2
addss xmm1, xmm2
push eax
lea eax, [edi + 0x14]
movss dword [ebp - 0x14], xmm3
push eax
movss dword [ebp - 0x18], xmm0
movss dword [ebp - 0x10], xmm1
call fcn.1004e4c0
mov eax, dword [ebp - 4]
add esp, 0x14
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
test eax, 0x2000000
je 0x1004eb2b
movss xmm4, dword [esi + 0x15a0]
lea ecx, [ebp - 0xc]
call fcn.1004f3d0
cmp byte [esi + 0x1b56], 0
jne 0x1004ea7b
cmp byte [esi + 0x1b57], 0
je 0x1004ea7b
test byte [esi + 8], 4
jne 0x1004ea7b
movss xmm0, dword [ebp - 0xc]
subss xmm0, dword [0x10145148]
movss dword [ebp - 0x1c], xmm0
movss xmm0, dword [ebp - 8]
subss xmm0, dword [0x1014511c]
movss dword [ebp - 0x18], xmm0
movss xmm0, dword [ebp - 0xc]
addss xmm0, dword [0x10145148]
movss dword [ebp - 0x14], xmm0
movss xmm0, dword [ebp - 8]
addss xmm0, dword [0x1014511c]
movss dword [ebp - 0x10], xmm0
jmp 0x1004eabe
movss xmm0, dword [ebp - 0xc]
subss xmm0, dword [0x10145148]
mulss xmm4, dword [0x10145164]
movss dword [ebp - 0x1c], xmm0
movss xmm0, dword [ebp - 8]
subss xmm0, dword [0x1014511c]
movss dword [ebp - 0x18], xmm0
movaps xmm0, xmm4
addss xmm0, dword [ebp - 0xc]
addss xmm4, dword [ebp - 8]
movss dword [ebp - 0x14], xmm0
movss dword [ebp - 0x10], xmm4
movups xmm0, xmmword [ebp - 0x1c]
push 0
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x2c]
push eax
lea esi, [edi + 0xa0]
lea eax, [edi + 0x14]
push esi
push eax
lea edx, [ebp - 0xc]
lea ecx, [ebp - 0x14]
movups xmmword [ebp - 0x3c], xmm0
call fcn.1004e4c0
add esp, 0x14
cmp dword [esi], 0xffffffff
jne 0x1004eb12
movss xmm1, dword [ebp - 0xc]
movss xmm2, dword [ebp - 8]
addss xmm1, dword [0x101450a4]
addss xmm2, dword [0x101450a4]
movss dword [ebp - 0x14], xmm1
movss dword [ebp - 0x10], xmm2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
pop edi
mov dword [edx], eax
mov eax, edx
mov dword [edx + 4], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3