Function at 0x10137820
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, 0x68
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x18], edx
mov ecx, dword [0x101e6b78]
mov dword [ebp - 8], ecx
mov eax, dword [ecx + 0x19e4]
mov byte [eax + 0x7c], 1
mov esi, dword [ecx + 0x19e4]
cmp byte [esi + 0x7f], 0
jne 0x10137d79
push ecx
push edi
mov ecx, esi
call fcn.1011d170
mov dword [ebp - 0xc], eax
mov ecx, edi
cmp edi, 0xffffffff
jae 0x1013788c
mov dl, byte [ecx]
test dl, dl
je 0x1013788c
cmp dl, 0x23
jne 0x10137886
cmp byte [ecx + 1], dl
je 0x1013788c
inc ecx
cmp ecx, 0xffffffff
jb 0x10137876
mov eax, dword [0x101e6b78]
xorps xmm0, xmm0
movss xmm2, dword [eax + 0x1900]
movss dword [ebp - 0x14], xmm2
cmp edi, ecx
jne 0x101378aa
xorps xmm1, xmm1
jmp 0x101378f1
movss xmm3, dword [0x1017f3c0]
push ecx
push ecx
push edi
push ecx
lea ecx, [ebp - 0x3c]
mov dword [esp], 0xbf800000
push ecx
mov ecx, dword [eax + 0x18fc]
call fcn.10129e60
movss xmm0, dword [ebp - 0x3c]
addss xmm0, dword [0x1017f150]
cvttss2si eax, xmm0
movss xmm0, dword [ebp - 0x38]
movss dword [ebp - 0x14], xmm0
xorps xmm0, xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movss xmm2, dword [0x1017f250]
movss dword [ebp - 0x10], xmm1
movss xmm1, dword [esi + 0xc8]
addss xmm1, xmm2
movss dword [ebp - 0x28], xmm1
movss xmm1, dword [esi + 0xcc]
addss xmm1, xmm0
movss xmm0, dword [esi + 0x14]
subss xmm0, dword [0x1017f2a8]
movss dword [ebp - 0x38], xmm1
subss xmm0, dword [0x1017f208]
movss xmm1, dword [0x1017f28c]
comiss xmm1, xmm0
ja 0x1013794e
movss xmm1, dword [0x1017f324]
minss xmm1, xmm0
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x1c]
push dword [eax + 4]
push dword [eax]
call fcn.101192f0
movss xmm2, dword [ebp - 0x28]
lea ecx, [ebp - 0x1c]
movss xmm3, dword [ebp - 0x38]
movaps xmm1, xmm2
addss xmm1, dword [ebp - 0x1c]
mov eax, dword [ebp - 8]
movaps xmm0, xmm3
addss xmm0, dword [ebp - 0x18]
movss dword [ebp - 0x54], xmm2
movss dword [ebp - 0x50], xmm3
movss dword [ebp - 0x4c], xmm1
movss xmm1, dword [eax + 0x153c]
movss dword [ebp - 0x48], xmm0
call fcn.10119760
mov edx, dword [ebp - 0xc]
lea ecx, [ebp - 0x54]
push 0
call fcn.1011ce30
add esp, 0xc
test al, al
je 0x10137d79
mov eax, dword [esi + 0x168]
lea ecx, [ebp - 0x54]
mov edx, dword [ebp - 0xc]
shr eax, 1
and eax, 1
push eax
lea eax, [ebp - 1]
push eax
lea eax, [ebp - 2]
push eax
call fcn.1013cb30
add esp, 0xc
mov byte [ebp - 2], al
test al, al
je 0x101379e8
mov ecx, dword [ebp - 0xc]
call fcn.101198e0
cmp byte [ebp - 1], 0
mov eax, dword [ebp - 8]
movss xmm1, dword [eax + 0x1500]
movss dword [ebp - 0x38], xmm1
movss dword [ebp - 0x28], xmm1
movss dword [ebp - 0x18], xmm1
movss dword [ebp - 0x58], xmm1
je 0x10137a80
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x44], 0x3e109091
mov dword [ebp - 0x40], 0x3e109091
mov dword [ebp - 0x3c], 0x3e109091
mov dword [ebp - 0x34], 0x3e109091
mov dword [ebp - 0x30], 0x3e109091
mov dword [ebp - 0x2c], 0x3e109091
mov dword [ebp - 0x24], 0x3e109091
mov dword [ebp - 0x20], 0x3e109091
mov dword [ebp - 0x1c], 0x3e109091
mov dword [ebp - 0x64], 0x3e109091
mov dword [ebp - 0x60], 0x3e109091
mov dword [ebp - 0x5c], 0x3e109091
call fcn.1011d090
push eax
lea ecx, [ebp - 0x34]
call fcn.1011d090
push eax
lea ecx, [ebp - 0x24]
call fcn.1011d090
lea ecx, [ebp - 0x64]
jmp 0x10137af1
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x64], 0x3dd0d0d1
mov dword [ebp - 0x60], 0x3dd0d0d1
mov dword [ebp - 0x5c], 0x3dd0d0d1
mov dword [ebp - 0x44], 0x3dd0d0d1
mov dword [ebp - 0x40], 0x3dd0d0d1
mov dword [ebp - 0x3c], 0x3dd0d0d1
mov dword [ebp - 0x34], 0x3dd0d0d1
mov dword [ebp - 0x30], 0x3dd0d0d1
mov dword [ebp - 0x2c], 0x3dd0d0d1
mov dword [ebp - 0x24], 0x3dd0d0d1
mov dword [ebp - 0x20], 0x3dd0d0d1
mov dword [ebp - 0x1c], 0x3dd0d0d1
call fcn.1011d090
push eax
lea ecx, [ebp - 0x44]
call fcn.1011d090
push eax
lea ecx, [ebp - 0x34]
call fcn.1011d090
lea ecx, [ebp - 0x24]
push eax
call fcn.1011d090
mov ecx, dword [esi + 0x274]
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.1012c0e0
mov eax, dword [esi + 0x274]
lea ecx, [ebp - 0x64]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x64], 0x3b808081
mov dword [ebp - 0x60], 0x3b808081
mov dword [ebp - 0x5c], 0x3b808081
movss xmm0, dword [eax + 0x1500]
movss dword [ebp - 0x58], xmm0
call fcn.1011d090
movss xmm2, dword [ebp - 0x48]
movss xmm4, dword [ebp - 0x50]
movss xmm5, dword [ebp - 0x54]
movss xmm3, dword [0x1017f114]
movss xmm1, dword [0x1017f158]
mov dword [ebp - 0x38], eax
test eax, 0xff000000
je 0x10137bfb
movss xmm0, dword [ebp - 0x4c]
lea eax, [ebp - 0x2c]
subss xmm0, dword [0x1017f110]
mov ecx, dword [ebp - 0xc]
push 0xf
push eax
lea eax, [ebp - 0x1c]
movss dword [ebp - 0x2c], xmm0
movaps xmm0, xmm2
subss xmm0, dword [0x1017f110]
push eax
movss dword [ebp - 0x28], xmm0
movaps xmm0, xmm5
addss xmm0, xmm3
movss dword [ebp - 0x1c], xmm0
movaps xmm0, xmm4
addss xmm0, xmm3
xorps xmm3, xmm3
movss dword [ebp - 0x18], xmm0
call fcn.10121860
mov eax, dword [ebp - 0xc]
push ecx
mov dword [esp], 0x3f800000
mov ecx, eax
push 1
push dword [ebp - 0x38]
push dword [eax + 0x54]
push dword [eax + 0x5c]
call fcn.1012ad90
mov eax, dword [ebp - 0xc]
movss xmm2, dword [ebp - 0x48]
movss xmm1, dword [0x1017f158]
movss xmm4, dword [ebp - 0x50]
movss xmm5, dword [ebp - 0x54]
mov dword [eax + 0x54], 0
mov eax, dword [ebp - 8]
subss xmm2, xmm1
push ecx
addss xmm5, xmm1
mov dword [esp], 0x3f800000
addss xmm4, xmm1
mov dword [ebp - 0x64], 0x3e48c8c9
movss xmm0, dword [eax + 0x1500]
movss dword [ebp - 0x58], xmm0
movss xmm0, dword [ebp - 0x4c]
subss xmm0, xmm1
mov dword [ebp - 0x60], 0x3e48c8c9
push 0xf
push ecx
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x5c], 0x3e48c8c9
movss dword [ebp - 0x38], xmm2
movss dword [ebp - 0x3c], xmm0
movss dword [ebp - 0x2c], xmm5
movss dword [ebp - 0x28], xmm4
mov dword [esp], 0
call fcn.1011d090
mov ecx, dword [esi + 0x274]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.1012c3b0
mov ecx, dword [0x101e6b78]
test ecx, ecx
je 0x10137d71
mov ecx, dword [ecx + 0x94]
cmp dword [ecx + 0x34], 1
jle 0x10137d71
mov ecx, dword [ecx + 0x3c]
mov ecx, dword [ecx + 4]
call fcn.10111a80
push dword [ebp - 0x48]
mov ecx, dword [esi + 0x274]
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
push dword [ebp - 0x54]
push 1
call fcn.1012bca0
mov eax, dword [ebp - 8]
movss xmm1, dword [0x1017f114]
movss xmm3, dword [ebp - 0x10]
mulss xmm3, xmm1
push ecx
movss xmm0, dword [eax + 0x1500]
lea ecx, [ebp - 0x64]
movss dword [ebp - 0x58], xmm0
movss xmm0, dword [ebp - 0x4c]
subss xmm0, dword [ebp - 0x54]
push edi
mov dword [ebp - 0x64], 0x3f34b4b5
mov dword [ebp - 0x60], 0x3f34b4b5
mov dword [ebp - 0x5c], 0x3f34b4b5
mulss xmm0, xmm1
subss xmm0, xmm3
movss xmm3, dword [ebp - 0x14]
mulss xmm3, xmm1
addss xmm0, dword [ebp - 0x54]
movss dword [ebp - 0x3c], xmm0
movss xmm0, dword [ebp - 0x48]
subss xmm0, dword [ebp - 0x50]
mulss xmm0, xmm1
subss xmm0, xmm3
addss xmm0, dword [ebp - 0x50]
movss dword [ebp - 0x38], xmm0
call fcn.1011d090
mov ecx, dword [esi + 0x274]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.1012c030
mov ecx, dword [esi + 0x274]
mov eax, dword [ecx + 0x3c]
test eax, eax
jle 0x10137d71
dec eax
mov dword [ecx + 0x3c], eax
call fcn.10121f20
call fcn.10111970
mov al, byte [ebp - 2]
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret