Function at 0x4a90c8
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 0x4a93d7
xor ecx, ecx
cmp dword [ebp + 0x20], eax
setge cl
mov dword [ebp - 0x1c], ecx
cmp dword [ebp + 0x1c], eax
jne 0x4a9112
cmp ecx, eax
jne 0x4a9112
push dword [ebp + 0x24]
mov eax, dword [ebp + 0xc]
call fcn.004a6101
pop ecx
mov eax, dword [ebp + 0x18]
test eax, eax
jle 0x4a911e
mov dword [ebp - 8], eax
jmp 0x4a9126
mov ecx, dword [ebp + 0x10]
mov ecx, dword [ecx]
mov dword [ebp - 8], ecx
cmp dword [ebx + 8], 0
jne 0x4a913c
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 0x4a9174
and dword [ebp - 0x14], 0
test eax, eax
jle 0x4a9198
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.004a3296
add esp, 0xc
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 0x18]
jl 0x4a914e
jmp 0x4a9198
cmp dword [ebp - 0x18], 3
je 0x4a9198
mov eax, esi
call fcn.0049da24
xor eax, eax
cmp dword [ebp - 0x18], 5
mov ecx, edi
sete al
push eax
mov eax, dword [ebp + 0x10]
push esi
call fcn.004a481f
pop ecx
pop ecx
cmp dword [ebp - 0x1c], 0
je 0x4a91ca
push edi
push dword [ebp - 8]
mov edi, esi
push dword [ebp + 0x24]
push dword [ebp + 0x20]
call fcn.004a9074
add esp, 0x10
cmp dword [ebp + 0x1c], 0
jne 0x4a91c7
push dword [ebp + 0x24]
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp - 4]
call fcn.004a6101
pop ecx
mov edi, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
lea eax, [ecx - 1]
cmp eax, 9
ja case.0x4a91d9.4
jmp dword [eax*4 + 0x4a93dc]
mov eax, esi
call fcn.0049daa9
mov ecx, dword [ebp - 4]
mov ebx, eax
push ebx
push dword [ebp - 8]
push edi
push 0x1e
pop eax
call fcn.004a3296
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp - 0xc]
push 0x46
pop eax
call fcn.004a332b
add esp, 0x14
jmp 0x4a9377
push dword [ebp - 8]
mov ecx, dword [ebp - 4]
push edi
push dword [ebp - 0xc]
push 0x47
pop eax
call fcn.004a3296
add esp, 0xc
jmp case.0x4a91d9.4
mov eax, esi
call fcn.0049daa9
mov ecx, dword [ebp - 4]
mov ebx, eax
push ebx
push dword [ebp - 8]
push edi
push 0x1e
pop eax
call fcn.004a3296
add esp, 0xc
cmp dword [ebp + 0x1c], 0
je 0x4a9261
push ebx
push dword [ebp + 0xc]
push dword [ebp + 0x1c]
push esi
call fcn.004a5fee
add esp, 0x10
jmp 0x4a9377
mov eax, esi
call fcn.0049daa9
mov ecx, dword [ebp - 4]
mov edi, eax
push edi
push dword [ebp - 0xc]
push 0x36
pop eax
call fcn.004a332b
mov ecx, dword [ebp - 4]
push edi
push ebx
push dword [ebp - 0xc]
push 0x37
pop eax
call fcn.004a3296
mov ecx, dword [ebp - 4]
add esp, 0x14
mov dl, 8
call fcn.0049cac8
mov edx, edi
mov eax, esi
call fcn.0049dac4
jmp 0x4a9377
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.004a410a
cmp dword [ebp + 0x1c], 0
mov byte [edi], al
je 0x4a92d9
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 0x1c]
push esi
call fcn.004a5fee
add esp, 0x10
jmp case.0x4a91d9.4
mov eax, esi
call fcn.0049daa9
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.004a7b0b
mov eax, dword [ebp + 8]
xor ecx, ecx
inc ecx
call fcn.0049da42
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp - 0xc]
push 0x46
pop eax
call fcn.004a332b
mov eax, dword [ebp + 8]
add esp, 0x20
jmp 0x4a9379
push dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
push 1
push 7
pop eax
call fcn.004a332b
pop ecx
jmp 0x4a9345
cmp dword [ebp + 0x1c], 0
je 0x4a9335
push edi
jmp 0x4a92c5
push dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
xor ebx, ebx
inc ebx
mov eax, esi
call fcn.004a46a5
pop ecx
jmp case.0x4a91d9.4
cmp dword [ebp + 0x1c], 0
je 0x4a9382
mov eax, esi
call fcn.0049daa9
mov ecx, dword [ebp - 4]
mov ebx, eax
push ebx
push dword [ebp - 8]
push edi
push 0x1e
pop eax
call fcn.004a3296
push ebx
push dword [ebp + 0xc]
push dword [ebp + 0x1c]
push esi
call fcn.004a5fee
add esp, 0x1c
mov eax, esi
mov edx, ebx
call fcn.0049dac4
jmp case.0x4a91d9.4
cmp ecx, 0xa
mov ecx, dword [ebp - 4]
jne 0x4a9398
push dword [ebx + 4]
push 4
pop eax
call fcn.004a331a
pop ecx
jmp 0x4a93b9
push dword [ebp - 8]
push edi
push 0x10
pop eax
call fcn.004a332b
mov eax, dword [ebp + 8]
pop ecx
pop ecx
mov ecx, dword [ebp - 8]
mov esi, edi
call fcn.0049da42
cmp dword [ebp + 0x1c], 0
jne 0x4a93d7
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x30]
test eax, eax
je 0x4a93d7
mov ecx, dword [ebp - 4]
push 0xffffffffffffffff
push dword [ebp + 0x28]
push eax
push 0x73
pop eax
call fcn.004a3296
add esp, 0xc
pop edi
pop esi
pop ebx
leave
ret