Function at 0x40935b
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
push 1
call fcn.00403fdd
xor ebx, ebx
cmp dword [0x4dcc88], ebx
pop ecx
jne 0x409382
mov eax, dword [ebp + 8]
cmp eax, ebx
je 0x409382
mov dword [0x4dcc88], eax
mov byte [ebp - 1], bl
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0044e827
mov eax, dword [ebp - 0x1c]
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x10]
push eax
call fcn.0043e7bd
push dword [ebp + 0x14]
push dword [ebp + 8]
call fcn.0041c2b9
mov edi, dword [ebp + 0x10]
push 5
lea eax, [ebp + 0x10]
push ebx
push eax
call fcn.0041a4ff
add esp, 0x18
cmp eax, ebx
mov dword [ebp + 0x10], eax
je 0x4095b0
mov esi, 0x4dccc8
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.0043e7bd
mov eax, dword [ebp - 8]
cmp word [eax], 0x22
pop ecx
mov dword [ebp - 0xc], eax
jne 0x4093ef
add eax, 2
mov dword [ebp - 0xc], eax
push 4
push dword [ebp - 0xc]
push 0x4c28a0
call fcn.0043fc19
add esp, 0xc
test al, al
je 0x409480
mov eax, dword [ebp - 0xc]
mov ax, word [eax + 8]
call fcn.0043e785
test al, al
je 0x409480
push 0x6592
mov ecx, esi
call fcn.00444fb1
mov eax, dword [0x4dccc8]
push 0x6590
mov word [eax], bx
push dword [0x4dccc8]
push 0x2713
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_LoadStringW]
push dword [0x4dccc8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
inc eax
push eax
mov ecx, esi
call fcn.00444fb1
push dword [ebp - 0xc]
lea ecx, [ebp - 0x10]
call fcn.0044e827
mov eax, dword [ebp - 0x10]
call fcn.0040630b
lea ecx, [ebp - 0x10]
call fcn.0043e825
mov ecx, esi
mov byte [0x4e0003], bl
call fcn.0043e75f
push 4
push dword [ebp - 8]
push str.MAIN
call fcn.0043fc19
add esp, 0xc
test al, al
je 0x4094f3
mov ecx, dword [ebp - 8]
add ecx, 8
xor edx, edx
mov dx, word [ecx]
mov eax, edx
call fcn.0043e785
test al, al
jne 0x4094b2
cmp dx, 0x2a
jne 0x4094f3
mov ax, word [ecx]
call fcn.0043e785
mov byte [ebp - 2], al
lea eax, [ebp - 0x14]
push eax
mov byte [0x4dcc3e], bl
mov dword [ebp - 0x14], ecx
call fcn.0043e7bd
cmp byte [ebp - 2], bl
pop ecx
je 0x4095b5
push 3
push dword [ebp - 0x14]
push 0x4c2894
call fcn.0043fbc2
add esp, 0xc
test al, al
je 0x4095b5
cmp byte [ebp - 1], 2
jge 0x409529
push ebx
push 0x4dcc24
mov eax, 0x10000
push eax
push eax
push 0x4dcce8
push 0x403da8
mov byte [0x4dcce8], 0x11
call fcn.0043e915
add esp, 0x18
test eax, eax
jne 0x409529
mov byte [0x4dcce8], bl
mov al, byte [0x4dd0f4]
push edi
mov byte [0x4dcc3c], al
call fcn.00403e67
pop ecx
push ebx
mov ecx, 0x4dd0f0
call fcn.004360a8
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0x4c2892
mov ecx, 0x4dd130
call fcn.00445027
mov eax, dword [0x4dcc8c]
cmp eax, ebx
mov dword [0x4dd128], ebx
mov dword [0x4dd12c], ebx
mov byte [0x4e0003], bl
mov byte [0x4dcce9], 0x20
je 0x4095d9
push dword [ebp + 0x14]
mov byte [0x4db2d4], 1
push dword [ebp + 8]
mov dword [ebp + 0x10], eax
mov byte [ebp - 1], 2
call fcn.0041c2b9
mov edi, dword [ebp + 0x10]
push 5
lea eax, [ebp + 0x10]
push ebx
push eax
call fcn.0041a4ff
add esp, 0x14
cmp eax, ebx
mov dword [ebp + 0x10], eax
jne 0x4093d0
or esi, 0xffffffff
jmp 0x4095f9
mov eax, dword [ebp - 8]
add eax, 8
push eax
lea ecx, [ebp - 0x18]
call fcn.0044e827
push dword [ebp - 0x18]
mov ecx, 0x4dd0f0
call fcn.0042fb1c
lea ecx, [ebp - 0x18]
call fcn.0043e825
cmp byte [0x4dce7e], bl
je 0x4095e6
call fcn.00411db3
mov ecx, 0x4dd0f0
call fcn.0043f0c9
mov esi, eax
push esi
call fcn.0043e90a
pop ecx
lea ecx, [ebp - 0x1c]
call fcn.0043e825
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0x10