Function at 0x5e09dc
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
and dword [ebp - 0x10], 0
xor eax, eax
and dword [ebp - 0x20], eax
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 0x28], eax
mov esi, ecx
mov dword [ebp - 0x2c], edi
mov ebx, dword [edi + 0x28]
mov ecx, dword [esi + 8]
mov dword [ebp - 4], ecx
mov byte [edi], 1
mov dword [ebp - 0x24], ebx
cmp dword [edi + 0x2c], eax
jle 0x5e0b7b
jmp 0x5e0a15
mov ecx, dword [ebp - 4]
mov eax, dword [ebx]
and dword [ebp - 0x1c], 0
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x5e0a4d
mov eax, dword [eax]
mov ecx, esi
mov edx, eax
mov dword [ebp - 8], eax
call fcn.005cb45d
mov edx, dword [ebp - 0x14]
mov ecx, esi
push 1
push 0
push eax
mov dword [ebp - 0xc], eax
call fcn.005ca592
mov ecx, dword [ebp - 4]
add esp, 0xc
jmp 0x5e0a55
and dword [ebp - 8], 0
and dword [ebp - 0xc], 0
cmp dword [ebx + 0xc], 0
jl 0x5e0a76
call fcn.005b935e
push dword [ebp - 0xc]
mov edx, dword [ebx + 0xc]
mov ecx, esi
push 1
push eax
mov dword [ebp - 0x1c], eax
call fcn.005dcc05
add esp, 0xc
mov eax, dword [ebx + 4]
test byte [eax + 2], 0x20
je 0x5e0ae6
mov edi, dword [ebp - 0x14]
xor edx, edx
mov ebx, dword [ebp - 8]
xor ecx, ecx
mov dword [ebp - 0x18], edx
add edi, 8
cmp edx, ebx
jge 0x5e0aac
mov edx, dword [edi]
mov ecx, esi
call fcn.005c69a5
mov edx, dword [ebp - 0x18]
mov ecx, eax
inc edx
add edi, 0x18
mov dword [ebp - 0x18], edx
test ecx, ecx
je 0x5e0a8f
mov edi, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x24]
test ecx, ecx
jne 0x5e0abb
mov eax, dword [esi]
mov ecx, dword [eax + 8]
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x5e0ad0
cmp dword [edi + 0x24], eax
je 0x5e0ad0
inc dword [esi + 0x2c]
mov eax, dword [esi + 0x2c]
mov dword [ebp - 0x10], eax
push 0xfffffffffffffffe
push ecx
mov ecx, dword [ebp - 4]
push 0
push 0
push eax
push 0x44
pop edx
call fcn.005b9258
add esp, 0x14
push dword [ebx + 8]
mov ecx, dword [ebp - 4]
mov edx, 0x94
push dword [ebp - 0xc]
push 0
call fcn.005b910e
mov edx, dword [ebx + 4]
add esp, 0xc
mov ecx, dword [ebp - 4]
push 0xfffffffffffffff8
call fcn.005b98c3
mov eax, dword [ebp - 8]
pop ecx
mov ecx, dword [ebp - 4]
movzx edx, al
call fcn.005b962b
push dword [ebp - 8]
mov edx, dword [ebp - 0xc]
mov ecx, esi
call fcn.005c96ff
mov edx, dword [ebp - 0xc]
pop ecx
push dword [ebp - 8]
mov ecx, esi
call fcn.005cb493
mov eax, dword [ebp - 0x1c]
pop ecx
test eax, eax
je 0x5e0b4e
mov ecx, dword [ebp - 4]
mov edx, eax
call fcn.005b93a0
mov ecx, esi
call fcn.005c96be
mov edx, dword [ebp - 0x20]
add ebx, 0x10
inc edx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], edx
cmp edx, dword [edi + 0x2c]
jl 0x5e0a12
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x5e0b7b
mov ecx, dword [ebp - 4]
push eax
push 0x15
pop edx
call fcn.005b917e
pop ecx
mov dword [ebp - 0x28], eax
mov ecx, esi
call fcn.005c96be
and dword [ebp - 0x24], 0
cmp dword [edi + 0x24], 0
mov ebx, dword [edi + 0x1c]
jle 0x5e0bae
add ebx, 0x14
push dword [ebx - 4]
mov edx, dword [ebx]
mov ecx, esi
call fcn.005ca4a0
mov eax, dword [ebp - 0x24]
lea ebx, [ebx + 0x18]
inc eax
pop ecx
mov dword [ebp - 0x24], eax
cmp eax, dword [edi + 0x24]
jl 0x5e0b92
mov ecx, esi
mov byte [edi], 0
call fcn.005c96be
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x5e0bc9
mov ecx, dword [ebp - 4]
mov edx, eax
call fcn.005b9643
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret