Function at 0x1013e5c0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
mov ebx, dword [0x101e6b78]
push esi
push edi
mov esi, ecx
mov byte [ebp - 2], dl
mov eax, dword [ebx + 0x19e4]
mov dword [ebp - 0x38], esi
mov byte [eax + 0x7c], 1
mov edi, dword [ebx + 0x19e4]
cmp byte [edi + 0x7f], 0
jne 0x1013e869
mov eax, dword [ebp + 8]
and eax, 2
mov dword [ebp - 0x20], eax
je 0x1013e60a
cmp dword [edi + 0x1bc], 0
je 0x1013e60a
call fcn.101178e0
push ecx
push esi
mov ecx, edi
call fcn.1011d2f0
mov dword [ebp - 0x18], eax
mov ecx, esi
cmp esi, 0xffffffff
jae 0x1013e636
nop dword [eax]
mov dl, byte [ecx]
test dl, dl
je 0x1013e636
cmp dl, 0x23
jne 0x1013e630
cmp byte [ecx + 1], dl
je 0x1013e636
inc ecx
cmp ecx, 0xffffffff
jb 0x1013e620
mov eax, dword [0x101e6b78]
xorps xmm7, xmm7
movss xmm1, dword [eax + 0x1900]
movss dword [ebp - 0x1c], xmm1
cmp esi, ecx
jne 0x1013e654
xorps xmm0, xmm0
jmp 0x1013e69e
movss xmm3, dword [0x1017f334]
movaps xmm2, xmm1
push ecx
push ecx
push esi
push ecx
lea ecx, [ebp - 0x34]
mov dword [esp], 0xbf800000
push ecx
mov ecx, dword [eax + 0x18fc]
call fcn.10129fa0
movss xmm0, dword [ebp - 0x34]
xorps xmm7, xmm7
addss xmm0, dword [0x1017f0d0]
movss xmm1, dword [ebp - 0x30]
movss dword [ebp - 0x1c], xmm1
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mov esi, dword [ebp + 0xc]
movss dword [ebp - 0xc], xmm0
movss xmm6, dword [esi + 4]
ucomiss xmm6, xmm7
movss dword [ebp - 8], xmm6
lahf
test ah, 0x44
jp 0x1013e6c9
movaps xmm6, xmm1
addss xmm6, dword [0x1017f134]
movss dword [ebp - 8], xmm6
movss xmm1, dword [esi]
ucomiss xmm1, xmm7
lahf
test ah, 0x44
jp 0x1013e6d9
movaps xmm1, xmm0
movss xmm3, dword [edi + 0xcc]
lea ecx, [ebp - 0x34]
addss xmm3, dword [edi + 0xf0]
movss xmm2, dword [edi + 0xc8]
movaps xmm0, xmm2
movss dword [ebp - 0x10], xmm2
addss xmm0, xmm1
movaps xmm1, xmm3
movss dword [ebp - 0x14], xmm3
addss xmm1, xmm6
subss xmm0, xmm2
subss xmm1, xmm3
movss dword [ebp - 0x34], xmm0
movss dword [ebp - 0x30], xmm1
xorps xmm1, xmm1
call fcn.101198e0
cmp dword [ebp - 0x20], 0
movss xmm3, dword [edi + 0x3c]
movss dword [ebp - 0x30], xmm3
je 0x1013e750
mov eax, dword [0x101e6b78]
mov eax, dword [eax + 0x19e4]
movss xmm0, dword [eax + 0x214]
subss xmm0, dword [eax + 0xc]
jmp 0x1013e769
lea ecx, [ebp - 0x24]
call fcn.101114f0
movss xmm6, dword [ebp - 8]
xorps xmm7, xmm7
movss xmm3, dword [ebp - 0x30]
movss xmm0, dword [eax]
addss xmm0, dword [edi + 0xc]
movss xmm2, dword [esi + 4]
movss xmm1, dword [ebp - 0xc]
ucomiss xmm2, xmm7
subss xmm0, xmm3
lahf
subss xmm0, dword [ebp - 0x10]
maxss xmm1, xmm0
test ah, 0x44
jp 0x1013e791
movaps xmm2, xmm6
mov ecx, dword [ebp + 8]
movss xmm0, dword [esi]
and ecx, 0x2000
ucomiss xmm0, xmm7
lahf
test ah, 0x44
jnp 0x1013e7ae
test ecx, ecx
jne 0x1013e7ae
movaps xmm1, xmm0
movss xmm6, dword [ebp - 0x10]
movss xmm5, dword [ebp - 0x14]
movaps xmm4, xmm6
ucomiss xmm0, xmm7
addss xmm4, xmm1
addss xmm5, xmm2
lahf
test ah, 0x44
jnp 0x1013e7d0
test ecx, ecx
je 0x1013e7d4
addss xmm4, xmm3
movss xmm3, dword [ebx + 0x1548]
lea ecx, [ebp - 0x2c]
movss xmm2, dword [ebx + 0x154c]
movaps xmm0, xmm3
mulss xmm0, dword [0x1017f094]
mov edx, dword [ebp - 0x18]
push 0
cvttss2si eax, xmm0
movaps xmm0, xmm2
mulss xmm0, dword [0x1017f094]
movd xmm1, eax
cvttss2si eax, xmm0
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm6, xmm1
subss xmm3, xmm1
subss xmm2, xmm0
movss dword [ebp - 0x2c], xmm6
movss xmm6, dword [ebp - 0x14]
addss xmm3, xmm4
subss xmm6, xmm0
addss xmm2, xmm5
movss dword [ebp - 0x24], xmm3
movss dword [ebp - 0x28], xmm6
movss dword [ebp - 0x20], xmm2
call fcn.1011cfb0
add esp, 4
test al, al
jne 0x1013e872
test byte [ebp + 8], 2
je 0x1013e869
cmp dword [edi + 0x1bc], 0
je 0x1013e869
call fcn.1010c950
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 8]
and ecx, 0x400
movzx eax, byte [ebp - 2]
add ecx, ecx
mov edx, ecx
or edx, 4
test dword [ebp + 8], 0x800
cmove edx, ecx
mov ecx, 0
mov esi, edx
or esi, 8
test dword [ebp + 8], 0x1000
cmove esi, edx
mov edx, esi
or edx, 0x100
test dword [ebp + 8], 8
cmove ecx, eax
cmove edx, esi
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 2]
mov dword [ebp - 0x30], ecx
mov ecx, edx
or ecx, 0x12
test byte [ebp + 8], 4
cmove ecx, edx
mov edx, esi
push ecx
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x2c]
call fcn.1013cc40
mov cl, al
add esp, 0xc
mov byte [ebp - 2], cl
test cl, cl
jne 0x1013e8f3
cmp byte [ebp - 1], al
je 0x1013e9ab
cmp byte [ebx + 0x1b5b], 0
jne 0x1013e929
cmp dword [ebx + 0x1af8], edi
jne 0x1013e929
mov eax, dword [ebx + 0x1b50]
cmp eax, dword [edi + 0x134]
jne 0x1013e929
mov byte [ebx + 0x1b5a], 1
mov ecx, esi
mov edx, dword [edi + 0x134]
call fcn.10119d50
mov cl, byte [ebp - 2]
test cl, cl
je 0x1013e934
mov ecx, esi
call fcn.10119a60
cmp byte [ebp - 1], 0
je 0x1013e9ab
movss xmm0, dword [ebx + 0x1500]
push 0xf
push ecx
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x4c], 0x3e0c8c8d
mov dword [ebp - 0x48], 0x3e0c8c8d
mov dword [ebp - 0x44], 0x3e0c8c8d
movss dword [ebp - 0x40], xmm0
mov dword [esp], 0
call fcn.1011d210
mov ecx, dword [edi + 0x274]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.1012c3c0
mov ecx, dword [0x101e6b78]
test ecx, ecx
je 0x1013ea80
mov ecx, dword [ecx + 0x94]
cmp dword [ecx + 0x34], 1
jle 0x1013ea80
mov ecx, dword [ecx + 0x3c]
mov ecx, dword [ecx + 4]
call fcn.10111bc0
push dword [ebp - 0x20]
mov ecx, dword [edi + 0x274]
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push 1
call fcn.1012be00
cmp byte [ebp - 0x30], 0
lea ecx, [ebp - 0x4c]
je 0x1013e9f6
movss xmm0, dword [0x101e9c38]
movss dword [ebp - 0x4c], xmm0
movss xmm0, dword [0x101e9c3c]
movss dword [ebp - 0x48], xmm0
movss xmm0, dword [0x101e9c40]
movss dword [ebp - 0x44], xmm0
jmp 0x1013ea0b
mov dword [ebp - 0x4c], 0x3f34b4b5
mov dword [ebp - 0x48], 0x3f34b4b5
mov dword [ebp - 0x44], 0x3f34b4b5
movss xmm0, dword [ebx + 0x1500]
movss xmm1, dword [ebp - 0x1c]
mulss xmm1, dword [0x1017f094]
push ecx
movss dword [ebp - 0x40], xmm0
movss xmm0, dword [ebp - 0x2c]
addss xmm0, dword [0x1017f19c]
push dword [ebp - 0x38]
movss dword [ebp - 0x34], xmm0
movss xmm0, dword [ebp - 8]
mulss xmm0, dword [0x1017f094]
subss xmm0, xmm1
addss xmm0, dword [0x1017f134]
addss xmm0, dword [ebp - 0x28]
movss dword [ebp - 0x30], xmm0
call fcn.1011d210
mov ecx, dword [edi + 0x274]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.1012c190
mov ecx, dword [edi + 0x274]
mov eax, dword [ecx + 0x3c]
test eax, eax
jg 0x1013ea88
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
dec eax
mov dword [ecx + 0x3c], eax
call fcn.10122060
cmp byte [ebp - 1], 0
je 0x1013ea9c
call fcn.10111ab0
mov eax, dword [ebp + 8]
test al, 2
je 0x1013eabc
cmp dword [edi + 0x1bc], 0
je 0x1013eabc
call fcn.1010c950
lea ecx, [ebp - 0x3c]
call fcn.101114f0
mov eax, dword [ebp + 8]
mov bl, byte [ebp - 2]
test bl, bl
je 0x1013eade
test dword [edi + 8], 0x4000000
je 0x1013eade
test al, 1
jne 0x1013eade
test byte [edi + 0x168], 0x20
jne 0x1013eade
call fcn.101106d0
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret