Function at 0x418a50
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4279ee
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x433018]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x10], ebx
je 0x418b42
mov dword [ebp - 4], ebx
cmp dword [esi + 0x14], 8
jb 0x418a9b
mov eax, dword [esi]
jmp 0x418a9d
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x418ab2
mov eax, 1
jmp 0x418b44
xor eax, eax
push ebx
mov word [ebp - 0x30], ax
mov edi, 7
push esi
or eax, 0xffffffff
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], ebx
call fcn.00401800
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x20]
cmp eax, ebx
je 0x418b00
lea ecx, [eax - 1]
cmp eax, ecx
ja 0x418aed
push str.invalid_string_position
call dword [sym.imp.MSVCP100.dll_void___cdecl_std::_Xout_of_range_char_const__]
cmp dword [ebp - 0x1c], 8
mov eax, dword [ebp - 0x30]
jae 0x418af9
lea eax, [ebp - 0x30]
cmp word [eax + ecx*2], 0x5c
je 0x418b0f
push 1
mov eax, 0x42953c
lea ecx, [ebp - 0x30]
call fcn.00401990
xor ecx, ecx
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x58], ebx
mov word [ebp - 0x68], cx
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 2
call fcn.00418680
add esp, 4
cmp eax, ebx
jne 0x418b60
lea esi, [ebp - 0x68]
call fcn.00401690
lea esi, [ebp - 0x30]
call fcn.00401690
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00424ffa
mov esp, ebp
pop ebp
ret
mov eax, 0x429fbc
lea ecx, [ebp - 0x4c]
call fcn.00401650
mov byte [ebp - 4], 3
xor esi, esi
mov dword [ebp - 0x88], ebx
jmp 0x418b88
mov esi, dword [ebp - 0x8c]
xor ebx, ebx
push 0x42953c
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x84]
push ecx
call fcn.00418e60
add esp, 0xc
mov ecx, eax
mov byte [ebp - 4], 4
cmp dword [ebp - 0x1c], 8
mov eax, dword [ebp - 0x30]
jae 0x418bb2
lea eax, [ebp - 0x30]
mov edi, dword [ebp - 0x20]
push eax
mov eax, dword [ecx + 0x10]
call fcn.004039f0
cmp eax, ebx
mov edi, 8
setne bl
mov byte [ebp - 4], 3
cmp dword [ebp - 0x70], edi
jb 0x418be1
mov edx, dword [ebp - 0x84]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
test bl, bl
je 0x418c9d
push 1
push 0x42953c
lea ecx, [ebp - 0x30]
lea eax, [esi + 1]
push ecx
call fcn.00418d40
push eax
lea esi, [ebp - 0x84]
lea edx, [ebp - 0x30]
mov dword [ebp - 0x8c], eax
call fcn.00418d10
mov edi, eax
lea esi, [ebp - 0x4c]
mov byte [ebp - 4], 5
call fcn.00401790
mov esi, 8
mov byte [ebp - 4], 3
cmp dword [ebp - 0x70], esi
jb 0x418c3d
mov edx, dword [ebp - 0x84]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, dword [ebp - 0x4c]
cmp dword [ebp - 0x38], esi
jae 0x418c48
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x418b80
mov eax, dword [ebp - 0x68]
cmp dword [ebp - 0x54], esi
jae 0x418c62
lea eax, [ebp - 0x68]
mov edi, dword [ebp - 0x58]
push eax
mov eax, dword [ebp - 0x3c]
lea ecx, [ebp - 0x4c]
call fcn.004039f0
test eax, eax
je 0x418b80
mov eax, dword [ebp - 0x4c]
cmp dword [ebp - 0x38], esi
jae 0x418c84
lea eax, [ebp - 0x4c]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dword [ebp - 0x88], eax
test eax, eax
jne 0x418b80
mov edi, esi
cmp dword [ebp - 0x38], edi
jb 0x418caf
mov eax, dword [ebp - 0x4c]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor ebx, ebx
xor ecx, ecx
mov esi, 7
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], ebx
mov word [ebp - 0x4c], cx
cmp dword [ebp - 0x54], edi
jb 0x418cd4
mov edx, dword [ebp - 0x68]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x58], ebx
mov word [ebp - 0x68], ax
cmp dword [ebp - 0x1c], edi
jb 0x418cf2
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, dword [ebp - 0x88]
jmp 0x418b44