Function at 0x406ec0
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x40bbb8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov eax, dword [esp + 0x34]
mov dword [esp + 0x2c], 1
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4071b3
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx - 8]
test eax, eax
je 0x4071b3
push 1
lea edx, [esp + 0x1c]
push 1
push edx
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CString::Mid_1
mov eax, dword [eax]
mov esi, dword [sym.imp.MSVCRT.dll__mbscmp]
push 0x410294
push eax
call esi
add esp, 8
lea ecx, [esp + 0x18]
test eax, eax
setne bl
call sub.MFC42.DLL_CString::CString
test bl, bl
jne 0x4071b3
push 1
lea eax, [esp + 0x1c]
push 1
push eax
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_CString::Mid_1
mov eax, dword [eax]
push 0x410294
push eax
call esi
add esp, 8
lea ecx, [esp + 0x18]
test eax, eax
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x406f9d
lea ecx, [esp + 0x18]
push 2
push ecx
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x30], 2
call fcn.0040a632
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 1
call sub.MFC42.DLL_CString::CString
push 1
lea edx, [esp + 0x1c]
push 0
push edx
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_CString::Mid_1
mov eax, dword [eax]
push 0x410058
push eax
call esi
add esp, 8
lea ecx, [esp + 0x18]
test eax, eax
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x406ffb
lea eax, [esp + 0x18]
push 1
push eax
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x30], 3
call fcn.0040a632
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_1
lea edx, [esp + 0x18]
push 1
push edx
lea ecx, [esp + 0x18]
mov byte [esp + 0x34], 4
call sub.MFC42.DLL_CString::Right
mov eax, dword [eax]
push 0x410058
push eax
call esi
add esp, 8
lea ecx, [esp + 0x18]
test eax, eax
setne bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x40704b
push 0x410058
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_1
lea eax, [esp + 0x38]
lea ecx, [esp + 0x10]
push eax
lea edx, [esp + 0x18]
push ecx
push edx
call sub.MFC42.DLL_operator
mov eax, dword [esp + 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov bl, 5
push 0
push eax
mov byte [esp + 0x34], bl
call edi
test eax, eax
jne 0x407155
push 0x410058
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::Find
mov esi, eax
test esi, esi
jge 0x4070bd
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator
mov edx, dword [esp + 0x10]
push 0
push edx
call edi
test eax, eax
mov byte [esp + 0x2c], 4
lea ecx, [esp + 0x14]
jne 0x40715e
jmp 0x4071a0
push esi
lea eax, [esp + 0x1c]
push 0
push eax
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_CString::Mid_1
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 6
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], bl
call sub.MFC42.DLL_CString::CString
inc esi
lea ecx, [esp + 0x18]
push esi
push ecx
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x30], 7
call fcn.0040a632
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], bl
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x10]
push 0
push edx
call edi
test eax, eax
je 0x407197
push ecx
lea eax, [esp + 0x3c]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call sub.MFC42.DLL_CString::CString_1
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
mov byte [esp + 0x38], 8
call sub.MFC42.DLL_CString::CString_1
mov ecx, ebp
mov byte [esp + 0x34], bl
call fcn.00406ec0
mov byte [esp + 0x2c], 4
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x38]
mov dword [esp + 0x2c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
jmp 0x4071d4
mov byte [esp + 0x2c], 4
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x38]
mov dword [esp + 0x2c], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 8