Function at 0x401590
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x402630
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x70
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x10], 0
lea ecx, [esp + 0x64]
mov dword [esp + 0x88], 1
call sub.MFC42.DLL_CFileFind::CFileFind
lea eax, [esp + 0x90]
push str..
lea ecx, [esp + 0x18]
mov ebx, 2
push eax
push ecx
mov byte [esp + 0x94], bl
call sub.MFC42.DLL_operator
mov eax, dword [eax]
push 0
push eax
lea ecx, [esp + 0x6c]
mov byte [esp + 0x90], 3
call sub.MFC42.DLL_CFileFind::FindFile
lea ecx, [esp + 0x14]
mov esi, eax
mov byte [esp + 0x88], bl
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x94]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test esi, esi
je 0x401987
mov ebp, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [esp + 0x64]
call sub.MFC42.DLL_CFileFind::FindNextFileA
mov dword [esp + 0x54], eax
mov al, byte [esp + 0x10]
test al, 1
mov dword [esp + 0x88], ebx
je 0x401660
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x58]
and al, 0xfe
mov dword [esp + 0x10], eax
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x64]
call sub.MFC42.DLL_CFileFind::IsDots
test eax, eax
jne 0x40197b
mov eax, dword [esp + 0x64]
push 0x10
lea ecx, [esp + 0x68]
call dword [eax + 0x40]
test eax, eax
je 0x4017e3
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x68]
call sub.MFC42.DLL_CFileFind::GetFileName
mov esi, eax
lea edx, [esp + 0x94]
push 0x405020
lea eax, [esp + 0x1c]
push edx
push eax
mov byte [esp + 0x94], 5
call sub.MFC42.DLL_operator
push esi
lea ecx, [esp + 0x18]
push eax
push ecx
mov byte [esp + 0x94], 6
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
push eax
call dword [sym.imp.dbghelp.dll_MakeSureDirectoryPathExists]
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x88], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x88], bl
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x64]
push edx
call sub.MFC42.DLL_CFileFind::GetFileName
mov esi, eax
lea eax, [esp + 0x94]
push 0x405020
lea ecx, [esp + 0x2c]
push eax
push ecx
mov byte [esp + 0x94], 7
call sub.MFC42.DLL_operator
push ecx
mov byte [esp + 0x8c], 8
mov edx, esp
mov dword [esp + 0x60], esp
push esi
push eax
push edx
call sub.MFC42.DLL_operator_1
lea eax, [esp + 0x28]
lea ecx, [esp + 0x68]
push eax
mov byte [esp + 0x90], 9
call sub.MFC42.DLL_CFileFind::GetFileName
mov esi, eax
lea ecx, [esp + 0x94]
push 0x405020
lea edx, [esp + 0x28]
push ecx
push edx
mov byte [esp + 0x98], 0xa
call sub.MFC42.DLL_operator
push ecx
mov byte [esp + 0x90], 0xb
mov ecx, esp
mov dword [esp + 0x68], esp
push esi
push eax
push ecx
call sub.MFC42.DLL_operator_1
mov byte [esp + 0x90], 0xd
call fcn.00401590
add esp, 8
lea ecx, [esp + 0x20]
mov byte [esp + 0x88], 0xc
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x88], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x88], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x88], bl
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x38]
lea ecx, [esp + 0x64]
push edx
call sub.MFC42.DLL_CFileFind::GetFileName
mov esi, eax
lea eax, [esp + 0x90]
push 0x405020
lea ecx, [esp + 0x38]
push eax
push ecx
mov byte [esp + 0x94], 0xe
call sub.MFC42.DLL_operator
push esi
lea edx, [esp + 0x34]
push eax
push edx
mov byte [esp + 0x94], 0xf
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
push 0x80
push eax
call ebp
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0x88], 0xe
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x38]
mov byte [esp + 0x88], bl
call sub.MFC42.DLL_CString::CString
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
push 1
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x98]
lea eax, [esp + 0x50]
lea ecx, [esp + 0x64]
push eax
call sub.MFC42.DLL_CFileFind::GetFileName
mov esi, eax
lea ecx, [esp + 0x94]
push 0x405020
lea edx, [esp + 0x50]
push ecx
push edx
mov byte [esp + 0x94], 0x10
call sub.MFC42.DLL_operator
push esi
push eax
lea eax, [esp + 0x50]
mov byte [esp + 0x90], 0x11
push eax
call sub.MFC42.DLL_operator_1
mov esi, dword [eax]
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x68]
mov byte [esp + 0x8c], 0x12
call sub.MFC42.DLL_CFileFind::GetFileName
mov edi, eax
lea edx, [esp + 0x90]
push 0x405020
lea eax, [esp + 0x44]
push edx
push eax
mov byte [esp + 0x94], 0x13
call sub.MFC42.DLL_operator
push edi
lea ecx, [esp + 0x40]
push eax
push ecx
mov byte [esp + 0x94], 0x14
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
push 0
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x40]
mov byte [esp + 0x88], 0x13
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x44]
mov byte [esp + 0x88], 0x12
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x48]
mov byte [esp + 0x88], 0x11
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x4c]
mov byte [esp + 0x88], 0x10
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x50]
mov byte [esp + 0x88], bl
call sub.MFC42.DLL_CString::CString
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
push 0xffffffffffffffff
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x98]
mov eax, dword [esp + 0x54]
test eax, eax
jne 0x401631
lea ecx, [esp + 0x64]
call sub.MFC42.DLL_CFileFind::Close
lea ecx, [esp + 0x64]
mov byte [esp + 0x88], 1
call fcn.00402136
lea ecx, [esp + 0x90]
mov byte [esp + 0x88], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x94]
mov dword [esp + 0x88], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x80]
pop edi
pop esi
pop ebp
mov eax, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x7c
ret