Function at 0x40ab90
Capabilities:
Create directory
Delete file
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x475da4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
push ebx
push ebp
push esi
mov ebx, ecx
push edi
lea ecx, [esp + 0x28]
call dword [0x47e138]
mov ecx, dword [ebx + 0xa0]
xor ebp, ebp
cmp ecx, ebp
mov dword [esp + 0x68], ebp
jne 0x40abce
mov dword [esp + 0x2c], ebp
jmp 0x40abdd
mov eax, dword [ebx + 0xa4]
sub eax, ecx
sar eax, 2
mov dword [esp + 0x2c], eax
cmp dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
jle 0x40afc2
jmp 0x40abf0
mov eax, dword [ebx + 0xa0]
mov ecx, dword [esp + 0x30]
mov esi, dword [eax + ecx*4]
mov ecx, ebx
call fcn.0040cad0
test eax, eax
jne 0x40b082
push 0x47f7b8
lea ecx, [esp + 0x28]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
lea edx, [esi + 0x40]
push edx
lea ecx, [esp + 0x24]
mov byte [esp + 0x6c], 1
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
lea ecx, [esp + 0x4c]
mov byte [esp + 0x68], 2
call sub.MFC71.DLL_CStringArray::CStringArray
mov byte [esp + 0x68], 3
call fcn.00415d00
push ecx
lea eax, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x4c], esp
push eax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
call fcn.00416190
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x28]
push edx
call fcn.00415450
add esp, 0xc
lea ecx, [esp + 0x18]
call dword [0x47e138]
mov ecx, 0x4da7a0
mov byte [esp + 0x68], 4
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetString]
push eax
lea eax, [esp + 0x1c]
push 0x4802c0
push eax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
mov eax, dword [esp + 0x60]
add esp, 0xc
xor edi, edi
test eax, eax
jle 0x40acf4
test edi, edi
jl 0x40afe4
cmp edi, eax
jge 0x40afe4
mov ecx, dword [esp + 0x50]
lea eax, [ecx + edi*4]
push eax
lea ecx, [esp + 0x1c]
call dword [0x47e134]
push 0
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetString]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0x47f7b8
lea ecx, [esp + 0x1c]
call dword [0x47e378]
mov eax, dword [esp + 0x54]
inc edi
cmp edi, eax
jl 0x40aca7
push 0
push 1
push 0
push 0
call fcn.004075b0
add esp, 0x10
lea ecx, [esp + 0x1c]
call dword [0x47e138]
push 0x30
push str.IDS_MESSAGE
mov byte [esp + 0x70], 5
call fcn.0040f3d0
add esp, 8
push eax
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator]
push 0x100
call sub.MFC71.DLL_operator_new
add esp, 4
push esi
lea ecx, [esp + 0x20]
mov edi, eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetString]
push eax
push str._s__s
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
mov edx, dword [ebx + 0x58]
add esp, 0x10
push edi
push 0
push 0x46d
push edx
call dword [sym.imp.USER32.dll_PostThreadMessageA]
mov edi, dword [esp + 0x2c]
add ebp, 0x14
mov eax, ebp
cdq
idiv edi
push 0
push 0x64
add eax, 0x46
cdq
push edx
push eax
call fcn.00407630
add esp, 0x10
lea ecx, [esp + 0x14]
call dword [0x47e138]
push str.New_Ran_IMBA_
lea eax, [esp + 0x40]
push 0x4da7a4
push eax
mov byte [esp + 0x74], 6
call fcn.00401510
push 0x4da7ac
push eax
lea ecx, [esp + 0x4c]
push ecx
mov byte [esp + 0x80], 7
call fcn.00402d30
push esi
push eax
lea edx, [esp + 0x54]
push edx
mov byte [esp + 0x8c], 8
call fcn.00401510
add esp, 0x24
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x6c], 9
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_1]
lea ecx, [esp + 0x34]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x38]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x3c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x10]
call dword [0x47e138]
push esi
lea ecx, [esp + 0x1c]
mov byte [esp + 0x6c], 0xa
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetString]
push eax
lea eax, [esp + 0x18]
push 0x47f7a8
push eax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
add esp, 0x10
push 0x2e
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::ReverseFind]
push eax
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Left]
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x6c], 0xb
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_1]
lea ecx, [esp + 0x40]
mov byte [esp + 0x68], 0xa
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
push 0x80
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetString]
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push eax
call esi
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetString]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetString]
push eax
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetString]
push eax
call fcn.004485e0
add esp, 8
test eax, eax
jne 0x40af25
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::MakeLower]
push 0x2e
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::ReverseFind]
push eax
lea edx, [esp + 0x48]
push edx
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Left]
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x6c], 0xc
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_1]
lea ecx, [esp + 0x44]
mov byte [esp + 0x68], 0xa
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
push 0
push str..dll
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Find]
cmp eax, 0xffffffff
jne 0x40af25
mov ecx, ebx
call fcn.0040cad0
test eax, eax
je 0x40afe9
push 0x80
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetString]
push eax
call esi
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x68], 4
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
push 0
push 1
push 0
push 1
call fcn.004075b0
add esp, 0x10
mov ecx, ebx
call fcn.0040cad0
test eax, eax
jne 0x40b056
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x4c]
mov byte [esp + 0x68], 2
call fcn.004624ec
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x24]
mov byte [esp + 0x68], 0
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov eax, dword [esp + 0x30]
inc eax
cmp eax, edi
mov dword [esp + 0x30], eax
jl 0x40abf0
lea ecx, [esp + 0x28]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov eax, 1
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
jmp fcn.004624ce
push 0x104
call sub.MFC71.DLL_operator_new
add esp, 4
mov edi, eax
call fcn.004483b0
mov esi, 0x104
mov ecx, edi
mov dl, byte [eax]
test dl, dl
je 0x40b013
mov byte [ecx], dl
inc ecx
inc eax
dec esi
jne 0x40b004
jmp 0x40b017
test esi, esi
jne 0x40b018
dec ecx
push edi
push 0
mov byte [ecx], 0
mov eax, dword [ebx + 0x58]
push 0x46d
push eax
call dword [sym.imp.USER32.dll_PostThreadMessageA]
mov eax, 1
lea ecx, [esp + 0x10]
mov dword [ebx + 0x44], eax
mov dword [ebx + 0x48], eax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x4c]
mov byte [esp + 0x68], 2
call fcn.004624ec
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x28]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ecx, dword [esp + 0x60]
pop edi
pop esi
pop ebp
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add esp, 0x5c
ret