Function at 0x4201e0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
push ebx
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x420659
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
xor edx, edx
mov dword [eax], edx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
jmp 0x420256
mov eax, dword [0x436a44]
cmp byte [eax], 0
je 0x420246
mov eax, dword [ebp - 0x14]
mov ax, word [eax]
cmp ax, word [ebp + 8]
je 0x42025f
mov eax, dword [ebp - 0x14]
cmp word [eax], 0x3a
jne 0x420252
mov eax, dword [ebp - 0x14]
mov ax, word [eax + 2]
cmp ax, word [ebp + 8]
jne 0x42025f
jmp 0x420252
mov eax, dword [ebp - 0x14]
mov ax, word [eax]
cmp ax, word [ebp + 8]
je 0x42025f
add dword [ebp - 0x14], 2
mov eax, dword [ebp - 0x14]
cmp word [eax], 0
jne 0x420218
mov eax, dword [ebp - 0x14]
cmp word [eax], 0
je 0x420279
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 8]
sar eax, 1
jns 0x420275
adc eax, 0
test eax, eax
jne 0x420283
xor eax, eax
mov dword [ebp - 0x10], eax
jmp 0x42063e
mov eax, dword [ebp - 0x14]
mov ax, word [eax]
mov word [ebp - 0x26], ax
mov eax, dword [ebp - 0x14]
mov word [eax], 0
mov eax, dword [ebp - 8]
call fcn.00419fec
mov edx, dword [ebp - 0xc]
mov dword [edx], eax
mov ax, word [ebp - 0x26]
cmp ax, word [ebp + 8]
jne 0x4202b1
mov eax, dword [ebp - 0xc]
inc dword [eax]
mov eax, dword [ebp - 8]
call fcn.00420fe8
mov dword [ebp - 0x18], eax
mov eax, dword [0x436a44]
cmp byte [eax], 0
je 0x420322
cmp dword [ebp - 0x18], 0
jne 0x420322
mov edx, 0x42066c
mov eax, dword [ebp - 8]
call fcn.00414c2c
test eax, eax
jne 0x420309
mov dword [ebp - 0x18], 0x44b044
mov eax, dword [0x436c54]
mov eax, dword [eax]
mov dword [ebp - 0x48], eax
mov byte [ebp - 0x44], 0
lea eax, [ebp - 0x48]
push eax
push 0
mov ecx, 0x420684
xor edx, edx
mov eax, dword [ebp - 0x18]
call fcn.0041a0ec
jmp 0x420322
mov edx, 0x42068c
mov eax, dword [ebp - 8]
call fcn.00414c2c
test eax, eax
jne 0x420322
call sub.kernel32.dll_GetCommandLineW_1
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dx, word [ebp - 0x26]
mov word [eax], dx
mov ax, word [ebp - 0x26]
cmp ax, word [ebp + 8]
je 0x42033d
cmp word [ebp - 0x26], 0x3a
jne 0x420341
add dword [ebp - 0x14], 2
mov eax, dword [0x436a44]
cmp byte [eax], 0
je 0x420638
cmp word [ebp - 0x26], 0x3a
jne 0x420638
cmp dword [ebp - 0x18], 0
je 0x420638
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
cmp word [eax], 0x7e
jne 0x420464
add dword [ebp - 0x14], 2
push 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.msvcrt.dll_wcstol
add esp, 0xc
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jge 0x4203a1
mov eax, dword [ebp - 0x18]
call fcn.00419fec
add dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jge 0x4203ac
xor eax, eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x14]
cmp word [eax], 0x2c
jne 0x420411
add dword [ebp - 0x14], 2
push 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.msvcrt.dll_wcstol
add esp, 0xc
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jge 0x4203e5
mov eax, dword [ebp - 0x18]
call fcn.00419fec
add eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jge 0x4203f0
xor eax, eax
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x2c]
add edx, edx
add edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x18]
call fcn.00419e80
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x30]
mov word [eax + edx*2], 0
jmp 0x420421
mov edx, dword [ebp - 0x2c]
add edx, edx
add edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
call fcn.0041a014
mov eax, dword [ebp - 0x14]
mov ax, word [eax]
cmp ax, word [ebp + 8]
jne 0x42061e
add dword [ebp - 0x14], 2
jmp 0x42061e
lea eax, [ebp - 0x4c]
mov edx, dword [ebp - 0x14]
call fcn.0040719c
mov eax, dword [ebp - 0x4c]
push eax
lea eax, [ebp - 0x50]
mov dx, word [ebp + 8]
call fcn.0040715c
mov edx, dword [ebp - 0x50]
pop eax
call fcn.00407440
je 0x420476
add dword [ebp - 0x14], 2
mov eax, dword [ebp - 0x14]
cmp word [eax], 0
je 0x420476
mov eax, dword [ebp - 0x14]
cmp word [eax], 0x3d
jne 0x42043a
mov eax, dword [ebp - 0x14]
cmp word [eax], 0x3d
jne 0x4205d2
mov eax, dword [ebp - 0x14]
mov word [eax], 0
add dword [ebp - 0x14], 2
mov eax, dword [ebp - 0x20]
call fcn.00419fec
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
jmp 0x4204a6
add dword [ebp - 0x14], 2
mov eax, dword [ebp - 0x14]
cmp word [eax], 0
je 0x4204bb
mov eax, dword [ebp - 0x14]
mov ax, word [eax]
cmp ax, word [ebp + 8]
jne 0x4204a2
mov eax, dword [ebp - 0x14]
cmp word [eax], 0
je 0x4205c4
mov eax, dword [ebp - 0x14]
mov word [eax], 0
mov eax, dword [ebp - 0x24]
call fcn.00419fec
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x20]
cmp word [eax], 0x2a
jne 0x4204fd
mov dword [ebp - 0x40], 1
add dword [ebp - 0x20], 2
dec dword [ebp - 0x34]
jmp 0x4205a9
xor eax, eax
mov dword [ebp - 0x40], eax
jmp 0x4205a9
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
call fcn.00414cd4
test eax, eax
jne 0x4205a5
cmp dword [ebp - 0x40], 0
je 0x420539
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x18]
sar eax, 1
jns 0x420530
adc eax, 0
add dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jge 0x420569
mov eax, dword [ebp - 0x1c]
call fcn.00419fec
inc eax
mov ecx, eax
add ecx, ecx
mov eax, dword [ebp - 0x3c]
add eax, eax
mov edx, dword [ebp - 0x1c]
sub edx, eax
mov eax, dword [ebp - 0x1c]
call fcn.004040d0
jmp 0x42057f
cmp dword [ebp - 0x3c], 0
jle 0x42057f
mov edx, dword [ebp - 0x3c]
add edx, edx
add edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
call fcn.0041a014
mov ecx, dword [ebp - 0x38]
add ecx, ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x24]
call fcn.004040d0
cmp dword [ebp - 0x40], 0
je 0x42059b
sub dword [ebp - 0x20], 2
jmp 0x4205b6
mov eax, dword [ebp - 0x38]
add eax, eax
add dword [ebp - 0x1c], eax
jmp 0x4205a9
add dword [ebp - 0x1c], 2
mov eax, dword [ebp - 0x1c]
cmp word [eax], 0
jne 0x420507
mov eax, dword [ebp - 0x14]
mov dx, word [ebp + 8]
mov word [eax], dx
add dword [ebp - 0x14], 2
sub dword [ebp - 0x24], 2
mov eax, dword [ebp - 0x24]
mov word [eax], 0x3d
jmp 0x42061e
mov eax, dword [ebp - 0x14]
cmp word [eax], 0
je 0x42061e
cmp dword [ebp - 4], 0
je 0x420617
push 0
lea edx, [ebp - 0x54]
mov eax, dword [0x43696c]
call fcn.00409578
mov eax, dword [ebp - 0x54]
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x48], edx
mov byte [ebp - 0x44], 0xa
lea ecx, [ebp - 0x48]
mov edx, 1
call fcn.0042a3c8
mov eax, dword [ebp - 4]
or edx, 0xffffffff
call fcn.0040a308
jmp 0x42061e
xor eax, eax
mov dword [ebp - 0x10], eax
jmp 0x42063e
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
add eax, eax
add eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x20]
sar eax, 1
jns 0x420632
adc eax, 0
inc eax
mov edx, dword [ebp - 0xc]
mov dword [edx], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x420660
lea eax, [ebp - 0x54]
mov edx, 3
call fcn.00406a7c
ret