Function at 0x401333
Capabilities:
Create directory

Disassembly:
push 0x1b4
mov eax, 0x42dc06
call fcn.00428dbe
lea ebx, [ebp - 0x170]
call fcn.004237e2
lea eax, [ebp - 0x1c0]
xor ebx, ebx
push eax
lea ecx, [ebp - 0x170]
mov dword [ebp - 4], ebx
call dword [sym.imp.MSVCP80.dll_public:_class_std::_String_iterator_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::end_void_]
mov esi, dword [eax]
mov edi, dword [eax + 4]
lea eax, [ebp - 0x1b0]
push eax
lea ecx, [ebp - 0x170]
call dword [sym.imp.MSVCP80.dll_public:_class_std::_String_iterator_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::begin_void_]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
push ebx
mov dword [ebp - 0x17c], ecx
push ebx
lea ecx, [ebp - 0x154]
mov dword [ebp - 0x178], eax
call dword [sym.imp.MSVCP80.dll_protected:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool__unsigned_int_]
push edi
push esi
push dword [ebp - 0x178]
lea eax, [ebp - 0x154]
push dword [ebp - 0x17c]
push dword [ebp - 0x178]
push eax
call fcn.00402884
push 0x45f45c
lea eax, [ebp - 0x154]
push eax
lea eax, [ebp - 0x1a0]
mov byte [ebp - 4], 1
mov esi, dword [sym.imp.MSVCP80.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
push eax
call esi
add esp, 0xc
push eax
mov ecx, 0x45f5d4
mov byte [ebp - 4], 2
call dword [0x42f128]
lea ecx, [ebp - 0x1a0]
mov byte [ebp - 4], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
push 0x45f478
lea eax, [ebp - 0x154]
push eax
lea eax, [ebp - 0x1a0]
push eax
call esi
add esp, 0xc
mov esi, 0x45f5b8
push eax
mov ecx, esi
mov byte [ebp - 4], 3
call dword [0x42f128]
lea ecx, [ebp - 0x1a0]
mov byte [ebp - 4], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
call fcn.004015c5
test eax, eax
je 0x401472
mov byte [ebp - 0x171], bl
lea ecx, [ebp - 0x154]
mov byte [ebp - 4], bl
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x170]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov al, byte [ebp - 0x171]
call fcn.00428e41
ret
cmp dword [0x45f5d0], 0x10
mov eax, dword [0x45f5bc]
jae 0x401485
mov eax, 0x45f5bc
mov ecx, dword [0x44e798]
push eax
call dword [0x42f1a0]
lea eax, [ebp - 0x1a8]
push eax
mov ecx, esi
call dword [sym.imp.MSVCP80.dll_public:_class_std::_String_iterator_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::end_void_]
mov edi, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x178], eax
lea eax, [ebp - 0x1b8]
push eax
mov ecx, esi
call dword [sym.imp.MSVCP80.dll_public:_class_std::_String_iterator_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::begin_void_]
mov esi, dword [eax]
mov eax, dword [eax + 4]
push ebx
push ebx
lea ecx, [ebp - 0x138]
mov dword [ebp - 0x180], eax
call dword [sym.imp.MSVCP80.dll_protected:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::_Tidy_bool__unsigned_int_]
push dword [ebp - 0x178]
lea eax, [ebp - 0x138]
push edi
push dword [ebp - 0x180]
push esi
push dword [ebp - 0x178]
push eax
call fcn.00402904
lea eax, [ebp - 0x138]
mov byte [ebp - 4], 4
call fcn.00423877
test al, al
jne 0x401524
cmp dword [ebp - 0x120], 8
mov eax, dword [ebp - 0x134]
jae 0x40151c
lea eax, [ebp - 0x134]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov esi, 0x104
push esi
lea eax, [ebp - 0x11b]
push ebx
push eax
mov byte [ebp - 0x11c], bl
call sub.MSVCR80.dll_memset
add esp, 0xc
push esi
lea eax, [ebp - 0x11c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call sub.PSAPI.DLL_GetModuleBaseNameA
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveExtensionA]
lea eax, [ebp - 0x11c]
push eax
mov ecx, 0x45f5f0
call dword [0x42f1a0]
cmp dword [0x45f608], 0x10
mov edi, dword [0x45f5f4]
jae 0x401588
mov edi, 0x45f5f4
call fcn.0042368f
cmp byte [0x45e5de], bl
mov eax, dword [0x45e5d8]
mov dword [0x45f8dc], eax
je 0x4015a9
mov dword [0x45fbc8], 5
lea ecx, [ebp - 0x138]
mov byte [ebp - 4], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov byte [ebp - 0x171], 1
jmp 0x401447