Function at 0x5620e9
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
mov ebx, eax
movzx eax, byte [ebx]
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 4]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [esi + 0xc]
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 4], edi
cmp edi, eax
je 0x5623f8
xor ecx, ecx
cmp dword [ebp + 0x20], eax
setge cl
mov dword [ebp - 0x1c], ecx
cmp dword [ebp + 0x1c], eax
jne 0x562133
cmp ecx, eax
jne 0x562133
push dword [ebp + 0x24]
mov eax, dword [ebp + 0xc]
call fcn.0055f122
pop ecx
mov eax, dword [ebp + 0x18]
test eax, eax
jle 0x56213f
mov dword [ebp - 8], eax
jmp 0x562147
mov ecx, dword [ebp + 0x10]
mov ecx, dword [ecx]
mov dword [ebp - 8], ecx
cmp dword [ebx + 8], 0
jne 0x56215d
mov ecx, dword [esi + 0x48]
inc ecx
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 8]
mov dword [ebx + 0xc], ecx
add dword [esi + 0x48], ecx
mov edi, dword [ebx + 8]
mov dword [ebp - 0x10], edi
test eax, eax
jle 0x562195
and dword [ebp - 0x14], 0
test eax, eax
jle 0x5621b9
mov eax, dword [ebp - 0x14]
lea ecx, [eax + edi]
push ecx
mov ecx, dword [ebp - 4]
push eax
push dword [ebp + 0x14]
push 0x1c
pop eax
call fcn.0055c2b7
add esp, 0xc
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 0x18]
jl 0x56216f
jmp 0x5621b9
cmp dword [ebp - 0x18], 3
je 0x5621b9
mov eax, esi
call fcn.00556a44
xor eax, eax
cmp dword [ebp - 0x18], 5
mov ecx, edi
sete al
push eax
mov eax, dword [ebp + 0x10]
push esi
call fcn.0055d840
pop ecx
pop ecx
cmp dword [ebp - 0x1c], 0
je 0x5621eb
push edi
push dword [ebp - 8]
mov edi, esi
push dword [ebp + 0x24]
push dword [ebp + 0x20]
call fcn.00562095
add esp, 0x10
cmp dword [ebp + 0x1c], 0
jne 0x5621e8
push dword [ebp + 0x24]
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp - 4]
call fcn.0055f122
pop ecx
mov edi, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
lea eax, [ecx - 1]
cmp eax, 9
ja case.0x5621fa.4
jmp dword [eax*4 + 0x5623fd]
mov eax, esi
call fcn.00556ac9
mov ecx, dword [ebp - 4]
mov ebx, eax
push ebx
push dword [ebp - 8]
push edi
push 0x1e
pop eax
call fcn.0055c2b7
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp - 0xc]
push 0x46
pop eax
call fcn.0055c34c
add esp, 0x14
jmp 0x562398
push dword [ebp - 8]
mov ecx, dword [ebp - 4]
push edi
push dword [ebp - 0xc]
push 0x47
pop eax
call fcn.0055c2b7
add esp, 0xc
jmp case.0x5621fa.4
mov eax, esi
call fcn.00556ac9
mov ecx, dword [ebp - 4]
mov ebx, eax
push ebx
push dword [ebp - 8]
push edi
push 0x1e
pop eax
call fcn.0055c2b7
add esp, 0xc
cmp dword [ebp + 0x1c], 0
je 0x562282
push ebx
push dword [ebp + 0xc]
push dword [ebp + 0x1c]
push esi
call fcn.0055f00f
add esp, 0x10
jmp 0x562398
mov eax, esi
call fcn.00556ac9
mov ecx, dword [ebp - 4]
mov edi, eax
push edi
push dword [ebp - 0xc]
push 0x36
pop eax
call fcn.0055c34c
mov ecx, dword [ebp - 4]
push edi
push ebx
push dword [ebp - 0xc]
push 0x37
pop eax
call fcn.0055c2b7
mov ecx, dword [ebp - 4]
add esp, 0x14
mov dl, 8
call fcn.00555aea
mov edx, edi
mov eax, esi
call fcn.00556ae4
jmp 0x562398
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0xc]
mov edi, dword [ebp + 0xc]
mov bl, byte [ebx + 1]
mov eax, dword [eax]
add edi, 5
call fcn.0055d12b
cmp dword [ebp + 0x1c], 0
mov byte [edi], al
je 0x5622fa
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 0x1c]
push esi
call fcn.0055f00f
add esp, 0x10
jmp case.0x5621fa.4
mov eax, esi
call fcn.00556ac9
mov esi, dword [ebp - 0x10]
push 1
push edi
mov ebx, eax
push ebx
push 1
push esi
push dword [ebp - 4]
push 0x1e
pop eax
call fcn.00560b2c
mov eax, dword [ebp + 8]
xor ecx, ecx
inc ecx
call fcn.00556a62
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp - 0xc]
push 0x46
pop eax
call fcn.0055c34c
mov eax, dword [ebp + 8]
add esp, 0x20
jmp 0x56239a
push dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
push 1
push 7
pop eax
call fcn.0055c34c
pop ecx
jmp 0x562366
cmp dword [ebp + 0x1c], 0
je 0x562356
push edi
jmp 0x5622e6
push dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
xor ebx, ebx
inc ebx
mov eax, esi
call fcn.0055d6c6
pop ecx
jmp case.0x5621fa.4
cmp dword [ebp + 0x1c], 0
je 0x5623a3
mov eax, esi
call fcn.00556ac9
mov ecx, dword [ebp - 4]
mov ebx, eax
push ebx
push dword [ebp - 8]
push edi
push 0x1e
pop eax
call fcn.0055c2b7
push ebx
push dword [ebp + 0xc]
push dword [ebp + 0x1c]
push esi
call fcn.0055f00f
add esp, 0x1c
mov eax, esi
mov edx, ebx
call fcn.00556ae4
jmp case.0x5621fa.4
cmp ecx, 0xa
mov ecx, dword [ebp - 4]
jne 0x5623b9
push dword [ebx + 4]
push 4
pop eax
call fcn.0055c33b
pop ecx
jmp 0x5623da
push dword [ebp - 8]
push edi
push 0x10
pop eax
call fcn.0055c34c
mov eax, dword [ebp + 8]
pop ecx
pop ecx
mov ecx, dword [ebp - 8]
mov esi, edi
call fcn.00556a62
cmp dword [ebp + 0x1c], 0
jne 0x5623f8
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x30]
test eax, eax
je 0x5623f8
mov ecx, dword [ebp - 4]
push 0xffffffffffffffff
push dword [ebp + 0x28]
push eax
push 0x73
pop eax
call fcn.0055c2b7
add esp, 0xc
pop edi
pop esi
pop ebx
leave
ret