Function at 0x4017c0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x80c], 0
jne 0x4017f1
push str.CommandlineLib_is_not_initialized___3__r_n
call fcn.00407f00
add esp, 4
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
int3
mov ecx, esi
call fcn.00401b00
mov ebx, dword ds:[esi]
mov dword [ebp - 0xc], ebx
test ebx, ebx
je 0x401aeb
xor edi, edi
xor al, al
mov byte [ebp - 1], al
mov dword [ebp - 8], edi
cmp word [ebx], di
je 0x401aeb
nop dword [eax + eax]
test al, al
je 0x401905
cmp word [ebx], 0x22
jne 0x401a19
cmp byte [esi + 0x80c], 0
jne 0x401858
push str.CommandlineLib_is_not_initialized___2__r_n
call fcn.00407f00
add esp, 4
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
int3
nop dword [eax + eax]
test edi, edi
je 0x4018f6
push ebx
push edi
call fcn.0042251d
add esp, 8
test eax, eax
je 0x4018f6
cmp dword [esi + 8], 0x100
jge 0x4018f6
mov eax, ebx
sub eax, edi
sar eax, 1
add eax, 1
mov dword [ebp - 0x10], eax
je 0x4018f6
cmp eax, 1
je 0x4018f6
mov ecx, 2
mul ecx
mov ebx, eax
mov eax, 0xffffffff
cmovb ebx, eax
push ebx
call fcn.0041b33f
add esp, 4
mov edi, eax
push ebx
push 0
push edi
call fcn.0041f350
mov ecx, dword [esi + 8]
add esp, 0xc
push dword [ebp - 8]
mov dword [esi + ecx*4 + 0xc], edi
mov eax, dword [esi + 8]
mov edi, dword [ebp - 0x10]
push 0x44a9fc
push 0xffffffffffffffff
push edi
push dword [esi + eax*4 + 0xc]
call fcn.00401640
mov ebx, dword [ebp - 0xc]
add esp, 0x14
test eax, eax
je 0x4018f6
mov eax, dword [esi + 8]
mov dword [esi + eax*4 + 0x40c], edi
inc dword [esi + 8]
xor edi, edi
xor al, al
mov dword [ebp - 8], edi
mov byte [ebp - 1], al
jmp 0x401a19
movzx eax, word [ebx]
test edi, edi
jne 0x401945
cmp eax, 0x22
jne 0x401925
mov al, 1
lea edi, [ebx + 2]
mov byte [ebp - 1], al
mov dword [ebp - 8], edi
jmp 0x401a19
push eax
call fcn.0042265b
add esp, 4
test eax, eax
mov al, byte [ebp - 1]
jne 0x401a19
mov edi, ebx
mov dword [ebp - 8], edi
jmp 0x401a19
push eax
call fcn.0042265b
add esp, 4
test eax, eax
je 0x401a16
cmp byte [esi + 0x80c], 0
jne 0x40197c
push str.CommandlineLib_is_not_initialized___2__r_n
call fcn.00407f00
add esp, 4
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
int3
push ebx
push edi
call fcn.0042251d
add esp, 8
test eax, eax
je 0x401a11
cmp dword [esi + 8], 0x100
jge 0x401a11
mov eax, ebx
sub eax, edi
sar eax, 1
add eax, 1
mov dword [ebp - 0x10], eax
je 0x401a11
cmp eax, 1
je 0x401a11
mov ecx, 2
mul ecx
mov ebx, eax
mov eax, 0xffffffff
cmovb ebx, eax
push ebx
call fcn.0041b33f
add esp, 4
mov edi, eax
push ebx
push 0
push edi
call fcn.0041f350
mov ecx, dword [esi + 8]
add esp, 0xc
push dword [ebp - 8]
mov dword [esi + ecx*4 + 0xc], edi
mov eax, dword [esi + 8]
mov edi, dword [ebp - 0x10]
push 0x44a9fc
push 0xffffffffffffffff
push edi
push dword [esi + eax*4 + 0xc]
call fcn.00401640
mov ebx, dword ds:[ebp - 0xc]
add esp, 0x14
test eax, eax
je 0x401a11
mov eax, dword [esi + 8]
mov dword [esi + eax*4 + 0x40c], edi
inc dword [esi + 8]
xor edi, edi
mov dword [ebp - 8], edi
mov al, byte [ebp - 1]
add ebx, 2
mov dword [ebp - 0xc], ebx
cmp word [ebx], 0
jne 0x401820
test edi, edi
je 0x401aeb
cmp byte [esi + 0x80c], 0
jne 0x401a58
push str.CommandlineLib_is_not_initialized___2__r_n
nop
call fcn.00407f00
add esp, 4
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
int3
push ebx
push edi
call fcn.0042251d
add esp, 8
test eax, eax
je 0x401aeb
cmp dword [esi + 8], 0x100
jge 0x401aeb
sub ebx, edi
sar ebx, 1
add ebx, 1
mov dword [ebp - 0xc], ebx
je 0x401aeb
cmp ebx, 1
je 0x401aeb
mov eax, ebx
mov ecx, 2
mul ecx
mov ebx, eax
mov eax, 0xffffffff
cmovb ebx, eax
push ebx
call fcn.0041b33f
add esp, 4
mov edi, eax
push ebx
push 0
push edi
call fcn.0041f350
mov ecx, dword [esi + 8]
add esp, 0xc
push dword [ebp - 8]
mov dword [esi + ecx*4 + 0xc], edi
mov eax, dword [esi + 8]
mov edi, dword [ebp - 0xc]
push 0x44a9fc
push 0xffffffffffffffff
push edi
push dword [esi + eax*4 + 0xc]
call fcn.00401640
add esp, 0x14
test eax, eax
je 0x401aeb
mov eax, dword [esi + 8]
mov dword [esi + eax*4 + 0x40c], edi
inc dword [esi + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret