Function at 0x1005f8a0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, ecx
xor ebx, ebx
xor ecx, ecx
mov dword [ebp - 4], ebx
push edi
mov edx, dword [esi + 0x20]
test edx, edx
je 0x1005f8e8
xor edi, edi
cmp ecx, edx
jge 0x1005fb25
mov eax, dword [esi + 0x28]
movzx eax, word [eax + edi]
cmp ebx, eax
cmovge eax, ebx
inc ecx
mov ebx, eax
add edi, 0x28
mov dword [ebp - 4], ebx
cmp ecx, edx
jne 0x1005f8bd
cmp edx, 0xffff
jge 0x1005fb25
mov ecx, dword [esi + 8]
mov edi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test ecx, ecx
je 0x1005f91e
mov eax, dword [0x1017bfd8]
mov dword [esi + 4], 0
mov dword [esi], 0
test eax, eax
je 0x1005f911
dec dword [eax + 0x36c]
push ecx
call edi
add esp, 4
mov dword [esi + 8], 0
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x1005f94f
mov eax, dword [0x1017bfd8]
mov dword [esi + 0x18], 0
mov dword [esi + 0x14], 0
test eax, eax
je 0x1005f942
dec dword [eax + 0x36c]
push ecx
call edi
add esp, 4
mov dword [esi + 0x1c], 0
lea eax, [ebx + 1]
mov byte [esi + 0x54], 0
push eax
mov ecx, esi
call fcn.1005fb30
mov edx, dword [esi + 0x20]
xor edi, edi
test edx, edx
jle 0x1005f9a5
xor ebx, ebx
cmp edi, edx
jge 0x1005fb25
mov eax, dword [esi + 0x28]
movzx edx, word [eax + ebx]
cmp edx, dword [esi]
jge 0x1005fb25
mov ecx, dword [esi + 8]
mov eax, dword [eax + ebx + 4]
mov dword [ecx + edx*4], eax
cmp edx, dword [esi + 0x14]
jge 0x1005fb25
mov eax, dword [esi + 0x1c]
add ebx, 0x28
mov word [eax + edx*2], di
inc edi
mov edx, dword [esi + 0x20]
cmp edi, edx
jl 0x1005f971
cmp dword [esi + 0x14], 0x20
lea edi, [esi + 0x28]
mov ecx, 0xffff
jg 0x1005f9b8
mov eax, dword [esi + 0x2c]
jmp 0x1005f9d1
mov eax, dword [esi + 0x1c]
movzx eax, word [eax + 0x40]
cmp ax, cx
jne 0x1005f9c9
mov eax, dword [esi + 0x2c]
jmp 0x1005f9d1
lea ecx, [eax + eax*4]
mov eax, dword [edi]
lea eax, [eax + ecx*8]
mov ebx, dword [ebp - 4]
mov ecx, esi
add ecx, 0x1c
mov dword [ebp - 8], ecx
test eax, eax
je 0x1005fab8
test edx, edx
jle 0x1005fb25
mov eax, dword [edi]
lea ecx, [edx + edx*4]
cmp word [eax + ecx*8 - 0x28], 9
je 0x1005fa05
lea eax, [edx + 1]
push eax
lea ecx, [esi + 0x20]
call fcn.10060da0
mov eax, dword [esi + 0x20]
test eax, eax
jle 0x1005fb25
cmp dword [esi + 0x14], 0x20
lea edi, [eax + eax*4]
jg 0x1005fa1e
mov eax, dword [esi + 0x2c]
jmp 0x1005fa3d
mov eax, dword [esi + 0x1c]
mov ecx, 0xffff
movzx eax, word [eax + 0x40]
cmp ax, cx
jne 0x1005fa34
mov eax, dword [esi + 0x2c]
jmp 0x1005fa3d
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x28]
lea eax, [eax + ecx*8]
movups xmm0, xmmword [eax]
mov ecx, esi
mov edx, 0x1c
add edx, ecx
mov ecx, dword [esi + 0x28]
movups xmmword [ecx + edi*8 - 0x28], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ecx + edi*8 - 0x18], xmm0
movq xmm0, qword [eax + 0x20]
mov eax, 9
movq qword [ecx + edi*8 - 8], xmm0
movss xmm0, dword [ecx + edi*8 - 0x24]
mulss xmm0, dword [0x101450fc]
mov word [ecx + edi*8 - 0x28], ax
movss dword [ecx + edi*8 - 0x24], xmm0
cmp dword [esi], eax
jle 0x1005fb25
mov eax, dword [esi + 8]
movss dword [eax + 0x24], xmm0
mov ax, word [esi + 0x20]
movzx ecx, word [ecx + edi*8 - 0x28]
dec ax
movzx eax, ax
mov dword [ebp - 4], eax
cmp ecx, dword [esi + 0x14]
jge 0x1005fb25
mov eax, dword [esi + 0x1c]
mov edi, dword [ebp - 4]
mov word [eax + ecx*2], di
lea edi, [esi + 0x28]
jmp 0x1005fabb
mov edx, dword [ebp - 8]
movzx ecx, word [esi + 0x42]
xorps xmm0, xmm0
cmp ecx, dword [esi + 0x14]
jge 0x1005faed
mov eax, dword [edx]
movzx eax, word [eax + ecx*2]
mov ecx, 0xffff
cmp ax, cx
je 0x1005faed
lea ecx, [eax + eax*4]
mov eax, dword [edi]
lea eax, [eax + ecx*8]
mov dword [esi + 0x2c], eax
test eax, eax
je 0x1005faf4
movss xmm1, dword [eax + 4]
jmp 0x1005faf7
mov dword [esi + 0x2c], 0
xorps xmm1, xmm1
lea eax, [ebx + 1]
movss dword [esi + 0xc], xmm1
xor ecx, ecx
test eax, eax
jle 0x1005fb1e
inc ebx
cmp ecx, dword [esi]
jge 0x1005fb25
mov edx, dword [esi + 8]
comiss xmm0, dword [edx + ecx*4]
jbe 0x1005fb19
mov eax, dword [esi + 0xc]
mov dword [edx + ecx*4], eax
inc ecx
cmp ecx, ebx
jl 0x1005fb06
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3