Function at 0x408b13
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push ebx
xor ebx, ebx
cmp dword [ebp + 0x10], ebx
jne 0x408b28
xor eax, eax
jmp 0x408dd8
push esi
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
mov esi, dword [ebp + 0xc]
cmp esi, ebx
mov dword [0x4d81f4], eax
jne 0x408b41
mov esi, dword [0x4d7c84]
push edi
mov dword [ebp - 4], 0x4bd7ec
call dword [sym.imp.KERNEL32.DLL_GetCommandLineW]
cmp dword [0x4d7fa0], ebx
mov dword [ebp - 4], eax
jne 0x408b8b
push 0xf
pop ecx
xor eax, eax
mov dword [ebp - 0x64], 0x44
mov dword [ebp - 0x60], ebx
lea edi, [ebp - 0x5c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.KERNEL32.DLL_GetStartupInfoW]
movzx eax, word [ebp - 0x34]
push eax
push esi
mov dword [0x4d7fa0], esi
call fcn.0041cd69
pop ecx
pop ecx
push dword [ebp - 4]
lea ecx, [ebp - 8]
call fcn.0044cd74
mov eax, dword [ebp - 8]
push 0x11
push eax
push 0x4bd7c8
mov dword [ebp - 4], eax
call dword [sym.imp.SHLWAPI.DLL_StrCmpNIW]
test eax, eax
jne 0x408be5
lea eax, [ebp + 0x10]
push eax
call fcn.00408ddd
lea eax, [ebp + 0x10]
push eax
call fcn.00405615
lea eax, [ebp - 4]
push eax
call fcn.00405615
mov eax, dword [ebp - 4]
add esp, 0xc
mov word [eax], bx
push dword [ebp + 0x10]
lea ecx, [ebp - 8]
call fcn.00443fc7
mov eax, dword [ebp - 8]
mov dword [ebp + 0x10], eax
jmp 0x408c16
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.00408ddd
mov eax, dword [ebp - 4]
pop ecx
mov word [eax], bx
push dword [ebp + 0x10]
lea ecx, [ebp - 8]
call fcn.00443fc7
mov eax, dword [ebp - 8]
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x10]
push eax
call fcn.0043dae7
pop ecx
mov eax, dword [0x4d7fa0]
mov dword [ebp - 0x1c], eax
mov esi, 0x4d7cc4
mov eax, dword [ebp + 0x10]
push 5
mov dword [ebp - 0x20], eax
lea eax, [ebp + 0x10]
push ebx
push eax
call fcn.00419ccc
add esp, 0xc
mov dword [ebp + 0x10], eax
cmp word [eax], 0x22
mov dword [ebp - 0x14], eax
mov edi, eax
jne 0x408c49
lea edi, [eax + 2]
push 4
push edi
push 0x4bd7c0
call fcn.0043eeea
add esp, 0xc
test al, al
je 0x408cd3
mov ax, word [edi + 8]
call fcn.0043daaf
test al, al
je 0x408cd3
push 0x6592
mov ecx, esi
call fcn.00443fa0
mov eax, dword [0x4d7cc4]
push 0x6590
mov word [eax], bx
push dword [0x4d7cc4]
push 0x2713
push dword [ebp - 0x1c]
call dword [sym.imp.USER32.DLL_LoadStringW]
push dword [0x4d7cc4]
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
inc eax
inc eax
push eax
mov ecx, esi
call fcn.00443fa0
push edi
lea ecx, [ebp - 0xc]
call fcn.0044cd74
mov eax, dword [ebp - 0xc]
call fcn.00405da4
lea ecx, [ebp - 0xc]
call fcn.0043db4f
mov ecx, esi
mov byte [0x4d7c0a], bl
call fcn.0043da89
mov edi, dword [ebp - 0x14]
push 4
push edi
push 0x4bd7b8
call fcn.0043eeea
add esp, 0xc
test al, al
je 0x408d34
lea ecx, [edi + 8]
xor edi, edi
mov di, word [ecx]
mov eax, edi
call fcn.0043daaf
cmp al, bl
mov byte [ebp + 0xf], al
jne 0x408d06
cmp di, 0x2a
jne 0x408d34
lea eax, [ebp - 0x10]
push eax
mov byte [0x4d7c3a], bl
mov dword [ebp - 0x10], ecx
call fcn.0043dae7
cmp byte [ebp + 0xf], bl
pop ecx
je 0x408d8f
push 3
push dword [ebp - 0x10]
push 0x4bd7b4
call fcn.0043ee93
add esp, 0xc
test al, al
je 0x408d8f
mov al, byte [0x4d80ec]
push dword [ebp - 0x20]
mov byte [0x4d7c38], al
call fcn.00403eec
pop ecx
push ebx
mov ecx, 0x4d80e8
call fcn.004353b6
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0x4bd7b2
mov ecx, 0x4d8128
call fcn.00444016
mov eax, dword [0x4d7c88]
cmp eax, ebx
mov dword [0x4d8120], ebx
mov dword [0x4d8124], ebx
mov byte [0x4d7c0a], bl
je 0x408db3
mov byte [0x4d62ec], 1
mov dword [ebp + 0x10], eax
jmp 0x408c23
mov eax, dword [ebp - 0x14]
add eax, 8
push eax
lea ecx, [ebp - 0x18]
call fcn.0044cd74
push dword [ebp - 0x18]
mov ecx, 0x4d80e8
call fcn.0042ee2a
lea ecx, [ebp - 0x18]
call fcn.0043db4f
cmp byte [0x4d7e76], bl
pop edi
je 0x408dc1
call fcn.00411647
mov ecx, 0x4d80e8
call fcn.0043e3d0
lea ecx, [ebp - 8]
mov esi, eax
call fcn.0043db4f
mov eax, esi
pop esi
pop ebx
leave
ret 0x10