Function at 0x401e70
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x438
mov eax, dword [0x430074]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push str.Inside_create_path
push 0xe7
push str.create_path
push 1
mov dword [ebp - 0x438], esi
call fcn.00401c10
push 0x400
lea eax, [ebp - 0x404]
xor ebx, ebx
push esi
push eax
call fcn.00401390
add esp, 0x1c
cmp eax, 0x400
jb 0x401eec
push str.String_truncated_while_copying
push 0xec
push str.create_path
push ebx
call fcn.00401c10
add esp, 0x10
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004052f3
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x404]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401ef5
sub ecx, edx
cmp byte [ebp + ecx - 0x405], 0x5c
je 0x401f12
cmp byte [ebp + ecx - 0x405], 0x2f
jne 0x401f26
dec ecx
cmp ecx, 0x400
jae 0x402168
mov byte [ebp + ecx - 0x404], bl
lea eax, [ebp - 0x404]
push eax
push str.temp_dir_is__s
push 0xf4
push str.create_path
push 1
call fcn.00401c10
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x404]
push eax
call fcn.00406463
add esp, 0x1c
test eax, eax
lea eax, [ebp - 0x404]
jne 0x401fb3
push 2
push eax
call fcn.004064a9
add esp, 8
cmp eax, 0xffffffff
jne 0x401f9e
lea eax, [ebp - 0x404]
push eax
push str.Does_not_have_write_permissions_for__s._Pausing...
push 0xfc
push str.create_path
push 0
call fcn.00401c10
add esp, 0x14
push 0x61a8
call dword [sym.imp.KERNEL32.dll_Sleep]
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004052f3
mov esp, ebp
pop ebp
ret
push edi
push eax
push str.Path__s_does_not_exist._Attempting_to_create..
push 0x102
push str.create_path
push 0
call fcn.00401c10
mov edi, esi
add esp, 0x14
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x401fd3
push esi
push str.path___s
push 0x105
push str.create_path
push 0
sub edi, ecx
call fcn.00401c10
add esp, 0x14
xor esi, esi
test edi, edi
jle 0x402112
mov eax, dword [ebp - 0x438]
dec eax
mov dword [ebp - 0x438], eax
lea ecx, [ecx]
test esi, esi
jle 0x402109
cmp byte [eax + esi + 1], 0x2f
lea ecx, [esi + 1]
je 0x40202d
lea eax, [edi - 1]
cmp esi, eax
jne 0x402103
push ecx
lea eax, [ebp - 0x404]
push eax
push str.temp_dir_now___s__null_added_at__d
push 0x10e
push str.create_path
push 0
call fcn.00401c10
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x404]
push eax
call fcn.00406463
add esp, 0x20
test eax, eax
je 0x4020bb
lea eax, [ebp - 0x404]
push eax
push str.Calling_mkdir__s_
push 0x113
push str.create_path
push 0
call fcn.00401c10
lea eax, [ebp - 0x404]
push eax
call fcn.0042624e
add esp, 0x18
test eax, eax
jne 0x402128
lea eax, [ebp - 0x404]
push eax
push str.Successfully_created_dir__s
push 0x11e
push str.create_path
push 1
call fcn.00401c10
add esp, 0x14
jmp 0x402103
test ebx, ebx
jne 0x402103
lea eax, [ebp - 0x404]
push 2
push eax
call fcn.004064a9
add esp, 8
cmp eax, 0xffffffff
jne 0x402103
lea ebx, [eax + 2]
lea eax, [ebp - 0x404]
push eax
push str.Does_not_have_write_permissions_for__s._Pausing...
push 0x123
push str.create_path
push 0
call fcn.00401c10
add esp, 0x14
push 0x61a8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x438]
inc esi
cmp esi, edi
jl 0x402010
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004052f3
mov esp, ebp
pop ebp
ret
call fcn.00406015
push dword [eax]
call fcn.00405e60
push eax
lea eax, [ebp - 0x404]
push eax
push str.Error_creating_directory__s.__s._n
push 0x11b
push str.create_path
push 0
call fcn.00401c10
mov ecx, dword [ebp - 4]
add esp, 0x1c
xor ecx, ebp
xor eax, eax
pop edi
pop esi
pop ebx
call fcn.004052f3
mov esp, ebp
pop ebp
ret
call fcn.00405c48
int3