Function at 0x40ee20
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x414cf7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x274
mov dword [ebp - 0x280], ecx
mov eax, dword [ebp - 0x280]
mov ecx, dword [eax + 0x54]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x280]
mov eax, dword [edx + 0x54]
mov dword [ebp - 0x274], eax
mov ecx, dword [ebp - 0x274]
mov edx, dword [ecx + 0x2a0]
mov dword [ebp - 0x278], edx
mov eax, dword [ebp - 0x278]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.00410510
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
mov byte [ebp - 4], 1
cmp dword [ebp + 8], 0
jne 0x40eef4
lea ecx, [ebp - 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::IsEmpty]
movzx edx, al
test edx, edx
je 0x40eee2
mov dword [ebp - 0x264], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call dword [0x41610c]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call dword [0x41610c]
mov eax, dword [ebp - 0x264]
jmp 0x40f101
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x28]
call dword [0x416110]
jmp 0x40efc6
lea ecx, [ebp - 0x150]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.MSVCR71.dll__stat]
add esp, 8
test eax, eax
jne 0x40efb9
lea ecx, [ebp - 0x260]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
mov byte [ebp - 4], 2
push 0x2b32
lea ecx, [ebp - 0x260]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::LoadStringA]
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x260]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea ecx, [ebp - 0x25c]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0
push 4
lea edx, [ebp - 0x25c]
push edx
call sub.MFC71.DLL_AfxMessageBox
cmp eax, 6
je 0x40efa9
mov dword [ebp - 0x268], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x260]
call dword [0x41610c]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call dword [0x41610c]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call dword [0x41610c]
mov eax, dword [ebp - 0x268]
jmp 0x40f101
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x260]
call dword [0x41610c]
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x28]
call dword [0x416114]
push 0
push 0
lea ecx, [ebp - 0x12c]
push ecx
lea edx, [ebp - 0x2c]
push edx
lea ecx, [ebp - 0x28]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call dword [sym.imp.MSVCR71.dll__splitpath]
add esp, 0x14
lea eax, [ebp - 0x12c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x40f029
mov ecx, dword [ebp - 0x20]
movzx edx, byte [ebp + ecx - 0x12d]
cmp edx, 0x5c
je 0x40f01e
mov eax, dword [ebp - 0x20]
movzx ecx, byte [ebp + eax - 0x12d]
cmp ecx, 0x2f
jne 0x40f029
mov edx, dword [ebp - 0x20]
mov byte [ebp + edx - 0x12d], 0
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x24]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x12c]
push ecx
lea ecx, [ebp - 0x24]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_1]
lea ecx, [ebp - 0x24]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call dword [sym.imp.MSVCR71.dll__mkdir]
add esp, 4
lea ecx, [ebp - 0x28]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
mov dword [ebp - 0x27c], eax
mov edx, dword [ebp - 0x27c]
push edx
push 0
push 0x1421
mov ecx, dword [ebp - 0x10]
call fcn.004017b0
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x40f0c7
mov dword [ebp - 0x26c], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call dword [0x41610c]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call dword [0x41610c]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call dword [0x41610c]
mov eax, dword [ebp - 0x26c]
jmp 0x40f101
mov dword [ebp - 0x270], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call dword [0x41610c]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call dword [0x41610c]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call dword [0x41610c]
mov eax, dword [ebp - 0x270]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4