Function at 0x1005aae0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
push esi
mov esi, ecx
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x1005ab1e
mov eax, dword [0x1017bfd8]
mov dword [esi + 4], 0
mov dword [esi], 0
test eax, eax
je 0x1005ab11
dec dword [eax + 0x36c]
push ecx
call ebx
add esp, 4
mov dword [esi + 8], 0
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x1005ab4f
mov eax, dword [0x1017bfd8]
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
test eax, eax
je 0x1005ab42
dec dword [eax + 0x36c]
push ecx
call ebx
add esp, 4
mov dword [esi + 0x14], 0
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x1005ab80
mov eax, dword [0x1017bfd8]
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
test eax, eax
je 0x1005ab73
dec dword [eax + 0x36c]
push ecx
call ebx
add esp, 4
mov dword [esi + 0x20], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x1005abc6
mov eax, dword [0x1017bfd8]
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
test eax, eax
je 0x1005abb9
dec dword [eax + 0x36c]
push ecx
call ebx
add esp, 4
mov dword [esi + 0x44], 0
mov ecx, dword [esi + 0x50]
test ecx, ecx
je 0x1005abf7
mov eax, dword [0x1017bfd8]
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
test eax, eax
je 0x1005abea
dec dword [eax + 0x36c]
push ecx
call ebx
add esp, 4
mov dword [esi + 0x50], 0
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x1005ac28
mov eax, dword [0x1017bfd8]
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
test eax, eax
je 0x1005ac1b
dec dword [eax + 0x36c]
push ecx
call ebx
add esp, 4
mov dword [esi + 0x5c], 0
mov eax, dword [esi + 0x68]
push edi
xor edi, edi
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 1
test eax, eax
jle 0x1005ad01
test edi, edi
jne 0x1005ac5e
test eax, eax
jle 0x1005ad39
mov eax, dword [esi + 0x70]
xorps xmm0, xmm0
movups xmmword [eax], xmm0
movq qword [eax + 0x10], xmm0
cmp edi, dword [esi + 0x68]
jge 0x1005ad39
mov ebx, dword [esi + 0x70]
lea ecx, [edi + edi*2]
shl ecx, 3
add ebx, ecx
mov dword [ebp - 4], ecx
mov edx, dword [ebx + 8]
test edx, edx
je 0x1005acac
mov eax, dword [0x1017bfd8]
mov dword [ebx + 4], 0
mov dword [ebx], 0
test eax, eax
je 0x1005ac98
dec dword [eax + 0x36c]
push edx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, dword [ebp - 4]
add esp, 4
mov dword [ebx + 8], 0
cmp edi, dword [esi + 0x68]
jge 0x1005ad39
mov ebx, dword [esi + 0x70]
add ebx, ecx
mov ecx, dword [ebx + 0x14]
test ecx, ecx
je 0x1005acef
mov eax, dword [0x1017bfd8]
mov dword [ebx + 0x10], 0
mov dword [ebx + 0xc], 0
test eax, eax
je 0x1005acde
dec dword [eax + 0x36c]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov dword [ebx + 0x14], 0
mov eax, dword [esi + 0x68]
inc edi
cmp edi, eax
jl 0x1005ac44
mov ebx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, dword [esi + 0x70]
pop edi
test ecx, ecx
je 0x1005ad33
mov eax, dword [0x1017bfd8]
mov dword [esi + 0x6c], 0
mov dword [esi + 0x68], 0
test eax, eax
je 0x1005ad26
dec dword [eax + 0x36c]
push ecx
call ebx
add esp, 4
mov dword [esi + 0x70], 0
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