Function at 0x4026c0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x42e294]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 4], 1
mov eax, dword [ebp + 8]
mov dword [eax + 8], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], 0
mov edx, dword [ebp + 8]
mov byte [edx + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [ebp - 0x410], eax
push 0x400
push 0
lea eax, [ebp - 0x408]
push eax
call fcn.00412a10
add esp, 0xc
cmp dword [ebp - 0x410], 0
je 0x402736
mov ecx, dword [ebp - 0x410]
push ecx
lea edx, [ebp - 0x408]
push edx
call fcn.00412720
add esp, 8
lea eax, [ebp - 0x408]
mov dword [ebp - 0x40c], eax
mov ecx, dword [ebp - 0x40c]
push ecx
call fcn.004256c7
add esp, 4
push 0x4276cc
mov edx, dword [ebp - 0x40c]
push edx
call fcn.00402d40
add esp, 8
test eax, eax
jne 0x4027a8
push 0x4276d4
mov eax, dword [ebp - 0x40c]
push eax
call fcn.00402d40
add esp, 8
test eax, eax
je 0x40278a
mov dword [ebp - 4], 0
jmp 0x4027a8
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], 0
mov edx, dword [ebp + 8]
mov dword [edx + 4], 0
mov eax, 1
jmp 0x402b1d
cmp dword [ebp - 4], 0
jne 0x402946
push 0x4276d8
mov eax, dword [ebp - 0x410]
push eax
call fcn.004025c0
add esp, 8
mov dword [ebp - 0x414], eax
cmp dword [ebp - 0x414], 0
jne 0x4027f3
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], 0
mov edx, dword [ebp + 8]
mov dword [edx + 4], 0
mov eax, 1
jmp 0x402b1d
mov eax, dword [ebp + 8]
mov dword [eax + 8], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], 0
mov edx, dword [ebp + 8]
mov byte [edx + 0xc], 0
cmp dword [ebp - 0x414], 0
je 0x402937
push 0x20
mov eax, dword [ebp - 0x414]
push eax
call fcn.00402630
add esp, 8
mov dword [ebp - 0x414], eax
push 0x20
mov ecx, dword [ebp - 0x414]
push ecx
call fcn.00402d20
add esp, 8
mov dword [ebp - 0x418], eax
mov edx, dword [ebp - 0x418]
mov byte [edx], 0
push 0x4276dc
mov eax, dword [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x4028b6
mov ecx, dword [ebp - 0x418]
mov byte [ecx], 0x20
push 0x20
mov edx, dword [ebp - 0x414]
push edx
call fcn.00402d20
add esp, 8
mov dword [ebp - 0x414], eax
push 0x20
mov eax, dword [ebp - 0x414]
push eax
call fcn.00402630
add esp, 8
mov dword [ebp - 0x414], eax
mov ecx, dword [ebp - 0x414]
push ecx
call fcn.00412bc1
add esp, 4
mov edx, dword [ebp + 8]
mov dword [edx + 4], eax
jmp 0x402918
push 0x4276e0
mov eax, dword [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x402918
mov ecx, dword [ebp - 0x418]
mov byte [ecx], 0x20
push 0x20
mov edx, dword [ebp - 0x414]
push edx
call fcn.00402d20
add esp, 8
mov dword [ebp - 0x414], eax
push 0x20
mov eax, dword [ebp - 0x414]
push eax
call fcn.00402630
add esp, 8
mov dword [ebp - 0x414], eax
mov ecx, dword [ebp - 0x414]
push ecx
call fcn.00412bc1
add esp, 4
mov edx, dword [ebp + 8]
mov dword [edx + 8], eax
push 0x4276e4
mov eax, dword [ebp - 0x414]
push eax
call fcn.004025c0
add esp, 8
mov dword [ebp - 0x414], eax
jmp 0x40280e
mov eax, 1
jmp 0x402b1d
cmp dword [ebp - 4], 1
jne 0x402b1b
push str._dev
mov ecx, dword [ebp - 0x410]
push ecx
call fcn.00402d40
add esp, 8
mov dword [ebp - 0x41c], eax
cmp dword [ebp - 0x41c], 0
jne 0x40297d
mov eax, 1
jmp 0x402b1d
mov edx, dword [ebp - 0x41c]
add edx, 4
mov dword [ebp - 0x41c], edx
push 0x20
mov eax, dword [ebp - 0x41c]
push eax
call fcn.00402630
add esp, 8
mov dword [ebp - 0x41c], eax
cmp dword [ebp - 0x41c], 0
je 0x402b17
mov ecx, dword [ebp - 0x41c]
movsx edx, byte [ecx]
cmp edx, 0x2d
jne 0x402a09
mov eax, dword [ebp - 0x41c]
add eax, 4
mov dword [ebp - 0x41c], eax
push 0x20
mov ecx, dword [ebp - 0x41c]
push ecx
call fcn.00402630
add esp, 8
mov dword [ebp - 0x41c], eax
mov edx, dword [ebp - 0x41c]
push edx
mov eax, dword [ebp + 8]
add eax, 0xc
push eax
call fcn.00412720
add esp, 8
mov eax, 1
jmp 0x402b1d
mov ecx, dword [ebp - 0x41c]
mov dword [ebp - 0x420], ecx
push 0x4276f0
mov edx, dword [ebp - 0x41c]
push edx
call fcn.00402d40
add esp, 8
mov dword [ebp - 0x41c], eax
cmp dword [ebp - 0x41c], 0
jne 0x402a3f
xor eax, eax
jmp 0x402b1d
mov eax, dword [ebp - 0x41c]
mov byte [eax], 0
mov ecx, dword [ebp - 0x420]
push ecx
call fcn.00412bc1
add esp, 4
mov edx, dword [ebp + 8]
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x41c]
add eax, 1
mov dword [ebp - 0x41c], eax
mov ecx, dword [ebp - 0x41c]
mov dword [ebp - 0x428], ecx
mov edx, dword [ebp - 0x41c]
mov dword [ebp - 0x424], edx
push 0x4276f4
mov eax, dword [ebp - 0x424]
push eax
call fcn.00402d40
add esp, 8
mov dword [ebp - 0x41c], eax
cmp dword [ebp - 0x41c], 0
jne 0x402ace
push 0x4276f8
mov ecx, dword [ebp - 0x424]
push ecx
call fcn.00402d40
add esp, 8
mov dword [ebp - 0x41c], eax
cmp dword [ebp - 0x41c], 0
jne 0x402ace
xor eax, eax
jmp 0x402b1d
mov edx, dword [ebp - 0x41c]
mov byte [edx], 0
mov eax, dword [ebp - 0x428]
push eax
call fcn.00412bc1
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x41c]
add edx, 1
mov dword [ebp - 0x41c], edx
push 0x2c
mov eax, dword [ebp - 0x41c]
push eax
call fcn.00402630
add esp, 8
mov dword [ebp - 0x41c], eax
jmp 0x4029a3
xor eax, eax
jmp 0x402b1d
xor eax, eax
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0041234d
mov esp, ebp
pop ebp
ret