Function at 0x42e320
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x431919
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x442018]
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 edi, edi
cmp dword [esi + 0x10], edi
je 0x42e416
mov dword [ebp - 4], edi
cmp dword [esi + 0x14], 8
jb 0x42e36b
mov eax, dword [esi]
jmp 0x42e36d
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x42e382
mov eax, 1
jmp 0x42e418
xor eax, eax
push edi
mov word [ebp - 0x30], ax
mov ebx, 7
push esi
or eax, 0xffffffff
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], edi
call fcn.00401cf0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x20]
cmp eax, edi
je 0x42e3d0
lea ecx, [eax - 1]
cmp eax, ecx
ja 0x42e3bd
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 0x42e3c9
lea eax, [ebp - 0x30]
cmp word [eax + ecx*2], 0x5c
je 0x42e3df
push 1
mov eax, 0x435154
lea ecx, [ebp - 0x30]
call fcn.00404b10
xor ecx, ecx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x3c], edi
mov word [ebp - 0x4c], cx
lea edx, [ebp - 0x30]
mov ebx, 2
push edx
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], bl
call fcn.0042df50
add esp, 4
cmp eax, edi
jne 0x42e434
lea esi, [ebp - 0x4c]
call fcn.00412600
lea esi, [ebp - 0x30]
call fcn.00412600
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.0042ef46
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x3c], edi
jne 0x42e492
push ebx
push 0x438438
lea eax, [ebp - 0x30]
push eax
xor eax, eax
call fcn.00403760
cmp eax, edi
jne 0x42e492
push 1
push 0x435154
lea ecx, [ebp - 0x30]
push ecx
mov eax, 3
call fcn.00403760
push eax
xor ecx, ecx
lea esi, [ebp - 0x84]
lea edx, [ebp - 0x30]
call fcn.00403730
mov edi, eax
lea esi, [ebp - 0x4c]
mov byte [ebp - 4], 3
call fcn.00403820
lea esi, [ebp - 0x84]
mov byte [ebp - 4], bl
call fcn.00412600
xor edi, edi
mov eax, 0x435070
lea ecx, [ebp - 0x68]
call fcn.00401980
mov byte [ebp - 4], 4
mov esi, dword [ebp - 0x3c]
mov dword [ebp - 0x88], edi
jmp 0x42e4b6
mov esi, dword [ebp - 0x8c]
push 0x435154
lea edx, [ebp - 0x68]
push edx
lea eax, [ebp - 0x84]
push eax
call fcn.0040ed10
add esp, 0xc
mov ecx, eax
mov byte [ebp - 4], 5
cmp dword [ebp - 0x1c], 8
mov eax, dword [ebp - 0x30]
jae 0x42e4e0
lea eax, [ebp - 0x30]
mov edi, dword [ebp - 0x20]
push eax
mov eax, dword [ecx + 0x10]
call fcn.0040a440
test eax, eax
mov edi, 8
setne bl
mov byte [ebp - 4], 4
cmp dword [ebp - 0x70], edi
jb 0x42e50f
mov ecx, dword [ebp - 0x84]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
test bl, bl
je 0x42e5cd
push 1
push 0x435154
lea edx, [ebp - 0x30]
lea eax, [esi + 1]
push edx
call fcn.00403760
push eax
xor ecx, ecx
lea esi, [ebp - 0x84]
lea edx, [ebp - 0x30]
mov dword [ebp - 0x8c], eax
call fcn.00403730
mov edi, eax
lea esi, [ebp - 0x68]
mov byte [ebp - 4], 6
call fcn.00403820
mov esi, 8
mov byte [ebp - 4], 4
cmp dword [ebp - 0x70], esi
jb 0x42e56d
mov eax, dword [ebp - 0x84]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, dword [ebp - 0x68]
cmp dword [ebp - 0x54], esi
jae 0x42e578
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x42e4b0
mov eax, dword [ebp - 0x4c]
cmp dword [ebp - 0x38], esi
jae 0x42e592
lea eax, [ebp - 0x4c]
mov edi, dword [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x68]
call fcn.0040a440
test eax, eax
je 0x42e4b0
mov eax, dword [ebp - 0x68]
cmp dword [ebp - 0x54], esi
jae 0x42e5b4
lea eax, [ebp - 0x68]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dword [ebp - 0x88], eax
test eax, eax
jne 0x42e4b0
mov edi, esi
cmp dword [ebp - 0x54], edi
jb 0x42e5df
mov ecx, dword [ebp - 0x68]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor ebx, ebx
xor edx, edx
mov esi, 7
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x58], ebx
mov word [ebp - 0x68], dx
cmp dword [ebp - 0x38], edi
jb 0x42e604
mov eax, dword [ebp - 0x4c]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], ebx
mov word [ebp - 0x4c], cx
cmp dword [ebp - 0x1c], edi
jb 0x42e622
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, dword [ebp - 0x88]
jmp 0x42e418