Function at 0x1013e4b0
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 0x1013e759
mov eax, dword [ebp + 8]
and eax, 2
mov dword [ebp - 0x20], eax
je 0x1013e4fa
cmp dword [edi + 0x1bc], 0
je 0x1013e4fa
call fcn.10117790
push ecx
push esi
mov ecx, edi
call fcn.1011d170
mov dword [ebp - 0x18], eax
mov ecx, esi
cmp esi, 0xffffffff
jae 0x1013e526
nop dword [eax]
mov dl, byte [ecx]
test dl, dl
je 0x1013e526
cmp dl, 0x23
jne 0x1013e520
cmp byte [ecx + 1], dl
je 0x1013e526
inc ecx
cmp ecx, 0xffffffff
jb 0x1013e510
mov eax, dword [0x101e6b78]
xorps xmm7, xmm7
movss xmm1, dword [eax + 0x1900]
movss dword [ebp - 0x1c], xmm1
cmp esi, ecx
jne 0x1013e544
xorps xmm0, xmm0
jmp 0x1013e58e
movss xmm3, dword [0x1017f3c0]
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.10129e60
movss xmm0, dword [ebp - 0x34]
xorps xmm7, xmm7
addss xmm0, dword [0x1017f150]
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 0x1013e5b9
movaps xmm6, xmm1
addss xmm6, dword [0x1017f1b4]
movss dword [ebp - 8], xmm6
movss xmm1, dword [esi]
ucomiss xmm1, xmm7
lahf
test ah, 0x44
jp 0x1013e5c9
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.10119760
cmp dword [ebp - 0x20], 0
movss xmm3, dword [edi + 0x3c]
movss dword [ebp - 0x30], xmm3
je 0x1013e640
mov eax, dword [0x101e6b78]
mov eax, dword [eax + 0x19e4]
movss xmm0, dword [eax + 0x214]
subss xmm0, dword [eax + 0xc]
jmp 0x1013e659
lea ecx, [ebp - 0x24]
call fcn.101113b0
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 0x1013e681
movaps xmm2, xmm6
mov ecx, dword [ebp + 8]
movss xmm0, dword [esi]
and ecx, 0x2000
ucomiss xmm0, xmm7
lahf
test ah, 0x44
jnp 0x1013e69e
test ecx, ecx
jne 0x1013e69e
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 0x1013e6c0
test ecx, ecx
je 0x1013e6c4
addss xmm4, xmm3
movss xmm3, dword [ebx + 0x1548]
lea ecx, [ebp - 0x2c]
movss xmm2, dword [ebx + 0x154c]
movaps xmm0, xmm3
mulss xmm0, dword [0x1017f114]
mov edx, dword [ebp - 0x18]
push 0
cvttss2si eax, xmm0
movaps xmm0, xmm2
mulss xmm0, dword [0x1017f114]
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.1011ce30
add esp, 4
test al, al
jne 0x1013e762
test byte [ebp + 8], 2
je 0x1013e759
cmp dword [edi + 0x1bc], 0
je 0x1013e759
call fcn.1010c810
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.1013cb30
mov cl, al
add esp, 0xc
mov byte [ebp - 2], cl
test cl, cl
jne 0x1013e7e3
cmp byte [ebp - 1], al
je 0x1013e89b
cmp byte [ebx + 0x1b5b], 0
jne 0x1013e819
cmp dword [ebx + 0x1af8], edi
jne 0x1013e819
mov eax, dword [ebx + 0x1b50]
cmp eax, dword [edi + 0x134]
jne 0x1013e819
mov byte [ebx + 0x1b5a], 1
mov ecx, esi
mov edx, dword [edi + 0x134]
call fcn.10119bd0
mov cl, byte [ebp - 2]
test cl, cl
je 0x1013e824
mov ecx, esi
call fcn.101198e0
cmp byte [ebp - 1], 0
je 0x1013e89b
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.1011d090
mov ecx, dword [edi + 0x274]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.1012c260
mov ecx, dword [0x101e6b78]
test ecx, ecx
je 0x1013e970
mov ecx, dword [ecx + 0x94]
cmp dword [ecx + 0x34], 1
jle 0x1013e970
mov ecx, dword [ecx + 0x3c]
mov ecx, dword [ecx + 4]
call fcn.10111a80
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.1012bca0
cmp byte [ebp - 0x30], 0
lea ecx, [ebp - 0x4c]
je 0x1013e8e6
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 0x1013e8fb
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 [0x1017f114]
push ecx
movss dword [ebp - 0x40], xmm0
movss xmm0, dword [ebp - 0x2c]
addss xmm0, dword [0x1017f21c]
push dword [ebp - 0x38]
movss dword [ebp - 0x34], xmm0
movss xmm0, dword [ebp - 8]
mulss xmm0, dword [0x1017f114]
subss xmm0, xmm1
addss xmm0, dword [0x1017f1b4]
addss xmm0, dword [ebp - 0x28]
movss dword [ebp - 0x30], xmm0
call fcn.1011d090
mov ecx, dword [edi + 0x274]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.1012c030
mov ecx, dword [edi + 0x274]
mov eax, dword [ecx + 0x3c]
test eax, eax
jg 0x1013e978
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.10121f20
cmp byte [ebp - 1], 0
je 0x1013e98c
call fcn.10111970
mov eax, dword [ebp + 8]
test al, 2
je 0x1013e9ac
cmp dword [edi + 0x1bc], 0
je 0x1013e9ac
call fcn.1010c810
lea ecx, [ebp - 0x3c]
call fcn.101113b0
mov eax, dword [ebp + 8]
mov bl, byte [ebp - 2]
test bl, bl
je 0x1013e9ce
test dword [edi + 8], 0x4000000
je 0x1013e9ce
test al, 1
jne 0x1013e9ce
test byte [edi + 0x168], 0x20
jne 0x1013e9ce
call fcn.10110590
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret