Function at 0x55049b
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 0x5507aa
xor ecx, ecx
cmp dword [ebp + 0x20], eax
setge cl
mov dword [ebp - 0x1c], ecx
cmp dword [ebp + 0x1c], eax
jne 0x5504e5
cmp ecx, eax
jne 0x5504e5
push dword [ebp + 0x24]
mov eax, dword [ebp + 0xc]
call fcn.0054d4d4
pop ecx
mov eax, dword [ebp + 0x18]
test eax, eax
jle 0x5504f1
mov dword [ebp - 8], eax
jmp 0x5504f9
mov ecx, dword [ebp + 0x10]
mov ecx, dword [ecx]
mov dword [ebp - 8], ecx
cmp dword [ebx + 8], 0
jne 0x55050f
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 0x550547
and dword [ebp - 0x14], 0
test eax, eax
jle 0x55056b
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.0054a669
add esp, 0xc
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 0x18]
jl 0x550521
jmp 0x55056b
cmp dword [ebp - 0x18], 3
je 0x55056b
mov eax, esi
call fcn.00544df7
xor eax, eax
cmp dword [ebp - 0x18], 5
mov ecx, edi
sete al
push eax
mov eax, dword [ebp + 0x10]
push esi
call fcn.0054bbf2
pop ecx
pop ecx
cmp dword [ebp - 0x1c], 0
je 0x55059d
push edi
push dword [ebp - 8]
mov edi, esi
push dword [ebp + 0x24]
push dword [ebp + 0x20]
call fcn.00550447
add esp, 0x10
cmp dword [ebp + 0x1c], 0
jne 0x55059a
push dword [ebp + 0x24]
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp - 4]
call fcn.0054d4d4
pop ecx
mov edi, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
lea eax, [ecx - 1]
cmp eax, 9
ja case.0x5505ac.4
jmp dword [eax*4 + 0x5507af]
mov eax, esi
call fcn.00544e7c
mov ecx, dword [ebp - 4]
mov ebx, eax
push ebx
push dword [ebp - 8]
push edi
push 0x1e
pop eax
call fcn.0054a669
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp - 0xc]
push 0x46
pop eax
call fcn.0054a6fe
add esp, 0x14
jmp 0x55074a
push dword [ebp - 8]
mov ecx, dword [ebp - 4]
push edi
push dword [ebp - 0xc]
push 0x47
pop eax
call fcn.0054a669
add esp, 0xc
jmp case.0x5505ac.4
mov eax, esi
call fcn.00544e7c
mov ecx, dword [ebp - 4]
mov ebx, eax
push ebx
push dword [ebp - 8]
push edi
push 0x1e
pop eax
call fcn.0054a669
add esp, 0xc
cmp dword [ebp + 0x1c], 0
je 0x550634
push ebx
push dword [ebp + 0xc]
push dword [ebp + 0x1c]
push esi
call fcn.0054d3c1
add esp, 0x10
jmp 0x55074a
mov eax, esi
call fcn.00544e7c
mov ecx, dword [ebp - 4]
mov edi, eax
push edi
push dword [ebp - 0xc]
push 0x36
pop eax
call fcn.0054a6fe
mov ecx, dword [ebp - 4]
push edi
push ebx
push dword [ebp - 0xc]
push 0x37
pop eax
call fcn.0054a669
mov ecx, dword [ebp - 4]
add esp, 0x14
mov dl, 8
call fcn.00543e9d
mov edx, edi
mov eax, esi
call fcn.00544e97
jmp 0x55074a
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.0054b4dd
cmp dword [ebp + 0x1c], 0
mov byte [edi], al
je 0x5506ac
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 0x1c]
push esi
call fcn.0054d3c1
add esp, 0x10
jmp case.0x5505ac.4
mov eax, esi
call fcn.00544e7c
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.0054eede
mov eax, dword [ebp + 8]
xor ecx, ecx
inc ecx
call fcn.00544e15
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp - 0xc]
push 0x46
pop eax
call fcn.0054a6fe
mov eax, dword [ebp + 8]
add esp, 0x20
jmp 0x55074c
push dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
push 1
push 7
pop eax
call fcn.0054a6fe
pop ecx
jmp 0x550718
cmp dword [ebp + 0x1c], 0
je 0x550708
push edi
jmp 0x550698
push dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
xor ebx, ebx
inc ebx
mov eax, esi
call fcn.0054ba78
pop ecx
jmp case.0x5505ac.4
cmp dword [ebp + 0x1c], 0
je 0x550755
mov eax, esi
call fcn.00544e7c
mov ecx, dword [ebp - 4]
mov ebx, eax
push ebx
push dword [ebp - 8]
push edi
push 0x1e
pop eax
call fcn.0054a669
push ebx
push dword [ebp + 0xc]
push dword [ebp + 0x1c]
push esi
call fcn.0054d3c1
add esp, 0x1c
mov eax, esi
mov edx, ebx
call fcn.00544e97
jmp case.0x5505ac.4
cmp ecx, 0xa
mov ecx, dword [ebp - 4]
jne 0x55076b
push dword [ebx + 4]
push 4
pop eax
call fcn.0054a6ed
pop ecx
jmp 0x55078c
push dword [ebp - 8]
push edi
push 0x10
pop eax
call fcn.0054a6fe
mov eax, dword [ebp + 8]
pop ecx
pop ecx
mov ecx, dword [ebp - 8]
mov esi, edi
call fcn.00544e15
cmp dword [ebp + 0x1c], 0
jne 0x5507aa
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x30]
test eax, eax
je 0x5507aa
mov ecx, dword [ebp - 4]
push 0xffffffffffffffff
push dword [ebp + 0x28]
push eax
push 0x73
pop eax
call fcn.0054a669
add esp, 0xc
pop edi
pop esi
pop ebx
leave
ret