Function at 0x100b32b0
Capabilities:
Accept command line arguments
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x100c28f4
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push edi
mov eax, dword [0x100ef07c]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebx, ecx
lea ecx, [esp + 0xc]
mov dword [esp + 0x14], 0
call dword [0x100ca800]
push ebx
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator]
lea ecx, [esp + 0xc]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Trim]
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100b331f
lea ecx, [esp + 0xc]
push ecx
jmp 0x100b34a8
mov eax, dword [esp + 0xc]
mov ecx, dword [eax - 0xc]
cmp ecx, 4
jle 0x100b3356
push 4
push str.___
push eax
call dword [sym.imp.MSVCR90.dll_wcsncmp]
add esp, 0xc
test eax, eax
jne 0x100b3352
push 4
push esi
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Mid]
jmp 0x100b34b0
mov eax, dword [esp + 0xc]
mov ecx, dword [eax - 0xc]
cmp ecx, 0xc
mov edi, dword [sym.imp.MSVCR90.dll__wcsnicmp]
jle 0x100b33ca
push 0xc
push str.SystemRoot_
push eax
call edi
add esp, 0xc
test eax, eax
jne 0x100b33c6
push 0xc
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Mid]
lea ecx, [esp + 0x10]
push ecx
mov ecx, eax
mov ebx, str._systemroot__
mov byte [esp + 0x24], 1
call fcn.1009b5f0
add esp, 4
mov byte [esp + 0x20], 2
mov ecx, dword [eax]
mov ebx, esi
call fcn.100014a0
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
jmp 0x100b34b0
mov eax, dword [esp + 0xc]
mov ecx, dword [eax - 0xc]
cmp ecx, 8
jle 0x100b342b
push 8
push str.System32
push eax
call edi
add esp, 0xc
test eax, eax
je 0x100b33f8
mov edx, dword [esp + 0xc]
push 8
push str.SysWow64
push edx
call edi
add esp, 0xc
test eax, eax
jne 0x100b342b
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x10]
mov ebx, str._systemroot__
call fcn.1009b5f0
add esp, 4
mov byte [esp + 0x20], 3
mov ecx, dword [eax]
mov ebx, esi
call fcn.100014a0
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
jmp 0x100b34b0
push 0
push 0x22
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Find_1]
cmp eax, 0xffffffff
je 0x100b3470
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x14]
push ecx
push edx
mov dword [esp + 0x1c], 0
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov edi, eax
test edi, edi
je 0x100b3470
mov eax, dword [edi]
push eax
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100b3486
lea edx, [esp + 0xc]
push edx
jmp 0x100b34a8
push 0
push 0x100e0b94
mov ecx, ebx
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Find]
cmp eax, 0xffffffff
je 0x100b34a7
mov ecx, dword [esp + 0xc]
mov ebx, esi
call fcn.100014a0
jmp 0x100b34b0
push ebx
mov ecx, esi
call dword [0x100ca804]
lea ecx, [esp + 0xc]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
add esp, 0x18
ret