Function at 0x5e40bd
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, ecx
push esi
push edi
mov esi, edx
mov dword [ebp - 4], ebx
mov edi, dword [ebx + 8]
mov edx, dword [ebp + 8]
mov ecx, dword [ebx]
call fcn.005e487f
movsx edx, word [edx + 0x2a]
mov ecx, dword [ebx + 0x28]
push 2
mov dword [ebp - 0x24], eax
pop eax
add edx, eax
mov dword [ebp - 0xc], ecx
mov eax, dword [esi + 0x38]
push edx
push ecx
mov dword [ebp - 0x18], eax
lea eax, [ecx + 1]
mov dword [ebp - 8], edx
mov ecx, edi
push 0x6c
pop edx
mov dword [ebx + 0x28], eax
call fcn.005b9192
mov ecx, dword [ebx + 0x2c]
mov edx, esi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
inc eax
add eax, ecx
lea ebx, [ecx + 1]
mov dword [ebp - 0x20], eax
lea ecx, [eax + 1]
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], ecx
mov dword [eax + 0x2c], ecx
xor ecx, ecx
push ecx
push 4
push ecx
push ecx
push dword [ebp + 0x18]
mov ecx, eax
call fcn.005ed016
add esp, 0x1c
mov dword [ebp - 0x14], eax
test eax, eax
je 0x5e42ed
mov esi, dword [ebp - 0x18]
mov ecx, edi
push ebx
push esi
push 0x7b
pop edx
call fcn.005b9192
mov edx, dword [ebp + 0x10]
lea eax, [ebx + 1]
pop ecx
pop ecx
push eax
test edx, edx
je 0x5e416c
mov ecx, dword [ebp - 4]
call fcn.005ca4a0
jmp 0x5e4178
push esi
push 0x7b
pop edx
mov ecx, edi
call fcn.005b9192
pop ecx
mov eax, dword [ebp + 8]
xor esi, esi
pop ecx
xor ecx, ecx
cmp cx, word [eax + 0x2a]
jge 0x5e41ca
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + esi*4]
lea eax, [ebx + 2]
add eax, esi
push eax
test ecx, ecx
js 0x5e41ab
mov eax, dword [ebp + 0xc]
imul edx, ecx, 0x18
mov ecx, dword [ebp - 4]
mov edx, dword [edx + eax + 8]
call fcn.005ca4a0
pop ecx
jmp 0x5e41be
push esi
push dword [ebp - 0x18]
mov edx, 0x9d
mov ecx, edi
call fcn.005b910e
add esp, 0xc
mov eax, dword [ebp + 8]
inc esi
movsx eax, word [eax + 0x2a]
cmp esi, eax
jl 0x5e4186
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x2c]
call fcn.005e9286
mov dword [ebp - 0x18], eax
mov ecx, edi
test eax, eax
je 0x5e41f8
mov edx, dword [ebp - 0x10]
call fcn.005b978a
mov eax, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
cmp dword [eax + 0x78], 0
jne 0x5e422f
mov byte [eax + 0x14], 0
jmp 0x5e422f
push dword [ebp - 0x20]
push dword [ebp - 8]
push ebx
push 0x63
pop edx
call fcn.005b910e
mov esi, dword [ebp - 0xc]
add esp, 0xc
mov ecx, edi
push dword [ebp - 0x1c]
push esi
push 0x73
pop edx
call fcn.005b9192
push dword [ebp - 0x1c]
mov ecx, edi
push dword [ebp - 0x20]
push esi
push 0x74
pop edx
call fcn.005b910e
add esp, 0x14
cmp dword [ebp - 0x18], 0
jne 0x5e426e
mov ecx, dword [ebp - 0x14]
call fcn.005ed836
push esi
push 0x25
pop edx
mov ecx, edi
call fcn.005b917e
xor esi, esi
mov dword [ebp - 0x10], eax
pop ecx
cmp dword [ebp - 8], esi
jle 0x5e426e
lea eax, [esi + ebx]
mov ecx, edi
push eax
push esi
push dword [ebp - 0xc]
push 0x60
pop edx
call fcn.005b910e
add esp, 0xc
inc esi
cmp esi, dword [ebp - 8]
jl 0x5e4253
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 4]
call fcn.005e5608
push 0xfffffffffffffff4
push dword [ebp - 0x24]
mov ecx, edi
push ebx
push dword [ebp - 8]
push 0
push 0xc
pop edx
call fcn.005b9258
mov eax, dword [ebp + 0x1c]
add esp, 0x14
movzx edx, ax
cmp eax, 0xa
mov ecx, edi
push 2
pop eax
cmove edx, eax
call fcn.005b962b
mov ecx, dword [ebp - 4]
call fcn.005d17a3
cmp dword [ebp - 0x18], 0
jne 0x5e42e5
mov esi, dword [ebp - 0x10]
mov ecx, edi
mov ebx, dword [ebp - 0xc]
lea eax, [esi + 1]
push eax
push ebx
push 7
pop edx
call fcn.005b9192
mov edx, esi
mov ecx, edi
call fcn.005b9643
push 0
push ebx
push 0x70
pop edx
mov ecx, edi
call fcn.005b9192
add esp, 0x10
jmp 0x5e42ed
mov ecx, dword [ebp - 0x14]
call fcn.005ed836
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret