Function at 0x1005882b
Capabilities:
Create directory

Disassembly:
push 0x10
mov eax, 0x1006c68b
call fcn.1006c23a
xor ebx, ebx
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], ebx
call dword [0x10085f84]
lea ecx, [ebp - 0x10]
call dword [0x10085f84]
push 3
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Left]
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call dword [0x10085f74]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
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, [ebp - 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::MakeUpper]
push ebx
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::operator__]
movzx eax, ax
sub eax, 0x40
push eax
call dword [sym.imp.MSVCR90.dll__chdrive]
pop ecx
push 0x14
pop esi
push 0x10098550
call dword [sym.imp.MSVCR90.dll__chdir]
dec esi
pop ecx
jne 0x100588a0
push 3
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp + 8]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Mid]
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 4
call dword [0x10085f74]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
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, dword [ebp + 8]
cmp dword [eax - 0xc], ebx
je 0x10058977
mov edi, dword [sym.imp.MSVCR90.dll__wchdir]
push ebx
push 0x5c
lea ecx, [ebp + 8]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Find_1]
mov esi, eax
cmp esi, 0xffffffff
je 0x10058977
push esi
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp + 8]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Left]
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
call dword [0x10085f74]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
push dword [ebp - 0x10]
call edi
pop ecx
test eax, eax
je 0x10058941
push dword [ebp - 0x10]
call dword [sym.imp.MSVCR90.dll__wmkdir]
push dword [ebp - 0x10]
call edi
pop ecx
pop ecx
inc esi
push esi
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp + 8]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Mid]
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 6
call dword [0x10085f74]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
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, dword [ebp + 8]
cmp dword [eax - 0xc], ebx
jne 0x100588eb
lea ecx, [ebp - 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, [ebp - 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]
lea ecx, [ebp + 8]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
call fcn.1006c312
ret 4