Function at 0x409960
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x4101f7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push esi
xor esi, esi
mov dword [esp + 0x1c], esi
lea ecx, [esp + 0xc]
mov dword [esp + 0x34], 2
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0x44]
lea ecx, [esp + 0x14]
push eax
push ecx
mov byte [esp + 0x3c], 3
call fcn.004012f0
add esp, 8
push 0x415ae8
lea ecx, [esp + 0xc]
mov byte [esp + 0x38], 4
call sub.MFC42.DLL_CString::CString
push 0x5c
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 5
call sub.MFC42.DLL_CString::ReverseFind
cmp eax, esi
jl 0x409a04
mov edx, dword [esp + 0x14]
mov ecx, dword [edx - 8]
sub ecx, eax
lea eax, [esp + 0x10]
dec ecx
push ecx
push eax
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Right
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x38], 6
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x10]
mov byte [esp + 0x34], 5
call fcn.0040e8b6
lea ecx, [esp + 4]
push ebx
push ecx
call fcn.004013e0
add esp, 4
mov edx, dword [esp + 8]
lea ecx, [esp + 8]
mov byte [esp + 0x38], 7
mov eax, dword [edx - 8]
dec eax
push eax
lea eax, [esp + 0x18]
push eax
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x3c], 8
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 7
call fcn.0040e8b6
lea ecx, [esp + 0x48]
lea edx, [esp + 0x14]
push ecx
push edx
call fcn.004012f0
mov eax, dword [eax]
push eax
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 0x10
lea ecx, [esp + 0x14]
test eax, eax
sete bl
call fcn.0040e8b6
test bl, bl
pop ebx
je 0x409ab5
lea ecx, [esp + 0x44]
lea edx, [esp + 0x10]
push ecx
push edx
call fcn.00401340
mov eax, dword [eax]
lea ecx, [esp + 0x14]
push eax
push 0x41502c
push ecx
mov byte [esp + 0x48], 9
call sub.MFC42.DLL_CString::Format
add esp, 0x14
mov byte [esp + 0x34], 7
lea ecx, [esp + 0x10]
jmp 0x409ba9
mov eax, dword [esp + 8]
mov cl, byte [eax]
cmp cl, 0x5f
je 0x409b77
mov ecx, dword [eax - 8]
cmp byte [ecx + eax - 1], 0x5f
je 0x409b77
lea edx, [esp + 0x44]
lea eax, [esp + 0x18]
push edx
push eax
call fcn.00401340
mov ecx, dword [eax]
mov edx, dword [esp + 0x10]
push ecx
push edx
lea eax, [esp + 0x1c]
push str._s_s
push eax
mov byte [esp + 0x4c], 0xa
call sub.MFC42.DLL_CString::Format
add esp, 0x18
lea ecx, [esp + 0x18]
mov byte [esp + 0x34], 7
call fcn.0040e8b6
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x40]
push ecx
push edx
lea eax, [esp + 0x18]
push str._s_s
push eax
mov byte [esp + 0x44], 0xb
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x20]
push esi
push ecx
call dword [sym.imp.MSVCRT.dll__access]
add esp, 0x18
cmp eax, esi
je 0x409b6c
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x20]
push edx
push eax
mov dword [esp + 0x28], 0xc
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 1
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov byte [esp + 0x34], 7
lea ecx, [esp + 0x10]
jmp 0x409ba9
lea ecx, [esp + 0x44]
lea edx, [esp + 0x18]
push ecx
push edx
call fcn.00401340
mov eax, dword [eax]
lea ecx, [esp + 0x14]
push eax
push 0x41502c
push ecx
mov byte [esp + 0x48], 0xc
call sub.MFC42.DLL_CString::Format
add esp, 0x14
mov byte [esp + 0x34], 7
lea ecx, [esp + 0x18]
call fcn.0040e8b6
mov esi, dword [esp + 0x3c]
lea edx, [esp + 0xc]
push edx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_1
mov dword [esp + 0x1c], 1
lea ecx, [esp + 4]
mov byte [esp + 0x34], 5
call fcn.0040e8b6
lea ecx, [esp + 8]
mov byte [esp + 0x34], 4
call fcn.0040e8b6
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 3
call fcn.0040e8b6
lea ecx, [esp + 0xc]
mov byte [esp + 0x34], 2
call fcn.0040e8b6
lea ecx, [esp + 0x40]
mov byte [esp + 0x34], 1
call fcn.0040e8b6
lea ecx, [esp + 0x44]
mov byte [esp + 0x34], 0
call fcn.0040e8b6
mov ecx, dword [esp + 0x2c]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x34
ret