Function at 0x401270
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43f308
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x45281c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], 0
mov ecx, dword [ebp - 0x38]
call fcn.0040eac8
push 1
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 0x74]
push ecx
mov ecx, dword [ebp - 0x38]
call fcn.004042c0
push 0
mov edx, dword [ebp - 0x38]
mov eax, dword [edx + 0x74]
push eax
mov ecx, dword [ebp - 0x38]
call fcn.004042c0
lea ecx, [ebp - 0x10]
call fcn.004043d0
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x10]
call fcn.00404530
push 0x69
push 1
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00403a10
mov dword [ebp - 0x3c], eax
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x40], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x34]
or eax, 1
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x40]
push ecx
call fcn.00403c20
add esp, 8
movzx edx, al
test edx, edx
jne 0x401460
push 0x49
push 1
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x10]
call fcn.00403a10
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x48], ecx
mov dword [ebp - 4], 2
mov edx, dword [ebp - 0x34]
or edx, 2
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x48]
push eax
call fcn.00403c20
add esp, 8
movzx ecx, al
test ecx, ecx
jne 0x401460
push 0x442798
push 2
lea edx, [ebp - 0x20]
push edx
lea ecx, [ebp - 0x10]
call fcn.00403a10
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x50], eax
mov dword [ebp - 4], 3
mov ecx, dword [ebp - 0x34]
or ecx, 4
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x50]
push edx
call fcn.00403c00
add esp, 8
movzx eax, al
test eax, eax
jne 0x401460
push 0x4427a0
push 2
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00403a10
mov dword [ebp - 0x54], eax
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x58], edx
mov dword [ebp - 4], 4
mov eax, dword [ebp - 0x34]
or eax, 8
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x58]
push ecx
call fcn.00403c00
add esp, 8
movzx edx, al
test edx, edx
jne 0x401460
push 0x4427a8
push 2
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x10]
call fcn.00403a10
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x60], ecx
mov dword [ebp - 4], 5
mov edx, dword [ebp - 0x34]
or edx, 0x10
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x60]
push eax
call fcn.00403c00
add esp, 8
movzx ecx, al
test ecx, ecx
jne 0x401460
push 0x4427b0
push 2
lea edx, [ebp - 0x2c]
push edx
lea ecx, [ebp - 0x10]
call fcn.00403a10
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x34]
or eax, 0x20
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.00403c00
add esp, 8
movzx edx, al
test edx, edx
jne 0x401460
mov dword [ebp - 0x68], 0
jmp 0x401467
mov dword [ebp - 0x68], 1
mov al, byte [ebp - 0x68]
mov byte [ebp - 0x11], al
mov ecx, dword [ebp - 0x34]
and ecx, 0x20
je 0x401481
and dword [ebp - 0x34], 0xffffffdf
lea ecx, [ebp - 0x2c]
call fcn.00404510
mov dword [ebp - 4], 4
mov edx, dword [ebp - 0x34]
and edx, 0x10
je 0x40149c
and dword [ebp - 0x34], 0xffffffef
lea ecx, [ebp - 0x28]
call fcn.00404510
mov dword [ebp - 4], 3
mov eax, dword [ebp - 0x34]
and eax, 8
je 0x4014b7
and dword [ebp - 0x34], 0xfffffff7
lea ecx, [ebp - 0x24]
call fcn.00404510
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x34]
and ecx, 4
je 0x4014d2
and dword [ebp - 0x34], 0xfffffffb
lea ecx, [ebp - 0x20]
call fcn.00404510
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x34]
and edx, 2
je 0x4014ed
and dword [ebp - 0x34], 0xfffffffd
lea ecx, [ebp - 0x1c]
call fcn.00404510
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x34]
and eax, 1
je 0x401508
and dword [ebp - 0x34], 0xfffffffe
lea ecx, [ebp - 0x18]
call fcn.00404510
movzx ecx, byte [ebp - 0x11]
test ecx, ecx
je 0x40151c
mov edx, dword [ebp - 0x38]
mov dword [edx + 0x78], 1
jmp 0x401526
mov eax, dword [ebp - 0x38]
mov dword [eax + 0x78], 0
mov dword [ebp - 0x30], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00404510
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret