Function at 0x40a260
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dc0d4
mov eax, dword fs:[0]
push eax
sub esp, 0x100
mov eax, dword [0x5246f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xf4], ecx
mov dword [ebp - 0xf0], 0
lea ecx, [ebp - 0x84]
call fcn.00402af0
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0xbc]
call fcn.00405d80
mov byte [ebp - 4], 1
lea eax, [ebp - 0xbc]
push eax
lea ecx, [ebp - 0xa0]
call fcn.00404c60
mov byte [ebp - 4], 2
push fcn.0045fe47
lea ecx, [ebp - 0xe0]
push ecx
lea ecx, [ebp - 0xa0]
call fcn.00402c00
mov edx, dword [eax]
push edx
lea eax, [ebp - 0xe4]
push eax
lea ecx, [ebp - 0xa0]
call fcn.00402c30
mov ecx, dword [eax]
push ecx
lea edx, [ebp - 0xe8]
push edx
lea ecx, [ebp - 0xa0]
call fcn.00402c00
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0xec]
push ecx
call fcn.004039c0
add esp, 0x14
push 0
push 0x50fb18
lea ecx, [ebp - 0xa0]
call fcn.00402c80
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0xffffffff
je 0x40a4cf
mov dword [ebp - 0xdc], 0
lea ecx, [ebp - 0xbc]
call fcn.004055b0
push eax
mov edx, dword [ebp - 0x68]
add edx, 3
push edx
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0xbc]
call fcn.00402cb0
mov byte [ebp - 4], 3
push 0
lea ecx, [ebp - 0xd8]
call fcn.00402c60
movzx ecx, word [eax]
cmp ecx, 0x22
jne 0x40a45c
lea ecx, [ebp - 0xbc]
call fcn.004055b0
push eax
mov edx, dword [ebp - 0x68]
add edx, 4
push edx
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0xbc]
call fcn.00402cb0
mov dword [ebp - 0xf8], eax
mov ecx, dword [ebp - 0xf8]
mov dword [ebp - 0xfc], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0xfc]
push edx
lea ecx, [ebp - 0xd8]
call fcn.00402bb0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
call fcn.00405540
push 0
push 0x50fb20
lea ecx, [ebp - 0xd8]
call fcn.00402c80
mov dword [ebp - 0xdc], eax
cmp dword [ebp - 0xdc], 0xffffffff
je 0x40a45a
mov eax, dword [ebp - 0xdc]
push eax
push 0
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0xd8]
call fcn.00402cb0
mov dword [ebp - 0x100], eax
mov edx, dword [ebp - 0x100]
mov dword [ebp - 0x104], edx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x104]
push eax
lea ecx, [ebp - 0x84]
call fcn.00402bb0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x48]
call fcn.00405540
jmp 0x40a4c0
push 0
push 0x50fb24
lea ecx, [ebp - 0xd8]
call fcn.00402c80
mov dword [ebp - 0xdc], eax
mov ecx, dword [ebp - 0xdc]
push ecx
push 0
lea edx, [ebp - 0x64]
push edx
lea ecx, [ebp - 0xd8]
call fcn.00402cb0
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x10c], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x10c]
push ecx
lea ecx, [ebp - 0x84]
call fcn.00402bb0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x64]
call fcn.00405540
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xd8]
call fcn.00405540
lea edx, [ebp - 0x84]
push edx
mov ecx, dword [ebp + 8]
call fcn.00402b20
mov eax, dword [ebp - 0xf0]
or eax, 1
mov dword [ebp - 0xf0], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa0]
call fcn.00405540
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xbc]
call fcn.00405540
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x84]
call fcn.00405540
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045f522
mov esp, ebp
pop ebp
ret 4