Function at 0x404a20
Capabilities:
Access peb ldr_data
Create directory
Delete directory
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4542c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 8]
mov byte [esp + 0x28], 1
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 2
call sub.MFC42.DLL_CString::CString_2
mov ebx, 3
lea eax, [esp + 0x14]
push ebx
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x30], bl
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 4
call fcn.004149b6
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
push str.DIR800801
lea edx, [esp + 0x18]
push ecx
push edx
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 5
call fcn.004149b6
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], bl
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 8]
push 0x465418
lea ecx, [esp + 0x18]
push eax
push ecx
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 6
call fcn.004149b6
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], bl
call sub.MFC42.DLL_CString::CString
push 0x4692a0
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::operator_1
mov edx, dword [esp + 8]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov esi, eax
test esi, esi
je 0x404b29
mov eax, dword [esp + 8]
push 2
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, dword [0x469268]
test eax, eax
je 0x404bf1
push ecx
lea edx, [esp + 0xc]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call sub.MFC42.DLL_CString::CString_1
push ecx
mov byte [esp + 0x30], 7
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x4692a4
call sub.MFC42.DLL_CString::CString_1
mov byte [esp + 0x30], bl
call fcn.004132c0
add esp, 8
test eax, eax
push ecx
mov ecx, esp
jne 0x404baf
mov dword [esp + 0x20], esp
push 0x46929c
call sub.MFC42.DLL_CString::CString_1
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
mov byte [esp + 0x34], 8
call sub.MFC42.DLL_CString::CString_1
mov byte [esp + 0x30], bl
call fcn.004132c0
add esp, 8
test esi, esi
je 0x404c2b
mov ecx, dword [esp + 8]
push ecx
jmp 0x404c25
mov dword [esp + 0x20], esp
push 0x46929c
call sub.MFC42.DLL_CString::CString_1
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
mov byte [esp + 0x34], 9
call sub.MFC42.DLL_CString::CString_1
mov byte [esp + 0x30], bl
call fcn.004132c0
add esp, 8
test esi, esi
je 0x404c92
mov eax, dword [esp + 8]
push eax
jmp 0x404c8c
mov ecx, dword [esp + 8]
mov edx, dword [0x4692a4]
push ecx
push edx
call fcn.00412990
mov ecx, dword [esp + 0x14]
add esp, 8
test eax, eax
mov eax, dword [0x46929c]
push eax
push ecx
jne 0x404c7b
call fcn.00412990
add esp, 8
test esi, esi
je 0x404c2b
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov byte [esp + 0x28], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop esi
pop ebx
add esp, 0x24
ret 4
call fcn.00412990
add esp, 8
test esi, esi
je 0x404c92
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov byte [esp + 0x28], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x20]
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret 4