Function at 0x40a590
Capabilities:
Accept command line arguments

Disassembly:
push 0xffffffffffffffff
push 0x428338
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
mov eax, dword [0x43416c]
push ebx
push esi
lea esi, [ecx + 0x50]
mov dword [esp + 0x64], eax
mov eax, dword [esi + 4]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 8], esi
je 0x40a5df
mov edx, dword [esp + 8]
mov ecx, dword [esi + 8]
push edx
push esi
push ecx
push eax
call fcn.00408600
mov eax, dword [esi + 4]
push eax
call fcn.004043d0
add esp, 0x14
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
cmp eax, ebx
je 0x40a84e
cmp byte [eax], bl
je 0x40a84e
mov ecx, eax
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
cmp dl, bl
jne 0x40a613
push edi
sub ecx, esi
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.00401930
mov edx, dword [esp + 0x2c]
cmp edx, 0x10
mov edi, dword [esp + 0x18]
mov dword [esp + 0x74], ebx
mov esi, edi
jae 0x40a63f
lea esi, [esp + 0x18]
push ebp
cmp edx, 0x10
mov eax, edi
jae 0x40a64b
lea eax, [esp + 0x1c]
mov ecx, dword [esp + 0x2c]
add eax, ecx
cmp esi, eax
je 0x40a83e
mov al, byte [esi]
cmp al, bl
je 0x40a83e
cmp al, 0x22
jne 0x40a757
inc esi
mov ebp, esi
mov edi, edi
cmp edx, 0x10
mov eax, edi
jae 0x40a67b
lea eax, [esp + 0x1c]
add eax, ecx
cmp esi, eax
je 0x40a6a8
cmp byte [esi], 0x22
jne 0x40a6a5
mov eax, dword [esp + 0x1c]
mov edi, esi
inc esi
cmp edx, 0x10
jae 0x40a696
lea eax, [esp + 0x1c]
add eax, ecx
cmp esi, eax
je 0x40a6ae
cmp byte [esi], 0x20
je 0x40a6ad
mov edi, dword [esp + 0x1c]
inc esi
jmp 0x40a670
dec ebp
mov edi, esi
jmp 0x40a6ae
inc esi
mov dword [esp + 0x4c], 0xf
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
lea eax, [esp + 0x38]
push eax
mov ecx, eax
push ecx
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x40]
mov byte [esp + 0x84], 1
call fcn.00404670
mov edx, dword [esp + 0x4c]
cmp edx, 0x10
mov ecx, dword [esp + 0x38]
mov eax, ecx
jae 0x40a6ef
lea eax, [esp + 0x38]
mov ebx, dword [esp + 0x48]
add eax, ebx
cmp edx, 0x10
jae 0x40a6fe
lea ecx, [esp + 0x38]
mov edx, dword [esp + 0x14]
push edx
push edi
push ebp
push eax
push ecx
lea ecx, [esp + 0x48]
call fcn.004086f0
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x34]
push eax
call fcn.0040a430
mov eax, dword [esp + 0x4c]
xor ebx, ebx
cmp eax, 0x10
mov byte [esp + 0x78], bl
jb 0x40a73a
mov ecx, dword [esp + 0x38]
push ecx
call fcn.004043d0
add esp, 4
mov edx, dword [esp + 0x30]
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x4c], 0xf
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
jmp 0x40a640
mov ebp, esi
lea esp, [esp]
cmp edx, 0x10
mov eax, edi
jae 0x40a76b
lea eax, [esp + 0x1c]
add eax, ecx
cmp esi, eax
je 0x40a78a
cmp edx, 0x10
mov eax, edi
jae 0x40a77c
lea eax, [esp + 0x1c]
add eax, ecx
cmp esi, eax
je 0x40a78a
cmp byte [esi], 0x20
je 0x40a78a
inc esi
jmp 0x40a760
cmp edx, 0x10
mov eax, dword [esp + 0x1c]
mov edi, esi
jae 0x40a799
lea eax, [esp + 0x1c]
add eax, ecx
cmp esi, eax
je 0x40a7a0
inc esi
mov dword [esp + 0x68], 0xf
mov dword [esp + 0x64], ebx
mov byte [esp + 0x54], bl
push ebx
push ebx
lea ecx, [esp + 0x58]
mov byte [esp + 0x80], 2
call fcn.004011f0
mov edx, dword [esp + 0x68]
cmp edx, 0x10
mov ecx, dword [esp + 0x54]
mov eax, ecx
jae 0x40a7d6
lea eax, [esp + 0x54]
mov ebx, dword [esp + 0x64]
add eax, ebx
cmp edx, 0x10
jae 0x40a7e5
lea ecx, [esp + 0x54]
mov edx, dword [esp + 0x14]
push edx
push edi
push ebp
push eax
push ecx
lea ecx, [esp + 0x64]
call fcn.004086f0
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x50]
push eax
call fcn.0040a430
mov eax, dword [esp + 0x68]
xor ebx, ebx
cmp eax, 0x10
mov byte [esp + 0x78], bl
jb 0x40a821
mov ecx, dword [esp + 0x54]
push ecx
call fcn.004043d0
add esp, 4
mov edx, dword [esp + 0x30]
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x68], 0xf
mov dword [esp + 0x64], ebx
mov byte [esp + 0x54], bl
jmp 0x40a640
cmp edx, 0x10
pop ebp
jb 0x40a84d
push edi
call fcn.004043d0
add esp, 4
pop edi
mov ecx, dword [esp + 0x68]
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x60]
pop ebx
call fcn.0041def4
add esp, 0x6c
ret