Function at 0x100903e0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10111223
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x1013b024]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push esi
push edi
mov eax, dword [0x1013b024]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov edi, ecx
xor esi, esi
lea ecx, [esp + 0x64]
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], ebx
mov dword [edi + 4], esi
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__::constructor_void_]
lea ecx, [esp + 0x48]
mov dword [esp + 0x90], esi
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__::constructor_void_]
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
push ebx
lea ecx, [esp + 0x4c]
mov byte [esp + 0x94], 2
call dword [0x101193e4]
mov eax, dword [sym.imp.MSVCP80.dll_unsigned_int_const_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::npos]
mov ecx, dword [eax]
push ecx
push 0x1011da4c
lea ecx, [esp + 0x50]
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::find_last_of_wchar_t_const___unsigned_int_const]
mov esi, eax
cmp esi, 0xffffffff
je 0x100904d6
push esi
push 0
lea edx, [esp + 0x34]
push edx
lea ecx, [esp + 0x54]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_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__::substr_unsigned_int__unsigned_int_]
push eax
lea ecx, [esp + 0x68]
mov byte [esp + 0x94], 3
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_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__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x90], 2
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_]
push esi
lea ecx, [esp + 0x4c]
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__::resize_unsigned_int_]
lea eax, [esp + 0x64]
push eax
lea esi, [esp + 0x18]
call fcn.10003370
jmp 0x10090466
mov eax, dword [esp + 0x18]
test eax, eax
je 0x100905ac
mov ecx, dword [esp + 0x1c]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
jb 0x100905ac
lea ebx, [esp + 0x14]
call fcn.100925e0
mov esi, dword [esp + 0x18]
test esi, esi
mov ecx, dword [esp + 0x1c]
jne 0x1009051d
xor eax, eax
jmp 0x10090534
mov ebx, ecx
sub ebx, esi
mov eax, 0x92492493
imul ebx
add edx, ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ebx, [eax - 1]
cmp ebx, 0xffffffff
je 0x100905a8
lea edi, [ebx*8]
sub edi, ebx
add edi, edi
add edi, edi
jmp 0x10090558
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
test esi, esi
je 0x10090575
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x1009057f
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [esp + 0x18]
cmp dword [edi + esi + 0x18], 8
jb 0x1009058c
mov esi, dword [edi + esi + 4]
jmp 0x10090590
lea esi, [edi + esi + 4]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
sub ebx, 1
sub edi, 0x1c
cmp ebx, 0xffffffff
jne 0x10090550
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
cmp byte [ebp + 0xc], 0
push 0
push 0x80
je 0x100905cc
cmp byte [ebp + 0x10], 0
push 3
push 0
je 0x100905df
push 7
push SysReAllocString
jmp 0x100905e6
cmp byte [ebp + 0x10], 0
push 4
push 0
je 0x100905df
push 1
push SysReAllocString
jmp 0x100905e6
push 1
push 0xc0000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
xor ebx, ebx
cmp eax, 0xffffffff
mov byte [esp + 0x90], 1
mov esi, dword [esp + 0x18]
mov dword [edi + 4], eax
jne 0x10090663
cmp esi, ebx
je 0x1009062c
mov edi, dword [esp + 0x1c]
cmp esi, edi
je 0x10090623
nop
mov ecx, esi
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_]
add esi, 0x1c
cmp esi, edi
jne 0x10090610
mov esi, dword [esp + 0x18]
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
lea ecx, [esp + 0x48]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov byte [esp + 0x90], 0
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_]
lea ecx, [esp + 0x64]
mov dword [esp + 0x90], 0xffffffff
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_]
xor al, al
jmp 0x100906c1
cmp esi, ebx
je 0x1009068c
mov edi, dword [esp + 0x1c]
cmp esi, edi
je 0x10090683
nop
mov ecx, esi
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_]
add esi, 0x1c
cmp esi, edi
jne 0x10090670
mov esi, dword [esp + 0x18]
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
lea ecx, [esp + 0x48]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov byte [esp + 0x90], 0
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_]
lea ecx, [esp + 0x64]
mov dword [esp + 0x90], 0xffffffff
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, 1
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.1010dc50
mov esp, ebp
pop ebp
ret 0xc