Function at 0x40f11f
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43a368
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp - 0x38]
add eax, 0x14c
push eax
lea ecx, [ebp - 0x10]
call fcn.00430aaa
mov dword [ebp - 4], 0
push 0x44d180
mov ecx, dword [ebp - 0x38]
add ecx, 0x150
push ecx
call fcn.00407d90
and eax, 0xff
test eax, eax
je 0x40f2e5
mov edx, dword [ebp - 0x38]
cmp dword [edx + 0x15c], 0
je 0x40f1a2
mov eax, dword [ebp - 0x38]
cmp dword [eax + 0x15c], 0
je 0x40f2e5
mov ecx, dword [ebp - 0x38]
cmp dword [ecx + 0x158], 0
je 0x40f2e5
push 0x44d184
mov edx, dword [ebp - 0x38]
add edx, 0x14c
push edx
call fcn.00407d90
and eax, 0xff
test eax, eax
je 0x40f2e5
mov ecx, dword [ebp - 0x38]
add ecx, 0x14c
call fcn.00402c80
sub eax, 1
push eax
mov ecx, dword [ebp - 0x38]
add ecx, 0x14c
call fcn.00407d70
movsx eax, al
cmp eax, 0x5c
jne 0x40f289
push 0
mov ecx, dword [ebp - 0x38]
add ecx, 0x150
call fcn.00407d70
movsx ecx, al
cmp ecx, 0x5c
jne 0x40f270
mov ecx, dword [ebp - 0x38]
add ecx, 0x14c
call fcn.00402c80
sub eax, 1
push eax
lea edx, [ebp - 0x20]
push edx
mov ecx, dword [ebp - 0x38]
add ecx, 0x14c
call sub.MFC42.DLL_CString::Left
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x40]
push ecx
mov ecx, dword [ebp - 0x38]
add ecx, 0x14c
call sub.MFC42.DLL_CString::operator
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::CString
mov edx, dword [ebp - 0x38]
add edx, 0x150
push edx
mov ecx, dword [ebp - 0x38]
add ecx, 0x14c
call sub.MFC42.DLL_CString::operator_1
jmp 0x40f287
mov eax, dword [ebp - 0x38]
add eax, 0x150
push eax
mov ecx, dword [ebp - 0x38]
add ecx, 0x14c
call sub.MFC42.DLL_CString::operator_1
jmp 0x40f2e5
push 0
mov ecx, dword [ebp - 0x38]
add ecx, 0x150
call fcn.00407d70
movsx ecx, al
cmp ecx, 0x5c
jne 0x40f2bb
mov edx, dword [ebp - 0x38]
add edx, 0x150
push edx
mov ecx, dword [ebp - 0x38]
add ecx, 0x14c
call sub.MFC42.DLL_CString::operator_1
jmp 0x40f2e5
push 0x447b88
mov ecx, dword [ebp - 0x38]
add ecx, 0x14c
call fcn.00430b04
mov eax, dword [ebp - 0x38]
add eax, 0x150
push eax
mov ecx, dword [ebp - 0x38]
add ecx, 0x14c
call sub.MFC42.DLL_CString::operator_1
push 0x44d188
mov ecx, dword [ebp - 0x38]
add ecx, 0x14c
push ecx
call fcn.0040be20
and eax, 0xff
test eax, eax
je 0x40f32b
push 0x2710
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 0x24], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x24]
jmp 0x40f4d9
mov ecx, dword [ebp - 0x38]
add ecx, 0x14c
call fcn.004081e0
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
test eax, eax
jne 0x40f429
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0x38]
add ecx, 0x14c
call fcn.00402c80
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x18]
push edx
push 0x5c
mov ecx, dword [ebp - 0x38]
add ecx, 0x14c
call sub.MFC42.DLL_CString::Find
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jge 0x40f382
jmp 0x40f429
mov eax, dword [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, dword [ebp - 0x38]
add ecx, 0x14c
call sub.MFC42.DLL_CString::Left
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x48], edx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x48]
call fcn.004081e0
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
neg eax
sbb eax, eax
inc eax
mov byte [ebp - 0x28], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x28]
and eax, 0xff
test eax, eax
je 0x40f414
push 0
mov ecx, dword [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x30]
push edx
mov ecx, dword [ebp - 0x38]
add ecx, 0x14c
call sub.MFC42.DLL_CString::Left
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x50], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x50]
call fcn.004081e0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0x1c]
add ecx, 1
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
cmp edx, dword [ebp - 0x14]
jl 0x40f360
mov eax, dword [ebp - 0x38]
cmp dword [eax + 0x154], 0
je 0x40f482
push 0x44d18c
mov ecx, dword [ebp - 0x38]
add ecx, 0x150
push ecx
call fcn.00407d90
and eax, 0xff
test eax, eax
je 0x40f467
lea ecx, [ebp - 0x10]
call fcn.004081e0
push eax
call fcn.00407e10
mov ecx, eax
call fcn.00412d06
mov ecx, dword [ebp - 0x38]
add ecx, 0x14c
call fcn.004081e0
push eax
call fcn.00407e10
mov ecx, eax
call fcn.00412d2b
mov ecx, dword [ebp - 0x38]
call fcn.0040f513
mov ecx, dword [ebp - 0x38]
add ecx, 0x14c
call fcn.004081e0
push eax
mov edx, dword [ebp - 0x38]
mov ecx, dword [edx + 0x160]
mov eax, dword [ebp - 0x38]
mov edx, dword [eax + 0x160]
mov eax, dword [edx]
call dword [eax]
push 0
push 0x2bc
push 0x65
mov ecx, dword [ebp - 0x38]
call fcn.0040f7c0
mov dword [ebp - 0x34], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret