Function at 0x1004dde0
Capabilities:
Terminate process

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x58
push esi
mov esi, dword [0x1017bfd8]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x50], ecx
push edi
mov edx, dword [esi + 0x19e4]
mov eax, dword [esi + 0x1a7c]
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x1998]
mov ecx, dword [edx + 0x1c0]
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x44], eax
test ecx, ecx
jle 0x1004dfc5
mov eax, dword [edx + 0x1c8]
mov eax, dword [eax + ecx*4 - 4]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x40], eax
call fcn.1004f3d0
movss xmm0, dword [esi + 0xe0]
movss xmm1, dword [0x10145370]
comiss xmm0, xmm1
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x38], eax
lea eax, [esi + 0xe0]
mov dword [ebp - 0x3c], ecx
movss xmm2, dword [eax + 4]
jb 0x1004de9e
comiss xmm2, xmm1
jae 0x1004dea1
lea eax, [ebp - 0x3c]
movss xmm0, dword [eax]
add esi, 0x1a70
mov ecx, dword [ebp - 8]
movss dword [ebp - 0x34], xmm0
movss xmm0, dword [eax + 4]
mov eax, dword [esi]
lea edi, [ecx + 1]
movss dword [ebp - 0x30], xmm0
cmp eax, edi
jge 0x1004df1c
mov ecx, dword [esi + 4]
cmp eax, ecx
jne 0x1004def1
lea edi, [eax + 1]
test ecx, ecx
je 0x1004dedf
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1004dee4
mov eax, 8
cmp eax, edi
mov ecx, esi
cmovg edi, eax
push edi
call fcn.10053bd0
mov eax, dword [esi]
mov ecx, dword [esi + 8]
movups xmm0, xmmword [ebp - 0x50]
lea edx, [eax + eax*8]
mov eax, dword [ebp - 0x30]
movups xmmword [ecx + edx*4], xmm0
movups xmm0, xmmword [ebp - 0x40]
movups xmmword [ecx + edx*4 + 0x10], xmm0
mov dword [ecx + edx*4 + 0x20], eax
inc dword [esi]
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
cmp ecx, eax
jge 0x1004dfc5
mov eax, dword [esi + 8]
lea edx, [ecx + ecx*8]
mov edi, dword [ebp - 0x10]
shl edx, 2
mov dword [ebp - 0x18], edx
cmp dword [eax + edx], edi
lea edi, [ecx + 1]
jne 0x1004df64
mov eax, dword [ebp - 0xc]
mov edi, dword [esi + 8]
mov eax, dword [eax + 0x1998]
dec eax
cmp dword [edi + edx + 0xc], eax
lea edi, [ecx + 1]
jne 0x1004df64
mov eax, dword [esi + 8]
mov ecx, dword [ebp - 0x14]
mov dword [eax + edx + 0xc], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov eax, dword [esi + 4]
cmp edi, eax
jle 0x1004df95
test eax, eax
je 0x1004df7b
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, dword [esi + 4]
jmp 0x1004df80
mov ecx, 8
cmp ecx, edi
mov eax, edi
cmovg eax, ecx
mov ecx, esi
push eax
call fcn.10053bd0
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 8]
mov dword [esi], edi
cmp ecx, edi
jge 0x1004dfc5
mov eax, dword [ebp - 0xc]
movups xmm0, xmmword [ebp - 0x50]
pop edi
pop esi
mov ecx, dword [eax + 0x1a78]
mov eax, dword [ebp - 0x30]
movups xmmword [ecx + edx], xmm0
movups xmm0, xmmword [ebp - 0x40]
movups xmmword [ecx + edx + 0x10], xmm0
mov dword [ecx + edx + 0x20], eax
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]
int3