Function at 0x10114990
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 0x101151a8
cmp dword [eax + 0x90], 0
jg 0x101151a8
cmp dword [eax + 0x94], 0
jg 0x101151a8
cmp byte [eax + 0x7b], 0
je 0x101151a8
movss xmm0, dword [eax + 0x44]
xor edx, edx
movss xmm2, dword [edi + 0x1900]
mov esi, 4
addss xmm0, dword [0x1017f0d8]
movaps xmm1, xmm2
mov cl, byte [edi + 0xaf]
mulss xmm2, dword [0x1017f064]
test cl, cl
mulss xmm1, dword [0x1017f0f0]
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 [0x1017f0b8]
cvttss2si esi, xmm0
je 0x10114a4f
movss xmm0, dword [0x1017f180]
jmp 0x10114a52
xorps xmm0, xmm0
movss dword [ebp - 0x1c], xmm0
mov ecx, str.RESIZE
movss xmm0, dword [0x1017f334]
movss dword [ebp - 0x10], xmm0
movss dword [ebp - 0x14], xmm0
movss dword [ebp - 0x20], xmm0
movss dword [ebp - 0xc], xmm0
call fcn.10111280
xor edx, edx
mov dword [ebp - 0x18], edx
cmp dword [ebx + 0xc], edx
jle 0x10114dbe
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 0x10114b39
movss dword [ebp - 0x5c], xmm5
movss dword [ebp - 0x54], xmm3
comiss xmm2, xmm4
jbe 0x10114b48
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.10119eb0
mov edx, eax
lea ecx, [ebp - 0x5c]
call fcn.1013cc40
mov cl, byte [ebp - 2]
add esp, 0xc
test cl, cl
jne 0x10114b7c
mov al, byte [ebp - 1]
test al, al
je 0x10114d7c
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 0x10114d7f
cmp byte [edi + 0x3d5], 0
je 0x10114bec
test edx, edx
jne 0x10114bec
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x4c]
mov edx, dword [ebp - 8]
push dword [eax + 4]
push dword [eax]
call fcn.10115820
add esp, 8
movss xmm3, dword [eax]
movss xmm2, dword [eax + 4]
movss dword [ebp - 0x20], xmm3
movss dword [ebp - 0xc], xmm2
call fcn.10119b10
mov edx, dword [ebp - 0x18]
cmp byte [ebp - 1], 0
je 0x10114d93
mov ecx, 0x23
jmp 0x10114d9e
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x44]
movd xmm4, esi
cvtdq2ps xmm4, xmm4
movss xmm3, dword [eax*8 + 0x101e437c]
xorps xmm4, xmmword [0x1017f9a0]
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.10115820
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 0x10114d44
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 0x10114d76
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 0x10114bd8
test al, al
jne 0x10114be2
test cl, cl
je 0x10114db1
xor ecx, ecx
cmp byte [ebp - 2], cl
setne cl
add ecx, 0x21
movss xmm1, dword [0x1017f0d8]
call fcn.1011b7d0
mov ecx, dword [ebx + 0x10]
mov dword [ecx + edx*4], eax
inc edx
mov dword [ebp - 0x18], edx
cmp edx, dword [ebx + 0xc]
jl 0x10114a90
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x2c], ecx
jbe 0x10114fb2
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.101151c0
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.10119eb0
mov edx, eax
lea ecx, [ebp - 0x5c]
call fcn.1013cc40
mov dl, byte [ebp - 1]
add esp, 0xc
cmp byte [ebp - 2], 0
je 0x10114e2e
movss xmm0, dword [edi + 0x19fc]
comiss xmm0, dword [0x1017f038]
ja 0x10114e36
test dl, dl
je 0x10114fa2
mov ecx, dword [ebp - 0x1c]
mov eax, ecx
and eax, 1
add eax, 3
mov dword [edi + 0x1cc0], eax
test dl, dl
je 0x10114fa5
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 0x10114e95
movss xmm1, dword [edi + 0xe4]
subss xmm1, dword [edi + 0x1a28]
addss xmm1, dword [0x1017f180]
jmp 0x10114ed0
cmp ecx, 1
jne 0x10114ea4
movss xmm5, dword [0x1017f0d8]
jmp 0x10114eb8
cmp ecx, 2
jne 0x10114eb3
movss xmm4, dword [0x1017f0d8]
jmp 0x10114e7b
cmp ecx, 3
jne 0x10114eda
movss xmm0, dword [edi + 0xe0]
subss xmm0, dword [edi + 0x1a24]
addss xmm0, dword [0x1017f180]
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.10115820
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 0x10114f77
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 0x10114fa2
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 0x10114dd0
mov ecx, dword [0x101e6b78]
mov edx, dword [ecx + 0x19e4]
mov eax, dword [edx + 0x1c0]
test eax, eax
jg 0x10114fd0
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 0x10115102
cmp dword [eax + 0x2f0], esi
jne 0x10115102
mov eax, dword [edi + 0x1b20]
cmp eax, 3
jne 0x10115015
cmp byte [edi + 0xf9], 0
je 0x10115102
push ecx
lea edx, [eax - 2]
lea ecx, [ebp - 0x4c]
jmp 0x10115025
cmp eax, 4
jne 0x10115102
push ecx
lea edx, [eax - 2]
lea ecx, [ebp - 0x44]
mov dword [esp], 0
xorps xmm3, xmm3
push 0
call fcn.1010ee00
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 0x10115065
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jnp 0x1011510c
movss xmm2, dword [edi + 0xa4]
mov ecx, 0x23
movss xmm0, dword [edi + 0x18]
minss xmm2, dword [edi + 0xa8]
mulss xmm0, dword [0x1017f2e8]
mov byte [edi + 0x1b4c], 0
movss xmm1, dword [0x1017f0d8]
mov byte [edi + 0x1b5b], 1
mulss xmm2, xmm0
cvttss2si eax, xmm2
movd xmm7, eax
cvtdq2ps xmm7, xmm7
call fcn.1011b7d0
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.10115820
add esp, 8
xorps xmm2, xmm2
movss xmm0, dword [eax]
movss dword [ebp - 0x20], xmm0
movss xmm0, dword [eax + 4]
jmp 0x10115111
movss xmm0, dword [ebp - 0xc]
xorps xmm2, xmm2
jmp 0x10115117
movss xmm0, dword [ebp - 0xc]
mov ecx, dword [0x101e6b78]
movss xmm1, dword [ebp - 0x20]
movss xmm3, dword [0x1017f334]
ucomiss xmm1, xmm3
lahf
test ah, 0x44
jnp 0x10115152
test dword [esi + 8], 0x100
movss dword [esi + 0x1c], xmm1
movss dword [esi + 0x20], xmm0
jne 0x10115152
comiss xmm2, dword [ecx + 0x2c98]
jb 0x10115152
mov eax, dword [ecx + 0x1c]
mov dword [ecx + 0x2c98], eax
movss xmm0, dword [ebp - 0x10]
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jnp 0x1011519c
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 0x1011519c
comiss xmm2, dword [ecx + 0x2c98]
jb 0x1011519c
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