Function at 0x5dc8c6
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
mov ebx, edx
push esi
mov esi, ecx
push edi
mov eax, dword [ebx]
movzx edx, byte [ebx + 0x1c]
mov edi, dword [esi + 8]
not edx
and edx, 1
mov dword [ebp - 0x20], esi
mov eax, dword [eax]
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
lea ecx, [eax + edx]
add ecx, dword [ebp + 0x14]
inc dword [esi + 0x2c]
cmp dword [ebp + 0x18], 0
mov edx, dword [esi + 0x2c]
mov dword [ebp - 0x18], edx
mov edx, dword [ebx + 4]
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x14], ecx
je 0x5dc919
mov ecx, dword [ebp + 0xc]
sub ecx, eax
sub ecx, edx
mov dword [ebp - 4], ecx
jmp 0x5dc928
mov edx, dword [ebp - 0x18]
lea eax, [edx + 1]
mov dword [ebp - 4], eax
lea eax, [edx + ecx]
mov dword [esi + 0x2c], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x5dc937
lea eax, [ecx + 1]
jmp 0x5dc93a
mov eax, dword [eax + 0xc]
mov ecx, edi
mov dword [ebp + 8], eax
call fcn.005b935e
cmp dword [ebp + 0x10], 0
mov ecx, esi
mov edx, dword [ebx]
mov dword [ebx + 0x18], eax
sete al
dec al
and al, 4
or al, 1
movzx eax, al
push eax
push dword [ebp + 0x10]
push dword [ebp - 4]
call fcn.005ca592
mov ecx, dword [ebp - 0xc]
add esp, 0xc
test ecx, ecx
je 0x5dc98a
mov eax, dword [ebp - 4]
mov ecx, edi
add eax, dword [ebp - 8]
push eax
push dword [ebx + 8]
push 0x72
pop edx
call fcn.005b9192
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc]
cmp dword [ebp + 0x18], 0
jne 0x5dc9ad
mov eax, dword [ebp + 0x14]
test eax, eax
jle 0x5dc9ad
mov edx, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
add eax, dword [ebp - 8]
add eax, ecx
mov ecx, esi
push eax
call fcn.005c9708
pop ecx
pop ecx
push dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x10]
push ecx
push eax
mov dword [ebp - 0x14], ecx
mov ecx, edi
push 0x63
pop edx
mov dword [ebp - 0x28], eax
call fcn.005b910e
and dword [ebp - 0x1c], 0
add esp, 0xc
cmp dword [ebp - 0x10], 0
jle 0x5dcb25
mov ecx, dword [esi + 0x2c]
lea eax, [ecx + 1]
mov dword [ebp + 0x18], eax
mov eax, dword [ebx + 4]
add eax, ecx
mov ecx, dword [ebp - 8]
mov dword [esi + 0x2c], eax
mov edx, ecx
sub edx, dword [ebx + 4]
mov eax, dword [ebp - 0xc]
add edx, eax
mov dword [ebp - 0xc], edx
test eax, eax
je 0x5dca0e
mov eax, dword [ebp - 4]
add eax, ecx
push eax
push 0x16
jmp 0x5dca13
push dword [ebx + 8]
push 0x6e
pop edx
mov ecx, edi
call fcn.005b917e
pop ecx
push dword [ebx + 4]
mov ecx, edi
mov dword [ebp + 0x10], eax
push dword [ebp - 4]
push dword [ebp + 0x18]
push 0x5e
pop edx
call fcn.005b910e
mov edx, dword [ebx + 0x14]
add esp, 0xc
mov ecx, edi
call fcn.005b9912
mov ecx, dword [esi]
mov edx, eax
mov dword [ebp - 0x24], edx
cmp byte [ecx + 0x45], 0
jne 0x5dcbe4
mov esi, dword [edx + 0x10]
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp + 0x14]
mov dword [edx + 8], ecx
movzx ecx, word [esi + 6]
push ecx
push 0
push dword [esi + 0x10]
call fcn.005fab50
add esp, 0xc
or edx, 0xffffffff
mov ecx, edi
push 0xfffffffffffffff7
push esi
call fcn.005b984a
movzx eax, word [esi + 8]
mov esi, dword [ebp - 0x20]
dec eax
mov edx, dword [ebx]
mov ecx, esi
push eax
push dword [ebp - 0x10]
call fcn.005dd3aa
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 0x10], eax
mov ecx, edi
call fcn.005b950e
mov dword [ebp + 0x14], eax
lea ecx, [eax + 1]
push ecx
push 0
push ecx
push 0x12
pop edx
mov ecx, edi
call fcn.005b910e
add esp, 0x1c
mov ecx, edi
call fcn.005b935e
mov dword [ebx + 0x10], eax
mov ecx, edi
mov eax, dword [esi + 0x2c]
inc eax
mov dword [esi + 0x2c], eax
push dword [ebx + 0x10]
mov dword [ebx + 0xc], eax
push eax
push 0xe
pop edx
call fcn.005b9192
push dword [ebx + 8]
mov edx, 0x85
mov ecx, edi
call fcn.005b917e
mov eax, dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x5dcaff
push dword [ebx + 0x18]
mov ecx, edi
push eax
push 0x16
pop edx
call fcn.005b9192
pop ecx
pop ecx
mov edx, dword [ebp + 0x10]
mov ecx, edi
call fcn.005b9643
push dword [ebx + 4]
mov edx, dword [ebp - 4]
mov ecx, esi
push dword [ebp + 0x18]
call fcn.005c9708
mov edx, dword [ebp + 0x14]
pop ecx
pop ecx
mov ecx, edi
call fcn.005b9643
mov al, byte [ebx + 0x1c]
mov ecx, edi
push dword [ebp - 0x14]
and al, 1
push dword [ebp - 0x28]
movzx edx, al
push dword [ebp - 0x18]
neg edx
push dword [ebx + 8]
sbb edx, edx
add edx, 0x7e
call fcn.005b930f
mov eax, dword [ebp + 8]
add esp, 0x10
test eax, eax
je 0x5dcbe4
push eax
push 0x2f
pop edx
mov ecx, edi
call fcn.005b917e
pop ecx
push dword [ebx + 8]
mov ecx, edi
mov dword [ebp + 0x14], eax
push 0x21
pop edx
call fcn.005b917e
cmp byte [ebx + 0x1d], 0
pop ecx
je 0x5dcb98
inc dword [esi + 0x2c]
mov ecx, edi
mov eax, dword [esi + 0x2c]
mov esi, dword [ebp - 8]
push eax
push esi
push dword [ebx + 8]
mov dword [ebp - 0x1c], eax
push 0x60
pop edx
call fcn.005b910e
add esp, 0xc
jmp 0x5dcb9b
mov esi, dword [ebp - 8]
push dword [ebx + 8]
mov ecx, edi
push 0x76
pop edx
call fcn.005b917e
cmp byte [ebx + 0x1d], 0
pop ecx
je 0x5dcbda
push dword [ebp - 0x1c]
mov ecx, edi
call fcn.005b950e
add eax, 2
push eax
mov eax, dword [ebp - 4]
add eax, esi
push eax
push 0x4e
pop edx
call fcn.005b910e
add esp, 0xc
mov edx, 0x80
mov ecx, edi
call fcn.005b962b
mov edx, dword [ebp + 0x14]
mov ecx, edi
call fcn.005b9643
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret