Function at 0x101e207
Capabilities:
Accept command line arguments
Create process on windows
Get common file path

Disassembly:
mov eax, 0x108cdf6
call fcn.010826d8
sub esp, 0x60
push ebx
push esi
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x30]
call dword [sym.imp.mmcbase.DLL_public:_void___thiscall_mmcerror::SC::constructor_long_int_]
lea ecx, [ebp - 0x14]
call sub.MFC42u.DLL_CString::CString_3
mov eax, dword [ebp + 0xc]
sub eax, ebx
mov dword [ebp - 4], ebx
je 0x101e268
dec eax
je 0x101e257
push 0x80070057
lea ecx, [ebp - 0x30]
call dword [sym.imp.mmcbase.DLL_public:_class_mmcerror::SC____thiscall_mmcerror::SC::operator_long_int_]
mov ecx, dword [eax]
mov esi, dword [ebp + 8]
mov dword [esi], ecx
mov eax, dword [eax + 4]
mov dword [esi + 4], eax
jmp 0x101e437
push 0x1002c54
lea ecx, [ebp - 0x14]
call sub.MFC42u.DLL_CString::operator_1
push 0x29
jmp 0x101e26a
push 0x25
pop esi
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::CString_3
push 0x104
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call sub.MFC42u.DLL_CString::GetBuffer
push eax
push ebx
push ebx
push esi
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push eax
lea ecx, [ebp - 0x30]
call dword [sym.imp.mmcbase.DLL_public:_class_mmcerror::SC____thiscall_mmcerror::SC::operator_long_int_]
lea ecx, [ebp - 0x30]
call dword [sym.imp.mmcbase.DLL_public:_bool___thiscall_mmcerror::SC::operator_bool_void_const]
test al, al
lea ecx, [ebp - 0x10]
je 0x101e2bc
mov eax, dword [ebp - 0x30]
mov esi, dword [ebp + 8]
mov dword [esi], eax
mov eax, dword [ebp - 0x2c]
mov dword [esi + 4], eax
jmp 0x101e42f
push 0xffffffffffffffff
call sub.MFC42u.DLL_CString::ReleaseBuffer
push 0x1002c40
lea ecx, [ebp - 0x10]
call fcn.01080ede
push dword [ebp - 0x10]
lea ecx, [ebp - 0x1c]
call fcn.01019a36
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x18], eax
cmp eax, ebx
mov byte [ebp - 4], 3
je 0x101e3f9
push edi
xor edi, edi
inc edi
cmp dword [ebp - 0x20], edi
jle 0x101e3c0
mov esi, dword [sym.imp.msvcrt.dll_wcscmp]
mov eax, dword [ebp - 0x18]
push dword [eax + edi*4]
lea ecx, [ebp + 0xc]
call sub.MFC42u.DLL_CString::CString_4
push 0x1002c38
push dword [ebp + 0xc]
mov byte [ebp - 4], 4
call esi
test eax, eax
pop ecx
pop ecx
je 0x101e3aa
push 0x1002c30
push dword [ebp + 0xc]
call esi
test eax, eax
pop ecx
pop ecx
je 0x101e3aa
push 0x1002c28
push dword [ebp + 0xc]
call esi
test eax, eax
pop ecx
pop ecx
je 0x101e3aa
push 0x1002c20
push dword [ebp + 0xc]
call esi
test eax, eax
pop ecx
pop ecx
je 0x101e3aa
lea eax, [ebp + 0xc]
push eax
push 0x1002c1c
lea eax, [ebp - 0x28]
push eax
call sub.MFC42u.DLL_operator_1
push 0x1002c14
push eax
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], 5
call sub.MFC42u.DLL_operator
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 6
call sub.MFC42u.DLL_CString::operator_2
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 5
call sub.MFC42u.DLL_CString::CString
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call sub.MFC42u.DLL_CString::CString
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 3
call sub.MFC42u.DLL_CString::CString
inc edi
cmp edi, dword [ebp - 0x20]
jl 0x101e30e
xor eax, eax
push 0xe
pop ecx
lea edi, [ebp - 0x68]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x6c]
push eax
mov dword [ebp - 0x6c], 0x3c
mov dword [ebp - 0x68], 0x400
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
pop edi
jne 0x101e40e
lea ecx, [ebp - 0x30]
call dword [sym.imp.mmcbase.DLL_public:_class_mmcerror::SC____thiscall_mmcerror::SC::FromLastError_void_]
mov ecx, dword [eax]
mov esi, dword [ebp + 8]
mov dword [esi], ecx
mov eax, dword [eax + 4]
jmp 0x101e419
mov eax, dword [ebp - 0x30]
mov esi, dword [ebp + 8]
mov dword [esi], eax
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x18]
mov dword [esi + 4], eax
call fcn.01019efa
lea ecx, [ebp - 0x1c]
call fcn.010188f1
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call sub.MFC42u.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc