Function at 0x4017b8
Capabilities:
Terminate process

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
push edi
or ebx, 0xffffffff
push 0x4254f8
mov dword [esp + 0x24], ebx
call fcn.0040e884
mov esi, eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x20], esi
mov eax, dword [eax]
mov dword [esp + 0x14], eax
lea ecx, [eax*4 + 4]
push ecx
call fcn.00401127
mov edx, eax
xor ebp, ebp
mov eax, dword [esp + 0x34]
xor edi, edi
pop ecx
pop ecx
inc ebp
mov dword [esp + 0x18], edx
mov ecx, dword [eax]
inc edi
mov dword [esp + 0x14], ebp
mov ecx, dword [ecx]
mov dword [edx], ecx
cmp dword [esp + 0x10], ebp
jle 0x40194b
mov ecx, dword [esp + 0x10]
cmp byte [0x4319b8], 0
mov eax, dword [eax]
mov ebp, dword [eax + ebp*4]
je 0x401837
cmp byte [ebp], 0x2d
je 0x40186b
mov dword [edx + edi*4], ebp
mov ebp, dword [esp + 0x14]
jmp 0x401908
push 0x42550c
push ebp
call fcn.00413d40
pop ecx
pop ecx
test eax, eax
je 0x4018e7
push 0x425518
push ebp
call fcn.00413d40
pop ecx
pop ecx
test eax, eax
je 0x4018e7
cmp byte [ebp], 0x2d
jne 0x40191b
push ebp
call fcn.004023c0
pop ecx
test eax, eax
js 0x40188c
mov ecx, dword [0x4319dc]
mov ebx, eax
add eax, eax
mov esi, dword [ecx + eax*8]
mov eax, dword [esp + 0x28]
inc esi
dec dword [eax]
jmp 0x4018d1
push 0x42551c
push ebp
call fcn.0040119c
pop ecx
pop ecx
test eax, eax
je 0x4018bf
push 0x425528
push ebp
call fcn.0040119c
pop ecx
pop ecx
test eax, eax
je 0x4018bf
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov dword [edx + edi*4], ebp
mov ebp, dword [esp + 0x14]
jmp 0x401908
cmp byte [ebp + 1], 0x58
push 0xc
pop esi
push 0xa
pop eax
cmove esi, eax
add esi, ebp
or ebx, 0xffffffff
mov ebp, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], esi
jmp 0x401909
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov dword [edx + edi*4], ebp
inc edi
mov ebp, dword [esp + 0x14]
inc ebp
cmp ebp, ecx
jge 0x401909
mov eax, dword [esp + 0x2c]
mov eax, dword [eax]
mov eax, dword [eax + ebp*4]
mov dword [edx + edi*4], eax
inc edi
inc ebp
mov dword [esp + 0x14], ebp
cmp ebp, ecx
jge 0x40191f
mov eax, dword [esp + 0x2c]
jmp 0x401817
mov ebp, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
cmp ebp, dword [esp + 0x10]
jge 0x401947
mov ebx, dword [esp + 0x10]
mov esi, dword [esp + 0x2c]
mov eax, dword [esi]
mov eax, dword [eax + ebp*4]
mov dword [edx + edi*4], eax
inc edi
inc ebp
cmp ebp, ebx
jl 0x401931
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x2c]
xor ebp, ebp
mov dword [edx + edi*4], ebp
mov dword [eax], edx
mov eax, dword [esp + 0x28]
mov dword [eax], edi
test esi, esi
jne 0x40198e
mov eax, dword [0x4319dc]
mov esi, dword [eax]
inc esi
cmp dword [eax + 4], 4
jne 0x40197c
call fcn.00406090
cmp al, 1
jne 0x40197c
mov eax, dword [0x4319dc]
mov esi, dword [eax + 0xc]
inc esi
push esi
push 0x425538
call fcn.004011d9
pop ecx
pop ecx
jmp 0x401a4f
test ebx, ebx
js 0x401a4f
mov eax, dword [0x4319dc]
mov ecx, ebx
xor edi, edi
add ecx, ecx
inc edi
jmp 0x4019d3
mov eax, dword [0x4319dc]
mov ecx, ebx
add ecx, ecx
push dword [eax + ecx*8 + 8]
call fcn.004023c0
pop ecx
mov ecx, eax
cmp ebp, dword [0x4319e0]
jg 0x401a00
test ecx, ecx
js 0x4019f7
mov eax, dword [0x4319dc]
mov ebx, ecx
add ecx, ecx
mov esi, dword [eax + ecx*8]
inc esi
inc ebp
cmp dword [eax + ecx*8 + 4], edi
je 0x4019a4
mov eax, dword [0x4319dc]
add ebx, ebx
mov eax, dword [eax + ebx*8 + 4]
dec eax
sub eax, 1
je 0x401a29
sub eax, 1
je 0x401a13
dec eax
sub eax, 1
je 0x401a47
jmp 0x401a4f
cmp byte [esp + 0x30], 0
je 0x401a59
jmp 0x401a22
cmp byte [esp + 0x30], 0
jne 0x401a22
push 0x425548
call fcn.00405aa8
jmp 0x401a6f
cmp byte [esp + 0x30], 0
jne 0x401a22
push esi
push 0x4255e0
jmp 0x401a69
mov eax, 0x42557c
jmp 0x401a51
cmp byte [esp + 0x30], 0
jne 0x401a47
mov eax, dword [0x4319dc]
mov eax, dword [eax]
inc eax
push eax
push esi
push 0x4255ac
call fcn.00405aa8
add esp, 0xc
mov eax, dword [0x4319dc]
mov esi, dword [eax]
inc esi
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
mov eax, dword [0x4319dc]
add ebx, ebx
push dword [eax + ebx*8 + 8]
push 0x425584
call fcn.00405aa8
pop ecx
pop ecx
push edi
call fcn.0040ed64
int3