Function at 0x10078fe0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
mov eax, dword [0x1016c008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, edx
mov dword [ebp - 0x228], 0
mov edx, ecx
mov dword [ebp - 0x244], edi
xor esi, esi
mov dword [ebp - 0x214], edx
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x23c], 0
mov eax, dword [edx]
mov dword [ebp - 0x234], esi
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x224], esi
cmp eax, 0x40
jle 0x10079077
lea ecx, [eax*8 + 4]
mov eax, dword [0x101e0c0c]
test eax, eax
je 0x10079058
inc dword [eax + 0x36c]
push dword [0x101e0c08]
push ecx
call fcn.10062c40
mov edx, dword [ebp - 0x214]
add esp, 8
mov ecx, eax
mov dword [ebp - 0x218], eax
jmp 0x10079083
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x218], ecx
mov eax, dword [edx]
movss xmm1, dword [0x10162728]
lea eax, [ecx + eax*4]
mov dword [ebp - 0x230], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x238], eax
mov eax, dword [edx + 4]
add eax, dword [ebp + 0x14]
movd xmm0, eax
lea eax, [ebx + ebx*4]
cvtdq2ps xmm0, xmm0
addss xmm0, xmm1
movss dword [edi + eax*4 + 4], xmm0
cmp dword [edx + 4], esi
jle 0x1007941b
nop dword [eax]
nop word [eax + eax]
movd xmm0, dword [ebp - 0x238]
lea ebx, [ebp - 0x220]
mov eax, dword [edx]
cvtdq2ps xmm0, xmm0
shl eax, 2
push eax
push 0
push ecx
movss dword [ebp - 0x22c], xmm0
addss xmm0, xmm1
movss dword [ebp - 0x240], xmm0
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0x214]
add esp, 0xc
mov eax, dword [eax]
lea eax, [eax*4 + 4]
push eax
push 0
push dword [ebp - 0x230]
call sub.VCRUNTIME140.dll_memset
movss xmm3, dword [ebp - 0x22c]
add esp, 0xc
test esi, esi
je 0x1007917c
xorps xmm1, xmm1
comiss xmm3, dword [esi + 0x18]
jb 0x10079168
mov eax, dword [esi]
mov dword [ebx], eax
movss xmm0, dword [esi + 0x10]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x10079413
mov eax, dword [ebp - 0x21c]
mov dword [esi + 0x10], 0
mov dword [esi], eax
mov dword [ebp - 0x21c], esi
jmp 0x1007916a
mov ebx, esi
mov esi, dword [ebx]
test esi, esi
jne 0x10079135
mov esi, dword [ebp - 0x220]
mov dword [ebp - 0x234], esi
movss xmm0, dword [edi + 4]
movss xmm1, dword [ebp - 0x240]
comiss xmm1, xmm0
jb 0x1007930a
ucomiss xmm0, dword [edi + 0xc]
lahf
test ah, 0x44
jnp 0x100792f3
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x100791b6
mov ecx, eax
mov eax, dword [eax]
mov dword [ebp - 0x21c], eax
jmp 0x10079219
mov ecx, dword [ebp - 0x23c]
test ecx, ecx
jne 0x100791fd
mov eax, dword [0x101e0c0c]
test eax, eax
je 0x100791cf
inc dword [eax + 0x36c]
push dword [0x101e0c08]
push 0xdac4
call fcn.10062c40
add esp, 8
test eax, eax
jne 0x100791ea
xor ecx, ecx
jmp 0x10079219
mov ecx, dword [ebp - 0x228]
mov dword [eax], ecx
mov ecx, 0x7d0
mov dword [ebp - 0x228], eax
dec ecx
mov dword [ebp - 0x23c], ecx
lea eax, [ecx*8]
sub eax, ecx
mov ecx, dword [ebp - 0x228]
lea ecx, [ecx + eax*4]
add ecx, 4
movss xmm2, dword [edi + 8]
movss xmm0, dword [edi + 0xc]
subss xmm2, dword [edi]
subss xmm0, dword [edi + 4]
divss xmm2, xmm0
test ecx, ecx
je 0x10079413
movss xmm4, dword [0x10162728]
xorps xmm0, xmm0
ucomiss xmm2, xmm0
movss dword [ecx + 8], xmm2
lahf
test ah, 0x44
jnp 0x10079258
movaps xmm0, xmm4
divss xmm0, xmm2
movss xmm3, dword [ebp - 0x22c]
movss dword [ecx + 0xc], xmm0
movaps xmm1, xmm3
subss xmm1, dword [edi + 4]
movd xmm0, dword [ebp + 0x10]
cvtdq2ps xmm0, xmm0
mulss xmm1, xmm2
addss xmm1, dword [edi]
subss xmm1, xmm0
movss dword [ecx + 4], xmm1
cmp dword [edi + 0x10], 0
je 0x10079291
movaps xmm0, xmm4
jmp 0x10079299
movss xmm0, dword [0x10162a14]
cmp dword [ebp - 0x224], 0
movss dword [ecx + 0x10], xmm0
mov eax, dword [edi + 4]
mov dword [ecx + 0x14], eax
movss xmm0, dword [edi + 0xc]
movss dword [ecx + 0x18], xmm0
movaps xmm1, xmm0
mov dword [ecx], 0
jne 0x100792d2
cmp dword [ebp + 0x14], 0
je 0x100792d2
comiss xmm3, xmm0
jbe 0x100792d2
movss dword [ecx + 0x18], xmm3
jmp 0x100792db
comiss xmm1, xmm3
jb 0x10079413
movss xmm1, dword [ebp - 0x240]
mov dword [ecx], esi
mov esi, ecx
mov dword [ebp - 0x234], esi
mov dword [ebp - 0x220], esi
movss xmm0, dword [edi + 0x18]
add edi, 0x14
comiss xmm1, xmm0
mov dword [ebp - 0x244], edi
jae 0x10079192
test esi, esi
je 0x10079334
mov eax, dword [ebp - 0x214]
mov edx, dword [ebp - 0x230]
push ecx
mov ecx, dword [ebp - 0x218]
movss dword [esp], xmm3
push esi
push dword [eax]
lea edx, [edx + 4]
call fcn.10078950
add esp, 0xc
mov edx, dword [ebp - 0x214]
xor ebx, ebx
xorps xmm1, xmm1
cmp dword [edx], ebx
jle 0x100793c5
mov edi, dword [ebp - 0x230]
mov edx, dword [ebp - 0x218]
sub edi, edx
movss xmm2, dword [0x10162960]
movss xmm3, dword [0x101626c8]
mov esi, dword [ebp - 0x214]
nop dword [eax + eax]
addss xmm1, dword [edi + edx]
movaps xmm0, xmm1
addss xmm0, dword [edx]
call fcn.10015ab0
mulss xmm0, xmm2
mov eax, 0xff
addss xmm0, xmm3
cvttss2si ecx, xmm0
cmp ecx, 0xff
cmovg ecx, eax
mov eax, dword [esi + 8]
imul eax, dword [ebp - 0x224]
add edx, 4
add eax, dword [esi + 0xc]
mov byte [eax + ebx], cl
inc ebx
cmp ebx, dword [esi]
jl 0x10079370
mov esi, dword [ebp - 0x234]
mov edi, dword [ebp - 0x244]
mov edx, dword [ebp - 0x214]
lea ecx, [ebp - 0x220]
test esi, esi
je 0x100793e8
mov eax, esi
movss xmm0, dword [eax + 8]
addss xmm0, dword [eax + 4]
movss dword [eax + 4], xmm0
mov ecx, dword [ecx]
mov eax, dword [ecx]
test eax, eax
jne 0x100793d1
mov eax, dword [ebp - 0x224]
inc dword [ebp - 0x238]
inc eax
mov dword [ebp - 0x224], eax
cmp eax, dword [edx + 4]
jge 0x1007941b
movss xmm1, dword [0x10162728]
mov ecx, dword [ebp - 0x218]
jmp 0x100790d0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov ecx, dword [ebp - 0x228]
test ecx, ecx
je 0x1007944b
mov eax, dword [0x101e0c0c]
mov esi, dword [ecx]
test eax, eax
je 0x10079436
dec dword [eax + 0x36c]
push dword [0x101e0c08]
push ecx
call fcn.10062c60
add esp, 8
mov ecx, esi
test esi, esi
jne 0x10079425
mov ecx, dword [ebp - 0x218]
lea eax, [ebp - 0x210]
cmp ecx, eax
je 0x1007947d
test ecx, ecx
je 0x1007946e
mov eax, dword [0x101e0c0c]
test eax, eax
je 0x1007946e
dec dword [eax + 0x36c]
push dword [0x101e0c08]
push ecx
call fcn.10062c60
add esp, 8
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1012838d
mov esp, ebp
pop ebp
ret