Function at 0x1015db4e
Capabilities:
Terminate process

Disassembly:
jmp 0x10225320
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, 0xd0
mov eax, dword [0x104e6584]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov ecx, 0x104f66fc
call fcn.1015f0d9
mov eax, dword [0x104e7304]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x198c]
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 8]
add eax, 0x1c78
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + 0x1c68]
test ecx, ecx
jne 0x10225387
push 0
call dword [sym.imp.ucrtbased.dll_exit]
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x10], 0xffffffff
jne 0x10225398
push 0
call dword [sym.imp.ucrtbased.dll_exit]
cmp dword [ebx + 8], 0
je 0x102253e6
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x10], 0xffffffff
je 0x102253ca
mov ecx, dword [ebp - 0x10]
add ecx, 0x14
push ecx
mov edx, dword [ebx + 8]
push edx
call fcn.1015f3db
add esp, 8
test eax, eax
jne 0x102253ca
mov dword [ebp - 0xc8], 1
jmp 0x102253d4
mov dword [ebp - 0xc8], 0
movzx eax, byte [ebp - 0xc8]
test eax, eax
jne 0x102253e6
xor eax, eax
jmp 0x1022576f
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
mov edx, dword [eax + 0x1cd0]
cmp edx, dword [ecx + 0x1cc0]
jne 0x10225403
mov byte [ebp - 0xc5], 1
jmp 0x1022540a
mov byte [ebp - 0xc5], 0
mov al, byte [ebp - 0xc5]
mov byte [ebp - 0x11], al
mov eax, dword [ebp - 8]
add eax, 0x1cb0
mov ecx, dword [eax]
mov dword [ebp - 0x24], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x20], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x1c], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x18], edx
movss xmm0, dword [ebp - 0x1c]
subss xmm0, dword [ebp - 0x24]
movss dword [ebp - 0xc4], xmm0
movss xmm0, dword [ebp - 0x18]
subss xmm0, dword [ebp - 0x20]
mulss xmm0, dword [ebp - 0xc4]
movss dword [ebp - 0x28], xmm0
mov eax, dword [ebp - 8]
movss xmm0, dword [eax + 0x1cc8]
comiss xmm0, dword [ebp - 0x28]
jbe 0x1022549a
mov eax, dword [ebp - 8]
mov ecx, dword [ebx + 0xc]
mov dword [eax + 0x1cc4], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x1cc0]
mov dword [eax + 0x1ccc], edx
mov eax, dword [ebp - 8]
movss xmm0, dword [ebp - 0x28]
movss dword [eax + 0x1cc8], xmm0
mov eax, dword [ebp - 0x10]
mov cl, byte [ebp - 0x11]
mov byte [eax + 0x35], cl
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x1c6c]
and ecx, 0x800
or ecx, dword [ebx + 0xc]
mov dword [ebx + 0xc], ecx
mov eax, dword [ebx + 0xc]
and eax, 0x800
jne 0x102256fe
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax + 0x35]
test ecx, ecx
je 0x102256fe
push ecx
movss xmm0, dword [0x10434650]
movss dword [esp], xmm0
lea ecx, [ebp - 0x24]
call fcn.1015d6bc
mov eax, dword [ebp - 0xc]
add eax, 0x1cc
mov dword [ebp - 0xc8], eax
lea ecx, [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0xc8]
call fcn.10160b5f
movzx edx, al
test edx, edx
jne 0x1022551b
mov dword [ebp - 0xcc], 1
jmp 0x10225525
mov dword [ebp - 0xcc], 0
mov al, byte [ebp - 0xcc]
mov byte [ebp - 0x29], al
movzx eax, byte [ebp - 0x29]
test eax, eax
je 0x10225688
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x274]
mov dword [ebp - 0xc8], ecx
movss xmm0, dword [0x1042d1f8]
movss dword [ebp - 0x84], xmm0
movss xmm0, dword [0x1042d1f8]
movss dword [ebp - 0x80], xmm0
movss xmm0, dword [ebp - 0x1c]
addss xmm0, dword [ebp - 0x84]
movss dword [ebp - 0x30], xmm0
movss xmm0, dword [ebp - 0x18]
addss xmm0, dword [ebp - 0x80]
movss dword [ebp - 0x34], xmm0
movss xmm0, dword [ebp - 0x30]
movss dword [ebp - 0x8c], xmm0
movss xmm0, dword [ebp - 0x34]
movss dword [ebp - 0x88], xmm0
mov edx, dword [ebp - 0x8c]
mov dword [ebp - 0xb0], edx
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp - 0xb0]
mov dword [ebp - 0xc0], ecx
mov edx, dword [ebp - 0xac]
mov dword [ebp - 0xbc], edx
movss xmm0, dword [0x1042d1f8]
movss dword [ebp - 0x94], xmm0
movss xmm0, dword [0x1042d1f8]
movss dword [ebp - 0x90], xmm0
movss xmm0, dword [ebp - 0x24]
subss xmm0, dword [ebp - 0x94]
movss dword [ebp - 0x38], xmm0
movss xmm0, dword [ebp - 0x20]
subss xmm0, dword [ebp - 0x90]
movss dword [ebp - 0x3c], xmm0
movss xmm0, dword [ebp - 0x38]
movss dword [ebp - 0x9c], xmm0
movss xmm0, dword [ebp - 0x3c]
movss dword [ebp - 0x98], xmm0
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xa8], eax
mov ecx, dword [ebp - 0x98]
mov dword [ebp - 0xa4], ecx
mov edx, dword [ebp - 0xa8]
mov dword [ebp - 0xb8], edx
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xb4], eax
push 0
mov ecx, dword [ebp - 0xbc]
push ecx
mov edx, dword [ebp - 0xc0]
push edx
mov eax, dword [ebp - 0xb4]
push eax
mov ecx, dword [ebp - 0xb8]
push ecx
mov ecx, dword [ebp - 0xc8]
call fcn.1015c825
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x274]
mov dword [ebp - 0xc8], ecx
push ecx
movss xmm0, dword [0x1042d1f8]
movss dword [esp], xmm0
push 0x2b
call fcn.1015dd92
add esp, 8
mov dword [ebp - 0xcc], eax
push ecx
movss xmm0, dword [0x1042d1fc]
movss dword [esp], xmm0
push 0xffffffffffffffff
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
mov edx, dword [ebp - 0xcc]
push edx
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0xc8]
call fcn.1015cb1d
movzx eax, byte [ebp - 0x29]
test eax, eax
je 0x102256fe
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x274]
call fcn.1015fb10
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x1940]
mov dword [eax + 0x1cd4], edx
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x1022573d
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x1c74]
push edx
call fcn.1015d59f
add esp, 4
movzx eax, al
test eax, eax
jne 0x1022573d
mov dword [ebp - 0xc8], 1
jmp 0x10225747
mov dword [ebp - 0xc8], 0
mov ecx, dword [ebp - 0x10]
mov dl, byte [ebp - 0xc8]
mov byte [ecx + 0x36], dl
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax + 0x36]
test ecx, ecx
jne 0x1022576c
mov eax, dword [ebx + 0xc]
and eax, 0x400
jne 0x1022576c
xor eax, eax
jmp 0x1022576f
mov eax, dword [ebp - 0x10]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1015ebf2
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret