Function at 0x1002bd7
Capabilities:
Accept command line arguments

Disassembly:
mov eax, 0x100607b
call fcn.01005c58
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0x10]
call fcn.01005904
xor ebx, ebx
lea edi, [esi + 0xa4]
mov dword [ebp - 4], ebx
mov dword [edi], ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::operator_1
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::MakeLower
push 0x10016f8
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::Find_2
cmp eax, 0xffffffff
lea ecx, [ebp - 0x10]
je 0x1002c68
push 0x10016e4
call sub.MFC42u.DLL_CString::Find_2
cmp eax, 0xffffffff
jle 0x1002d1d
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx - 8]
sub ecx, eax
inc ecx
push ecx
push eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::Mid_1
mov eax, dword [eax]
push edi
push 0x10016c8
push eax
call dword [sym.imp.msvcrt.dll_swscanf]
add esp, 0xc
lea ecx, [ebp - 0x1c]
call sub.MFC42u.DLL_CString::CString
push 2
pop esi
jmp 0x1002e04
push 0x10016b4
call sub.MFC42u.DLL_CString::Find_2
cmp eax, 0xffffffff
je 0x1002d1d
push 0x10016a8
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::Find_2
cmp eax, 0xffffffff
je 0x1002c95
mov byte [0x10071e4], bl
jmp 0x1002cc0
push 0x1001698
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::Find_2
cmp eax, 0xffffffff
je 0x1002cb0
mov byte [0x10071e4], 1
jmp 0x1002cc0
call fcn.01001f8a
neg eax
sbb al, al
inc al
mov byte [0x10071e4], al
push 0x1001684
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::Find_2
cmp eax, 0xffffffff
jle 0x1002d1d
push eax
push 0x3d
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::Find_1
cmp eax, 0xffffffff
jle 0x1002d1d
inc eax
push eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::Mid
add esi, 0xb0
push eax
mov ecx, esi
mov byte [ebp - 4], 1
call sub.MFC42u.DLL_CString::operator
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call sub.MFC42u.DLL_CString::CString
push 0xffffffffffffffff
mov ecx, esi
call sub.MFC42u.DLL_CString::ReleaseBuffer
push 3
jmp 0x1002c62
lea ecx, [ebp - 0x18]
call fcn.01005904
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.01005904
push 0x44d
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call sub.MFC42u.DLL_CString::LoadStringW
push 0x44e
lea ecx, [ebp - 0x14]
call sub.MFC42u.DLL_CString::LoadStringW
push 0x20
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::Find
cmp eax, ebx
jle 0x1002d8d
push 0x20
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::Find
push eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::Left
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call sub.MFC42u.DLL_CString::operator
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call sub.MFC42u.DLL_CString::CString
push dword [ebp - 0x14]
mov ecx, esi
push 0xbba
call sub.MFC42u.DLL_CWnd::SetDlgItemTextW
push 0xbbb
mov ecx, esi
call sub.MFC42u.DLL_CWnd::GetDlgItem
push ebx
mov ecx, eax
call sub.MFC42u.DLL_CWnd::ShowWindow
push 1
mov ecx, esi
call sub.MFC42u.DLL_CWnd::GetDlgItem
mov edi, eax
push 5
mov ecx, edi
call sub.MFC42u.DLL_CWnd::ShowWindow
push 1
mov ecx, edi
call fcn.01001fd8
push 1
mov ecx, edi
call fcn.01001ff9
push 0xbb9
mov ecx, esi
call sub.MFC42u.DLL_CWnd::GetDlgItem
push ebx
mov ecx, eax
call sub.MFC42u.DLL_CWnd::ShowWindow
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call sub.MFC42u.DLL_CString::CString
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call sub.MFC42u.DLL_CString::CString
xor esi, esi
inc esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret