Function at 0x4081d9
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
call fcn.00403dc2
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
xor ebx, ebx
mov dword [0x4c10e8], eax
mov byte [ebp - 1], bl
call dword [sym.imp.KERNEL32.DLL_GetCommandLineW]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00446497
mov eax, dword [ebp - 0x1c]
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x10]
push eax
call fcn.00437e65
push dword [ebp + 0x14]
push dword [ebp + 8]
call fcn.0041c06b
mov edi, dword [ebp + 0x10]
push 5
lea eax, [ebp + 0x10]
push ebx
push eax
call fcn.00419202
add esp, 0x18
cmp eax, ebx
mov dword [ebp + 0x10], eax
je 0x408422
mov esi, 0x4c0c64
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.00437e65
mov eax, dword [ebp - 8]
cmp word [eax], 0x22
pop ecx
mov dword [ebp - 0xc], eax
jne 0x408261
add eax, 2
mov dword [ebp - 0xc], eax
push 4
push dword [ebp - 0xc]
push 0x4a75b8
call fcn.0043917b
add esp, 0xc
test al, al
je 0x4082f2
mov eax, dword [ebp - 0xc]
mov ax, word [eax + 8]
call fcn.00437e2d
test al, al
je 0x4082f2
push 0x6592
mov ecx, esi
call fcn.0043ddc3
mov eax, dword [0x4c0c64]
push 0x6590
mov word [eax], bx
push dword [0x4c0c64]
push 0x2713
push dword [ebp + 8]
call dword [sym.imp.USER32.DLL_LoadStringW]
push dword [0x4c0c64]
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
inc eax
inc eax
push eax
mov ecx, esi
call fcn.0043ddc3
push dword [ebp - 0xc]
lea ecx, [ebp - 0x10]
call fcn.00446497
mov eax, dword [ebp - 0x10]
call fcn.0040584b
lea ecx, [ebp - 0x10]
call fcn.00437e1a
mov ecx, esi
mov byte [0x4c4003], bl
call fcn.00437e1a
push 4
push dword [ebp - 8]
push 0x4a75b0
call fcn.0043917b
add esp, 0xc
test al, al
je 0x408365
mov ecx, dword [ebp - 8]
add ecx, 8
xor edx, edx
mov dx, word [ecx]
mov eax, edx
call fcn.00437e2d
test al, al
jne 0x408324
cmp dx, 0x2a
jne 0x408365
mov ax, word [ecx]
call fcn.00437e2d
mov byte [ebp - 2], al
lea eax, [ebp - 0x14]
push eax
mov byte [0x4c0be6], bl
mov dword [ebp - 0x14], ecx
call fcn.00437e65
cmp byte [ebp - 2], bl
pop ecx
je 0x408427
push 3
push dword [ebp - 0x14]
push 0x4a75ac
call fcn.00439124
add esp, 0xc
test al, al
je 0x408427
cmp byte [ebp - 1], 2
jge 0x40839b
push ebx
push 0x4c0bcc
mov eax, 0x10000
push eax
push eax
push 0x4c0c80
push 0x403b8d
mov byte [0x4c0c80], 0x11
call fcn.00437fa4
add esp, 0x18
test eax, eax
jne 0x40839b
mov byte [0x4c0c80], bl
mov al, byte [0x4c0fbc]
push edi
mov byte [0x4c0be4], al
call fcn.00403c4c
pop ecx
push ebx
mov ecx, 0x4c0fb8
call fcn.0042ef86
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0x4a75aa
mov ecx, 0x4c0ff8
call fcn.0043de39
mov eax, dword [0x4c0c28]
cmp eax, ebx
mov dword [0x4c0ff0], ebx
mov dword [0x4c0ff4], ebx
mov byte [0x4c4003], bl
mov byte [0x4c0c81], 0x20
je 0x40844b
push dword [ebp + 0x14]
mov byte [0x4bf2c0], 1
push dword [ebp + 8]
mov dword [ebp + 0x10], eax
mov byte [ebp - 1], 2
call fcn.0041c06b
mov edi, dword [ebp + 0x10]
push 5
lea eax, [ebp + 0x10]
push ebx
push eax
call fcn.00419202
add esp, 0x14
cmp eax, ebx
mov dword [ebp + 0x10], eax
jne 0x408242
or esi, 0xffffffff
jmp 0x40846b
mov eax, dword [ebp - 8]
add eax, 8
push eax
lea ecx, [ebp - 0x18]
call fcn.00446497
push dword [ebp - 0x18]
mov ecx, 0x4c0fb8
call fcn.0042bdd5
lea ecx, [ebp - 0x18]
call fcn.00437e1a
cmp byte [0x4c0de6], bl
je 0x408458
call fcn.004101aa
mov ecx, 0x4c0fb8
call fcn.004386b3
mov esi, eax
push esi
call fcn.00437f99
lea ecx, [ebp - 0x1c]
call fcn.00437e1a
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0x10