Function at 0x401b80
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x456d28
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x164
push ebx
mov ebx, dword [ebp + 8]
push esi
mov dword [ebp - 0x14], ecx
push edi
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp - 0x170]
mov eax, ecx
mov esi, edi
mov edi, edx
mov dword [ebp - 0x10], esp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x170]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
lea edx, [ebp - 0x170]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push ebx
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [ebp - 0x68]
mov dword [ebp - 4], 0
call fcn.00455ae0
push 0
push 0x1001
push ebx
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CFile::Open
test eax, eax
je 0x401d33
push 0
push 0x1000
lea eax, [ebp - 0x68]
push 0
push eax
lea ecx, [ebp - 0x58]
call fcn.00455ad4
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x30]
add ecx, 4
mov byte [ebp - 4], 3
cmp ecx, eax
jbe 0x401c4d
lea ecx, [ebp - 0x58]
call sub.MFC42.DLL_CArchive::Flush
mov edx, dword [ebp - 0x34]
mov esi, dword [ebp - 0x14]
mov dword [edx], 2
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
mov edi, dword [esi + 0xc]
add eax, 4
mov dword [ebp - 0x34], eax
add eax, 4
cmp eax, ecx
jbe 0x401c77
lea ecx, [ebp - 0x58]
call sub.MFC42.DLL_CArchive::Flush
mov eax, dword [ebp - 0x34]
mov dword [eax], edi
mov eax, dword [ebp - 0x34]
add eax, 4
xor ebx, ebx
mov dword [ebp - 0x34], eax
cmp ebx, dword [esi + 0xc]
jge 0x401d17
mov edx, dword [esi + 8]
mov eax, dword [ebp - 0x34]
lea ecx, [ebx + ebx*4]
add eax, 4
mov edi, dword [edx + ecx*4]
lea esi, [edx + ecx*4]
cmp eax, dword [ebp - 0x30]
jbe 0x401caf
lea ecx, [ebp - 0x58]
call sub.MFC42.DLL_CArchive::Flush
mov ecx, dword [ebp - 0x34]
lea edx, [esi + 4]
push edx
mov dword [ecx], edi
mov eax, dword [ebp - 0x34]
add eax, 4
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x58]
push eax
call sub.MFC42.DLL_operator__
lea ecx, [esi + 8]
push ecx
push eax
call sub.MFC42.DLL_operator__
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x30]
mov edi, dword [esi + 0xc]
add edx, 4
cmp edx, eax
jbe 0x401cec
lea ecx, [ebp - 0x58]
call sub.MFC42.DLL_CArchive::Flush
mov eax, dword [ebp - 0x34]
push ecx
mov dword [ebp - 0x6c], esp
mov dword [eax], edi
mov edx, dword [ebp - 0x34]
add edx, 4
mov eax, esp
mov dword [ebp - 0x34], edx
mov ecx, dword [esi + 0x10]
lea edx, [ebp - 0x58]
mov dword [eax], ecx
push edx
call sub.MFC42.DLL_operator___1
mov esi, dword [ebp - 0x14]
inc ebx
jmp 0x401c87
lea ecx, [ebp - 0x58]
call sub.MFC42.DLL_CArchive::Close
lea ecx, [ebp - 0x68]
call sub.MFC42.DLL_CFile::Close
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CArchive::CArchive
lea ecx, [ebp - 0x68]
mov dword [ebp - 4], 0
call sub.MFC42.DLL_CFile::CFile
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4