Function at 0x404b60
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x40b720
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov eax, dword [esp + 0x30]
mov dword [esp + 0x28], 1
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x404e3d
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx - 8]
test eax, eax
je 0x404e3d
push 1
lea edx, [esp + 0x18]
push 1
push edx
lea ecx, [esp + 0x3c]
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 + 0x14]
test eax, eax
setne bl
call sub.MFC42.DLL_CString::CString
test bl, bl
jne 0x404e3d
push 1
lea eax, [esp + 0x18]
push 1
push eax
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CString::Mid_1
mov eax, dword [eax]
push 0x410294
push eax
call esi
add esp, 8
lea ecx, [esp + 0x14]
test eax, eax
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x404c3d
lea ecx, [esp + 0x14]
push 2
push ecx
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x2c], 2
call fcn.0040a632
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 1
call sub.MFC42.DLL_CString::CString
push 1
lea edx, [esp + 0x18]
push 0
push edx
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CString::Mid_1
mov eax, dword [eax]
push 0x410058
push eax
call esi
add esp, 8
lea ecx, [esp + 0x14]
test eax, eax
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x404c9b
lea eax, [esp + 0x14]
push 1
push eax
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x2c], 3
call fcn.0040a632
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_1
lea edx, [esp + 0x14]
push 1
push edx
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 4
call sub.MFC42.DLL_CString::Right
mov eax, dword [eax]
push 0x410058
push eax
call esi
add esp, 8
lea ecx, [esp + 0x14]
test eax, eax
setne bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x404ceb
push 0x410058
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_1
lea eax, [esp + 0x34]
lea ecx, [esp + 0x10]
push eax
lea edx, [esp + 0x18]
push ecx
push edx
call sub.MFC42.DLL_operator
mov eax, dword [eax]
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0
push eax
call edi
lea ecx, [esp + 0x14]
mov esi, eax
call sub.MFC42.DLL_CString::CString
test esi, esi
jne 0x404dfb
push 0x410058
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CString::Find
mov esi, eax
test esi, esi
jge 0x404d60
lea eax, [esp + 0x34]
lea ecx, [esp + 0x10]
push eax
call sub.MFC42.DLL_CString::operator
mov ecx, dword [esp + 0x10]
push 0
push ecx
call edi
test eax, eax
mov byte [esp + 0x28], 1
lea ecx, [esp + 0x10]
jne 0x404e04
jmp 0x404e38
push esi
lea edx, [esp + 0x18]
push 0
push edx
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CString::Mid_1
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 5
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 4
call sub.MFC42.DLL_CString::CString
inc esi
lea eax, [esp + 0x14]
push esi
push eax
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x2c], 6
call fcn.0040a632
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 4
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x10]
push 0
push ecx
call edi
test eax, eax
je 0x404e2f
push ecx
lea edx, [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call sub.MFC42.DLL_CString::CString_1
push ecx
lea eax, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
mov byte [esp + 0x34], 7
call sub.MFC42.DLL_CString::CString_1
mov ecx, ebp
mov byte [esp + 0x30], 4
call fcn.00404b60
mov byte [esp + 0x28], 1
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov dword [esp + 0x28], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
jmp 0x404e5e
mov byte [esp + 0x28], 1
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov dword [esp + 0x28], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1c
ret 8