Function at 0x41012f
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43a488
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.00430af2
mov dword [ebp - 4], 0
push 0x44bc08
mov ecx, dword [ebp - 0x38]
add ecx, 0x150
push ecx
call fcn.00407f30
and eax, 0xff
test eax, eax
je 0x4102f5
mov edx, dword [ebp - 0x38]
cmp dword [edx + 0x15c], 0
je 0x4101b2
mov eax, dword [ebp - 0x38]
cmp dword [eax + 0x15c], 0
je 0x4102f5
mov ecx, dword [ebp - 0x38]
cmp dword [ecx + 0x158], 0
je 0x4102f5
push 0x44bc0c
mov edx, dword [ebp - 0x38]
add edx, 0x14c
push edx
call fcn.00407f30
and eax, 0xff
test eax, eax
je 0x4102f5
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.00407f10
movsx eax, al
cmp eax, 0x5c
jne 0x410299
push 0
mov ecx, dword [ebp - 0x38]
add ecx, 0x150
call fcn.00407f10
movsx ecx, al
cmp ecx, 0x5c
jne 0x410280
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 0x410297
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 0x4102f5
push 0
mov ecx, dword [ebp - 0x38]
add ecx, 0x150
call fcn.00407f10
movsx ecx, al
cmp ecx, 0x5c
jne 0x4102cb
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 0x4102f5
push 0x447c40
mov ecx, dword [ebp - 0x38]
add ecx, 0x14c
call fcn.00430b4c
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 0x44bc10
mov ecx, dword [ebp - 0x38]
add ecx, 0x14c
push ecx
call fcn.0040c740
and eax, 0xff
test eax, eax
je 0x41033b
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 0x4104e9
mov ecx, dword [ebp - 0x38]
add ecx, 0x14c
call fcn.0040c8c0
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
test eax, eax
jne 0x410439
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 0x410392
jmp 0x410439
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.0040c8c0
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 0x410424
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.0040c8c0
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 0x410370
mov eax, dword [ebp - 0x38]
cmp dword [eax + 0x154], 0
je 0x410492
push 0x44bc14
mov ecx, dword [ebp - 0x38]
add ecx, 0x150
push ecx
call fcn.00407f30
and eax, 0xff
test eax, eax
je 0x410477
lea ecx, [ebp - 0x10]
call fcn.0040c8c0
push eax
call fcn.00407fb0
mov ecx, eax
call fcn.00413c70
mov ecx, dword [ebp - 0x38]
add ecx, 0x14c
call fcn.0040c8c0
push eax
call fcn.00407fb0
mov ecx, eax
call fcn.00413cc0
mov ecx, dword [ebp - 0x38]
call fcn.00410523
mov ecx, dword [ebp - 0x38]
add ecx, 0x14c
call fcn.0040c8c0
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.004107f0
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