Function at 0x10114850
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, 0x60
mov eax, ecx
mov dword [ebp - 0x30], edx
push esi
push edi
mov edi, dword [0x101e6b78]
test byte [eax + 8], 0x42
mov dword [ebp - 8], eax
jne 0x10115068
cmp dword [eax + 0x90], 0
jg 0x10115068
cmp dword [eax + 0x94], 0
jg 0x10115068
cmp byte [eax + 0x7b], 0
je 0x10115068
movss xmm0, dword [eax + 0x44]
xor edx, edx
movss xmm2, dword [edi + 0x1900]
mov esi, 4
addss xmm0, dword [0x1017f158]
movaps xmm1, xmm2
mov cl, byte [edi + 0xaf]
mulss xmm2, dword [0x1017f0e4]
test cl, cl
mulss xmm1, dword [0x1017f170]
cmovne edx, esi
mov dword [ebp - 0x2c], edx
addss xmm0, xmm2
maxss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x1017f138]
cvttss2si esi, xmm0
je 0x1011490f
movss xmm0, dword [0x1017f200]
jmp 0x10114912
xorps xmm0, xmm0
movss dword [ebp - 0x1c], xmm0
mov ecx, str.RESIZE
movss xmm0, dword [0x1017f3c0]
movss dword [ebp - 0x10], xmm0
movss dword [ebp - 0x14], xmm0
movss dword [ebp - 0x20], xmm0
movss dword [ebp - 0xc], xmm0
call fcn.10111140
xor edx, edx
mov dword [ebp - 0x18], edx
cmp dword [ebx + 0xc], edx
jle 0x10114c7e
nop dword [eax + eax]
mov eax, dword [ebp - 8]
lea ecx, [edx + edx*2]
xorps xmm6, xmm6
mov dword [ebp - 0x28], ecx
cvtsi2ss xmm6, esi
movss xmm0, dword [eax + 0xc]
movss xmm1, dword [eax + 0x10]
movaps xmm3, xmm0
addss xmm3, dword [eax + 0x14]
movaps xmm2, xmm1
addss xmm2, dword [eax + 0x18]
subss xmm3, xmm0
subss xmm2, xmm1
mulss xmm3, dword [ecx*8 + 0x101e4370]
mulss xmm2, dword [ecx*8 + 0x101e4374]
addss xmm3, xmm0
movss xmm0, dword [ecx*8 + 0x101e4378]
movaps xmm5, xmm0
mulss xmm0, dword [ebp - 0x1c]
addss xmm2, xmm1
mulss xmm5, xmm6
movss xmm1, dword [ecx*8 + 0x101e437c]
movaps xmm4, xmm1
mulss xmm1, dword [ebp - 0x1c]
mulss xmm4, xmm6
addss xmm5, xmm3
subss xmm3, xmm0
addss xmm4, xmm2
subss xmm2, xmm1
movss dword [ebp - 0x54], xmm5
comiss xmm3, xmm5
movss dword [ebp - 0x5c], xmm3
movss dword [ebp - 0x58], xmm2
movss dword [ebp - 0x50], xmm4
jbe 0x101149f9
movss dword [ebp - 0x5c], xmm5
movss dword [ebp - 0x54], xmm3
comiss xmm2, xmm4
jbe 0x10114a08
movss dword [ebp - 0x58], xmm4
movss dword [ebp - 0x50], xmm2
push 0x2020
lea ecx, [ebp - 1]
push ecx
lea ecx, [ebp - 2]
push ecx
push edx
mov ecx, eax
call fcn.10119d30
mov edx, eax
lea ecx, [ebp - 0x5c]
call fcn.1013cb30
mov cl, byte [ebp - 2]
add esp, 0xc
test cl, cl
jne 0x10114a3c
mov al, byte [ebp - 1]
test al, al
je 0x10114c3c
mov edx, dword [ebp - 0x18]
mov eax, edx
not eax
and eax, 1
add eax, 5
mov dword [edi + 0x1cc0], eax
mov al, byte [ebp - 1]
test al, al
je 0x10114c3f
cmp byte [edi + 0x3d5], 0
je 0x10114aac
test edx, edx
jne 0x10114aac
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x4c]
mov edx, dword [ebp - 8]
push dword [eax + 4]
push dword [eax]
call fcn.101156e0
add esp, 8
movss xmm3, dword [eax]
movss xmm2, dword [eax + 4]
movss dword [ebp - 0x20], xmm3
movss dword [ebp - 0xc], xmm2
call fcn.10119990
mov edx, dword [ebp - 0x18]
cmp byte [ebp - 1], 0
je 0x10114c53
mov ecx, 0x23
jmp 0x10114c5e
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x44]
movd xmm4, esi
cvtdq2ps xmm4, xmm4
movss xmm3, dword [eax*8 + 0x101e437c]
xorps xmm4, xmmword [0x1017fa30]
movaps xmm2, xmm3
mulss xmm2, dword [ebp - 0x1c]
movaps xmm7, xmm4
movss xmm1, dword [eax*8 + 0x101e4378]
movss xmm6, dword [eax*8 + 0x101e4374]
movaps xmm0, xmm1
mulss xmm0, dword [ebp - 0x1c]
movss xmm5, dword [eax*8 + 0x101e4370]
mov eax, dword [ebp - 8]
mov edx, eax
mulss xmm4, xmm3
mulss xmm7, xmm1
movss xmm1, dword [edi + 0xe4]
subss xmm4, xmm2
subss xmm1, dword [edi + 0x1a28]
subss xmm7, xmm0
mulss xmm4, xmm6
mulss xmm7, xmm5
addss xmm4, xmm2
addss xmm7, xmm0
movss xmm0, dword [edi + 0xe0]
subss xmm0, dword [edi + 0x1a24]
addss xmm1, xmm4
addss xmm7, xmm0
movss xmm0, dword [eax + 0xc]
movaps xmm2, xmm0
addss xmm0, dword [eax + 0x14]
movss dword [ebp - 0x24], xmm1
movss xmm1, dword [eax + 0x10]
movss xmm4, dword [ebp - 0x24]
subss xmm2, xmm7
movaps xmm3, xmm1
addss xmm1, dword [eax + 0x18]
subss xmm3, xmm4
mulss xmm2, xmm5
mulss xmm3, xmm6
addss xmm2, xmm7
subss xmm7, xmm0
addss xmm3, xmm4
subss xmm4, xmm1
movss dword [ebp - 0x10], xmm2
mulss xmm7, xmm5
mulss xmm4, xmm6
addss xmm7, xmm0
movss dword [ebp - 0x14], xmm3
addss xmm4, xmm1
subss xmm7, xmm2
subss xmm4, xmm3
movss dword [ebp - 0x3c], xmm7
movss dword [ebp - 0xc], xmm7
movss dword [ebp - 0x38], xmm4
push dword [ebp - 0x38]
movss dword [ebp - 0x24], xmm4
push dword [ebp - 0x3c]
call fcn.101156e0
mov ecx, dword [ebp - 0x28]
add esp, 8
movss xmm3, dword [ebp - 0x44]
xorps xmm2, xmm2
movss dword [ebp - 0x20], xmm3
movss xmm0, dword [ecx*8 + 0x101e4370]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x10114c04
movss xmm1, dword [ebp - 0x10]
movaps xmm0, xmm3
subss xmm0, dword [ebp - 0xc]
subss xmm1, xmm0
movss dword [ebp - 0x10], xmm1
movss xmm0, dword [ecx*8 + 0x101e4374]
ucomiss xmm0, xmm2
movss xmm2, dword [ebp - 0x40]
movss dword [ebp - 0xc], xmm2
lahf
test ah, 0x44
jp 0x10114c36
movss xmm1, dword [ebp - 0x14]
movaps xmm0, xmm2
subss xmm0, dword [ebp - 0x24]
subss xmm1, xmm0
movss dword [ebp - 0x14], xmm1
mov al, byte [ebp - 1]
mov cl, byte [ebp - 2]
mov edx, dword [ebp - 0x18]
test edx, edx
je 0x10114a98
test al, al
jne 0x10114aa2
test cl, cl
je 0x10114c71
xor ecx, ecx
cmp byte [ebp - 2], cl
setne cl
add ecx, 0x21
movss xmm1, dword [0x1017f158]
call fcn.1011b650
mov ecx, dword [ebx + 0x10]
mov dword [ecx + edx*4], eax
inc edx
mov dword [ebp - 0x18], edx
cmp edx, dword [ebx + 0xc]
jl 0x10114950
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x2c], ecx
jbe 0x10114e72
nop dword [eax]
mov edx, dword [ebp - 8]
movd xmm0, esi
push ecx
cvtdq2ps xmm3, xmm0
mov dword [esp], 0x40800000
push ecx
lea ecx, [ebp - 0x5c]
call fcn.10115080
mov ecx, dword [ebp - 8]
lea eax, [ebp - 1]
add esp, 8
push 0x20
push eax
lea eax, [ebp - 2]
push eax
mov eax, dword [ebp - 0x1c]
add eax, 4
push eax
call fcn.10119d30
mov edx, eax
lea ecx, [ebp - 0x5c]
call fcn.1013cb30
mov dl, byte [ebp - 1]
add esp, 0xc
cmp byte [ebp - 2], 0
je 0x10114cee
movss xmm0, dword [edi + 0x19fc]
comiss xmm0, dword [0x1017f0b8]
ja 0x10114cf6
test dl, dl
je 0x10114e62
mov ecx, dword [ebp - 0x1c]
mov eax, ecx
and eax, 1
add eax, 3
mov dword [edi + 0x1cc0], eax
test dl, dl
je 0x10114e65
mov eax, dword [ebx + 8]
xorps xmm4, xmm4
movss dword [ebp - 0xc], xmm4
xorps xmm5, xmm5
movss dword [ebp - 0x18], xmm5
mov dword [eax], ecx
mov eax, dword [ebp - 8]
movss xmm6, dword [eax + 0xc]
movss xmm7, dword [eax + 0x10]
movaps xmm0, xmm6
movaps xmm1, xmm7
test ecx, ecx
jne 0x10114d55
movss xmm1, dword [edi + 0xe4]
subss xmm1, dword [edi + 0x1a28]
addss xmm1, dword [0x1017f200]
jmp 0x10114d90
cmp ecx, 1
jne 0x10114d64
movss xmm5, dword [0x1017f158]
jmp 0x10114d78
cmp ecx, 2
jne 0x10114d73
movss xmm4, dword [0x1017f158]
jmp 0x10114d3b
cmp ecx, 3
jne 0x10114d9a
movss xmm0, dword [edi + 0xe0]
subss xmm0, dword [edi + 0x1a24]
addss xmm0, dword [0x1017f200]
movss dword [ebp - 0xc], xmm4
movss dword [ebp - 0x18], xmm5
movaps xmm3, xmm7
lea ecx, [ebp - 0x44]
addss xmm7, dword [eax + 0x18]
subss xmm3, xmm1
movaps xmm2, xmm6
addss xmm6, dword [eax + 0x14]
subss xmm2, xmm0
mov edx, eax
mulss xmm3, xmm4
mulss xmm2, xmm5
addss xmm3, xmm1
subss xmm1, xmm7
addss xmm2, xmm0
subss xmm0, xmm6
movss dword [ebp - 0x14], xmm3
mulss xmm1, xmm4
mulss xmm0, xmm5
addss xmm1, xmm7
movss dword [ebp - 0x10], xmm2
addss xmm0, xmm6
subss xmm1, xmm3
subss xmm0, xmm2
movss dword [ebp - 0x30], xmm1
push dword [ebp - 0x30]
movss dword [ebp - 0x34], xmm0
push dword [ebp - 0x34]
call fcn.101156e0
movss xmm0, dword [ebp - 0x18]
add esp, 8
xorps xmm2, xmm2
ucomiss xmm0, xmm2
movss xmm0, dword [ebp - 0x44]
movss dword [ebp - 0x20], xmm0
lahf
test ah, 0x44
jp 0x10114e37
subss xmm0, dword [ebp - 0x34]
movss xmm1, dword [ebp - 0x10]
subss xmm1, xmm0
movss dword [ebp - 0x10], xmm1
movss xmm0, dword [ebp - 0xc]
ucomiss xmm0, xmm2
movss xmm0, dword [ebp - 0x40]
movss dword [ebp - 0xc], xmm0
lahf
test ah, 0x44
jp 0x10114e62
subss xmm0, dword [ebp - 0x30]
movss xmm1, dword [ebp - 0x14]
subss xmm1, xmm0
movss dword [ebp - 0x14], xmm1
mov ecx, dword [ebp - 0x1c]
inc ecx
mov dword [ebp - 0x1c], ecx
cmp ecx, dword [ebp - 0x2c]
jl 0x10114c90
mov ecx, dword [0x101e6b78]
mov edx, dword [ecx + 0x19e4]
mov eax, dword [edx + 0x1c0]
test eax, eax
jg 0x10114e90
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov esi, dword [ebp - 8]
dec eax
mov dword [edx + 0x1c0], eax
mov eax, dword [edi + 0x1b38]
test eax, eax
je 0x10114fc2
cmp dword [eax + 0x2f0], esi
jne 0x10114fc2
mov eax, dword [edi + 0x1b20]
cmp eax, 3
jne 0x10114ed5
cmp byte [edi + 0xf9], 0
je 0x10114fc2
push ecx
lea edx, [eax - 2]
lea ecx, [ebp - 0x4c]
jmp 0x10114ee5
cmp eax, 4
jne 0x10114fc2
push ecx
lea edx, [eax - 2]
lea ecx, [ebp - 0x44]
mov dword [esp], 0
xorps xmm3, xmm3
push 0
call fcn.1010ecc0
add esp, 8
xorps xmm2, xmm2
movss xmm1, dword [eax]
movss xmm0, dword [eax + 4]
ucomiss xmm1, xmm2
movss dword [ebp - 0x2c], xmm0
movss dword [ebp - 0x30], xmm1
lahf
test ah, 0x44
jp 0x10114f25
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jnp 0x10114fcc
movss xmm2, dword [edi + 0xa4]
mov ecx, 0x23
movss xmm0, dword [edi + 0x18]
minss xmm2, dword [edi + 0xa8]
mulss xmm0, dword [0x1017f374]
mov byte [edi + 0x1b4c], 0
movss xmm1, dword [0x1017f158]
mov byte [edi + 0x1b5b], 1
mulss xmm2, xmm0
cvttss2si eax, xmm2
movd xmm7, eax
cvtdq2ps xmm7, xmm7
call fcn.1011b650
mov edx, esi
mov ecx, dword [ebx + 0x10]
movss xmm0, dword [ebp - 0x30]
mulss xmm0, xmm7
mov dword [ecx], eax
lea ecx, [ebp - 0x3c]
addss xmm0, dword [esi + 0x1c]
movss dword [ebp - 0x3c], xmm0
movss xmm0, dword [ebp - 0x2c]
mulss xmm0, xmm7
addss xmm0, dword [esi + 0x20]
movss dword [ebp - 0x38], xmm0
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
call fcn.101156e0
add esp, 8
xorps xmm2, xmm2
movss xmm0, dword [eax]
movss dword [ebp - 0x20], xmm0
movss xmm0, dword [eax + 4]
jmp 0x10114fd1
movss xmm0, dword [ebp - 0xc]
xorps xmm2, xmm2
jmp 0x10114fd7
movss xmm0, dword [ebp - 0xc]
mov ecx, dword [0x101e6b78]
movss xmm1, dword [ebp - 0x20]
movss xmm3, dword [0x1017f3c0]
ucomiss xmm1, xmm3
lahf
test ah, 0x44
jnp 0x10115012
test dword [esi + 8], 0x100
movss dword [esi + 0x1c], xmm1
movss dword [esi + 0x20], xmm0
jne 0x10115012
comiss xmm2, dword [ecx + 0x2c98]
jb 0x10115012
mov eax, dword [ecx + 0x1c]
mov dword [ecx + 0x2c98], eax
movss xmm0, dword [ebp - 0x10]
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jnp 0x1011505c
test dword [esi + 8], 0x100
cvttss2si eax, xmm0
movd xmm1, eax
cvttss2si eax, dword [ebp - 0x14]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esi + 0xc], xmm1
movss dword [esi + 0x10], xmm0
jne 0x1011505c
comiss xmm2, dword [ecx + 0x2c98]
jb 0x1011505c
mov eax, dword [ecx + 0x1c]
mov dword [ecx + 0x2c98], eax
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x20]
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret