Function at 0x10114060
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
mov esi, dword [0x101e6b78]
push edi
mov edi, ecx
mov dword [ebp - 0x14], edx
cmp word [edi + 0x84], 0
mov ebx, dword [edi + 8]
je 0x10114089
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
cmp byte [edi + 0x7d], 0
movss xmm1, dword [edi + 0x44]
movss xmm0, dword [edi + 0x48]
mov byte [edi + 0x7f], 0
movss dword [ebp - 4], xmm1
movss dword [ebp - 8], xmm0
je 0x10114110
cmp byte [ebp + 8], 0
movss xmm1, dword [esi + 0x1544]
movss dword [ebp - 0x18], xmm1
movss dword [esi + 0x1544], xmm0
je 0x101140d0
cmp byte [esi + 0x1b5a], 0
mov ecx, 0xd
je 0x101140d5
mov ecx, 0xe
push dword [edx + 0xc]
movss xmm1, dword [0x1017f0d8]
push dword [edx + 8]
push dword [edx + 4]
push dword [edx]
call fcn.1011b7d0
movss xmm2, dword [ebp - 4]
mov ecx, eax
call fcn.1011acc0
movss xmm0, dword [ebp - 0x18]
add esp, 0x10
movss dword [esi + 0x1544], xmm0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movss xmm7, dword [0x1017f0d8]
test bl, bl
js 0x10114232
test ebx, 0x6000000
je 0x1011412f
mov ecx, 6
jmp 0x10114140
mov ecx, ebx
and ecx, 0x1000000
or ecx, 0x4000000
shr ecx, 0x18
movaps xmm1, xmm7
call fcn.1011b7d0
test byte [esi + 0x1a88], 0x40
mov ecx, eax
xorps xmm2, xmm2
je 0x1011418e
movss xmm1, dword [esi + 0x1ae4]
comiss xmm2, xmm1
jbe 0x10114168
xorps xmm0, xmm0
jmp 0x1011416f
movaps xmm0, xmm7
minss xmm0, xmm1
mulss xmm0, dword [0x1017f2b8]
and ecx, 0xffffff
addss xmm0, dword [0x1017f094]
cvttss2si eax, xmm0
shl eax, 0x18
or ecx, eax
movss xmm3, dword [edi + 0xc]
mov edx, ebx
movss xmm4, dword [edi + 0x10]
movaps xmm0, xmm3
addss xmm0, dword [edi + 0x14]
movss dword [ebp - 0x30], xmm0
movaps xmm0, xmm4
addss xmm0, dword [edi + 0x18]
movss dword [ebp - 0x2c], xmm0
and edx, 1
je 0x101141be
xorps xmm1, xmm1
jmp 0x101141de
movss xmm0, dword [esi + 0x153c]
movss xmm1, dword [esi + 0x1904]
addss xmm0, xmm0
mulss xmm1, dword [edi + 0x26c]
addss xmm1, xmm0
movss xmm0, dword [ebp - 4]
addss xmm3, xmm2
test edx, edx
mov dword [ebp - 0x18], 0
mov eax, 0xc
addss xmm1, xmm4
cmovne eax, dword [ebp - 0x18]
push eax
push ecx
movss dword [esp], xmm0
lea eax, [ebp - 0x30]
push ecx
mov ecx, dword [edi + 0x274]
push eax
lea eax, [ebp - 0x28]
movss dword [ebp - 0x28], xmm3
push eax
movss dword [ebp - 0x24], xmm1
call fcn.1012c3c0
movss xmm7, dword [0x1017f0d8]
movss xmm1, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
mov eax, ebx
and eax, 1
mov dword [ebp - 0x18], eax
jne 0x10114264
push 3
push ecx
movzx ecx, byte [ebp + 8]
movss dword [esp], xmm1
add ecx, 0xc
movaps xmm1, xmm7
call fcn.1011b7d0
mov ecx, dword [edi + 0x274]
push eax
lea eax, [edx + 8]
push eax
push edx
call fcn.1012c3c0
test ebx, 0x400
je 0x101143a3
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
call fcn.1003c070
cmp dword [ebp - 0x18], 0
xorps xmm2, xmm2
movss xmm0, dword [edi + 0xc]
movss xmm4, dword [ebp - 0x40]
movss xmm1, dword [edi + 0x10]
maxss xmm4, xmm0
addss xmm0, dword [edi + 0x14]
movss xmm6, dword [ebp - 0x3c]
movss xmm5, dword [ebp - 0x38]
maxss xmm6, xmm1
addss xmm1, dword [edi + 0x18]
movss dword [ebp - 0x10], xmm4
minss xmm5, xmm0
movss xmm0, dword [ebp - 0x34]
minss xmm0, xmm1
movss dword [ebp - 0x38], xmm5
movss dword [ebp - 0x14], xmm0
movss dword [ebp - 0x34], xmm0
je 0x101142d7
movss xmm3, dword [ebp - 4]
jmp 0x101142da
xorps xmm3, xmm3
subss xmm5, dword [ebp - 8]
movss xmm1, dword [0x1017f0d8]
subss xmm0, xmm2
addss xmm6, xmm2
push 3
push ecx
mov ecx, 0xf
movss dword [ebp - 0x30], xmm5
movss dword [ebp - 0x2c], xmm0
movaps xmm0, xmm4
addss xmm0, dword [ebp - 8]
movss dword [ebp - 0x24], xmm6
movss dword [esp], xmm3
movss dword [ebp - 0x28], xmm0
call fcn.1011b7d0
mov ecx, dword [edi + 0x274]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.1012c3c0
movss xmm2, dword [esi + 0x1544]
comiss xmm2, dword [0x1017efe0]
jbe 0x101143a3
movss xmm0, dword [edi + 0x18]
addss xmm0, dword [edi + 0x10]
movss xmm1, dword [ebp - 0x14]
comiss xmm0, xmm1
jbe 0x101143a3
mov ecx, dword [ebp - 0x34]
sub esp, 8
movss xmm0, dword [ebp - 0x10]
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x2c], ecx
mov ecx, 7
movss dword [ebp - 0x24], xmm1
movss xmm1, dword [0x1017f0d8]
mov dword [ebp - 0x30], eax
movss dword [ebp - 0x28], xmm0
movss dword [esp + 4], xmm2
call fcn.1011b7d0
mov ecx, dword [edi + 0x274]
add esp, 4
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.1012c5c0
cmp byte [edi + 0x78], 0
je 0x101143b0
xor ecx, ecx
call fcn.1013c290
cmp byte [edi + 0x79], 0
je 0x101143c0
mov ecx, 1
call fcn.1013c290
test bl, 2
jne 0x101145c6
xor eax, eax
mov dword [ebp - 0x10], eax
cmp dword [ebp + 0xc], eax
jle 0x101145c6
movss xmm4, dword [ebp - 8]
mov ebx, 0x101e4378
movaps xmm0, xmm4
mov dword [ebp - 0xc], ebx
addss xmm0, dword [ebp - 4]
movss dword [ebp - 0x20], xmm0
movss xmm0, dword [edi + 0xc]
and eax, 1
movss xmm1, dword [edi + 0x10]
movaps xmm2, xmm0
addss xmm2, dword [edi + 0x14]
mov ecx, dword [edi + 0x274]
mov dword [ebp - 0x1c], eax
subss xmm2, xmm0
mulss xmm2, dword [ebx - 8]
addss xmm2, xmm0
movaps xmm0, xmm1
addss xmm0, dword [edi + 0x18]
movss dword [ebp - 0x14], xmm2
subss xmm0, xmm1
mulss xmm0, dword [ebx - 4]
addss xmm0, xmm1
movss dword [ebp - 0x18], xmm0
je 0x10114447
movss xmm3, dword [ebp + 0x14]
movaps xmm1, xmm4
jmp 0x1011444f
movss xmm1, dword [ebp + 0x14]
movaps xmm3, xmm4
mulss xmm1, dword [ebx]
mov esi, dword [ecx + 0x58]
mulss xmm3, dword [ebx + 4]
lea ebx, [ecx + 0x54]
mov ecx, dword [ebx]
addss xmm1, xmm2
addss xmm3, xmm0
movss dword [ebp - 0x28], xmm1
movss dword [ebp - 0x24], xmm3
cmp ecx, esi
jne 0x101144a7
inc ecx
test esi, esi
je 0x10114486
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, esi
jmp 0x1011448b
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, ebx
call fcn.1003cd60
movss xmm2, dword [ebp - 0x14]
movss xmm0, dword [ebp - 0x18]
movss xmm4, dword [ebp - 8]
mov eax, dword [ebx]
mov ecx, dword [ebx + 8]
mov edx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x24]
mov dword [ecx + eax*8], edx
mov dword [ecx + eax*8 + 4], esi
inc dword [ebx]
cmp dword [ebp - 0x1c], 0
mov eax, dword [edi + 0x274]
je 0x101144d1
movss xmm1, dword [ebp + 0x14]
movaps xmm3, xmm4
jmp 0x101144d9
movss xmm3, dword [ebp + 0x14]
movaps xmm1, xmm4
mov ebx, dword [ebp - 0xc]
add eax, 0x54
mov dword [ebp - 0xc], eax
mulss xmm1, dword [ebx]
mov ecx, dword [eax]
mulss xmm3, dword [ebx + 4]
mov esi, dword [eax + 4]
addss xmm1, xmm2
addss xmm3, xmm0
movss dword [ebp - 0x30], xmm1
movss dword [ebp - 0x2c], xmm3
cmp ecx, esi
jne 0x10114531
inc ecx
test esi, esi
je 0x10114516
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, esi
jmp 0x1011451b
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, dword [ebp - 0xc]
call fcn.1003cd60
movss xmm2, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 8]
mov eax, dword [eax]
mov edx, dword [ebp - 0x30]
mov esi, dword [ebp - 0x2c]
movss xmm0, dword [ebp - 0x20]
mov dword [ecx + eax*8], edx
mov dword [ecx + eax*8 + 4], esi
mov eax, dword [ebp - 0xc]
inc dword [eax]
lea eax, [ebp - 0x38]
mulss xmm0, dword [ebx]
mov ecx, dword [edi + 0x274]
push dword [ebx + 0xc]
push dword [ebx + 8]
addss xmm0, xmm2
movss xmm2, dword [ebp - 4]
push eax
movss dword [ebp - 0x38], xmm0
movss xmm0, dword [ebp - 0x20]
mulss xmm0, dword [ebx + 4]
addss xmm0, dword [ebp - 0x18]
movss dword [ebp - 0x34], xmm0
call fcn.1012a860
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0x10]
mov esi, dword [edi + 0x274]
push dword [ecx + eax*4]
mov ecx, esi
push dword [esi + 0x54]
push dword [esi + 0x5c]
call fcn.1012ab00
mov eax, dword [ebp - 0x10]
add ebx, 0x18
movss xmm4, dword [ebp - 8]
inc eax
mov dword [esi + 0x54], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], ebx
cmp eax, dword [ebp + 0xc]
jl 0x101143f1
mov ecx, edi
call fcn.10114690
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret