Function at 0x101158a0
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
push 0xffffffffffffffff
push 0x101493c3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x20
push esi
push edi
mov edi, dword [0x101e6b78]
mov esi, ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edi
test edi, edi
je 0x101158e9
inc dword [edi + 0x36c]
push 0x340
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
lea ecx, [ebp - 0x11]
mov dword [ebp - 0x2c], eax
add esp, 4
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x1011591e
push esi
push edi
mov ecx, eax
call fcn.10119f00
mov esi, eax
mov dword [ebp - 0x20], eax
jmp 0x10115923
xor esi, esi
mov dword [ebp - 0x20], esi
mov eax, dword [ebp - 0x1c]
lea ecx, [edi + 0x19d4]
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 8], eax
mov edx, dword [ecx]
mov edi, dword [ecx + 8]
mov eax, dword [esi + 4]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], eax
lea esi, [edi + edx*8]
mov dword [ebp - 0x2c], esi
mov esi, dword [ebp - 0x20]
test edx, edx
je 0x1011597a
mov esi, eax
mov ecx, edx
shr ecx, 1
cmp dword [edi + ecx*8], esi
lea eax, [edi + ecx*8]
jae 0x1011596b
lea edi, [eax + 8]
or eax, 0xffffffff
sub eax, ecx
add edx, eax
jmp 0x1011596d
mov edx, ecx
test edx, edx
jne 0x10115953
mov esi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
cmp edi, dword [ebp - 0x2c]
je 0x10115988
cmp dword [edi], eax
jne 0x10115988
mov dword [edi + 4], esi
jmp 0x10115998
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
push edi
mov dword [ebp - 0x2c], esi
call fcn.1003ca00
test dword [ebp - 0x1c], 0x100
mov dword [esi + 0xc], 0x42700000
mov dword [esi + 0x10], 0x42700000
jne 0x10115a62
mov ecx, dword [esi + 4]
call fcn.1010b8d0
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x10115a65
push eax
lea ecx, [edi + 0x2cb4]
call fcn.1003c280
mov ecx, dword [ebp - 0x2c]
and dword [esi + 0xac], 0xfffffffb
and dword [esi + 0xb0], 0xfffffffb
and dword [esi + 0xb4], 0xfffffffb
mov dword [esi + 0x270], eax
cvttss2si eax, dword [ecx + 8]
movd xmm1, eax
cvttss2si eax, dword [ecx + 0xc]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esi + 0xc], xmm1
movss dword [esi + 0x10], xmm0
mov al, byte [ecx + 0x18]
mov byte [esi + 0x7d], al
movss xmm2, dword [ecx + 0x14]
movss xmm3, dword [ecx + 0x10]
movaps xmm0, xmm2
movaps xmm1, xmm3
mulss xmm0, xmm2
mulss xmm1, xmm3
addss xmm1, xmm0
comiss xmm1, dword [0x1017f084]
jbe 0x10115a65
cvttss2si eax, xmm3
movd xmm0, eax
cvttss2si eax, xmm2
cvtdq2ps xmm0, xmm0
movd xmm2, eax
cvtdq2ps xmm2, xmm2
movss dword [ebx + 8], xmm0
movss dword [ebx + 0xc], xmm2
jmp 0x10115a6f
mov edi, dword [ebp - 0x18]
movss xmm2, dword [ebx + 0xc]
movss xmm0, dword [ebx + 8]
test byte [ebp - 0x1c], 0x40
cvttss2si eax, xmm0
mov ecx, dword [esi + 0x10]
mov dword [esi + 0xe4], ecx
movd xmm1, eax
cvttss2si eax, xmm2
cvtdq2ps xmm1, xmm1
movd xmm0, eax
mov eax, dword [esi + 0xc]
cvtdq2ps xmm0, xmm0
mov dword [esi + 0xe0], eax
movss dword [esi + 0x24], xmm1
movss dword [esi + 0x28], xmm0
movss dword [esi + 0x1c], xmm1
movss dword [esi + 0x20], xmm0
movss dword [esi + 0x14], xmm1
movss dword [esi + 0x18], xmm0
je 0x10115ad3
mov dword [esi + 0x94], 2
xor al, al
mov dword [esi + 0x90], 2
jmp 0x10115b0d
xorps xmm0, xmm0
comiss xmm0, xmm1
jb 0x10115ae5
mov dword [esi + 0x90], 2
comiss xmm0, dword [esi + 0x18]
jb 0x10115af5
mov dword [esi + 0x94], 2
cmp dword [esi + 0x90], 0
jg 0x10115b0b
cmp dword [esi + 0x94], 0
jg 0x10115b0b
xor al, al
jmp 0x10115b0d
mov al, 1
add edi, 0x19b0
mov byte [esi + 0x98], al
mov ecx, dword [edi]
mov eax, dword [edi + 4]
cmp ecx, eax
jne 0x10115b43
inc ecx
test eax, eax
je 0x10115b31
cdq
sub eax, edx
sar eax, 1
add eax, dword [edi + 4]
jmp 0x10115b36
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.1003c7c0
mov ecx, dword [edi]
mov eax, dword [edi + 8]
mov dword [eax + ecx*4], esi
inc dword [edi]
mov edi, dword [ebp - 0x18]
add edi, 0x19a4
test dword [ebp - 0x1c], 0x2000
mov ecx, dword [edi]
je 0x10115be6
test ecx, ecx
jne 0x10115b9b
mov eax, dword [edi + 4]
cmp ecx, eax
jne 0x10115b91
inc ecx
test eax, eax
je 0x10115b7f
cdq
sub eax, edx
sar eax, 1
add eax, dword [edi + 4]
jmp 0x10115b84
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.1003c7c0
mov ecx, dword [edi]
mov eax, dword [edi + 8]
mov dword [eax + ecx*4], esi
jmp 0x10115c16
mov edx, dword [edi + 8]
lea eax, [edx + ecx*4]
cmp edx, eax
ja 0x10115bde
cmp ecx, dword [edi + 4]
jne 0x10115bbd
lea eax, [ecx + 1]
mov ecx, edi
push eax
call fcn.1003cc80
push eax
mov ecx, edi
call fcn.1003c7c0
mov eax, dword [edi]
test eax, eax
jle 0x10115bd7
mov ecx, dword [edi + 8]
shl eax, 2
push eax
push ecx
lea eax, [ecx + 4]
push eax
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov eax, dword [edi + 8]
mov dword [eax], esi
jmp 0x10115c16
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov eax, dword [edi + 4]
cmp ecx, eax
jne 0x10115c0e
inc ecx
test eax, eax
je 0x10115bfc
cdq
sub eax, edx
sar eax, 1
add eax, dword [edi + 4]
jmp 0x10115c01
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.1003c7c0
mov edx, dword [edi]
mov ecx, dword [edi + 8]
mov dword [ecx + edx*4], esi
inc dword [edi]
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret