Function at 0x40c898
Capabilities:
Create directory
Delete file

Disassembly:
mov eax, 0x4138e4
call fcn.00411610
sub esp, 0x58
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x24], edi
push dword [ebp + 0xc]
lea eax, [ebp - 0x24]
mov dword [ebp - 4], edi
push eax
call fcn.00403553
mov eax, dword [ebp - 0x24]
cmp eax, edi
je 0x40ccc5
cmp dword [ebp + 8], edi
jbe 0x40ccc5
lea ecx, [ebp + 0xc]
call sub.MFC42.DLL_CString::CString_5
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 1
call fcn.0040d00a
push dword [eax]
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
call fcn.0040d087
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
push edi
mov esi, str.____QQBuddyStart
lea ecx, [ebp + 0xc]
push esi
call sub.MFC42.DLL_CString::Find_1
cmp eax, 0xffffffff
mov dword [ebp - 0x10], eax
je 0x40cb11
push esi
call sub.MSVCRT.dll_strlen
add dword [ebp - 0x10], eax
pop ecx
push dword [ebp - 0x10]
lea ecx, [ebp + 0xc]
push 0x41b9e8
call sub.MFC42.DLL_CString::Find_1
cmp eax, 0xffffffff
mov dword [ebp - 0x30], eax
je 0x40cb09
sub eax, dword [ebp - 0x10]
lea ecx, [ebp + 0xc]
push eax
lea eax, [ebp - 0x28]
push dword [ebp - 0x10]
push eax
call sub.MFC42.DLL_CString::Mid
push 0x41b9e4
lea eax, [ebp - 0x1c]
push dword [ebp - 0x28]
mov byte [ebp - 4], 4
push eax
call fcn.00408b7b
push 0x41c0f8
push dword [ebp - 0x1c]
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 0x14
test eax, eax
je 0x40caf1
mov word [ebp - 0x54], di
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 6
mov word [ebp - 0x64], di
call fcn.0040d262
lea edx, [ebp - 0x54]
lea esi, [ebp - 0x64]
push edx
mov eax, dword [ebp - 0x24]
sub esp, 0x10
mov byte [ebp - 4], 7
mov edi, esp
mov ecx, dword [eax]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x20]
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ebx, eax
neg ebx
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 6
sbb bl, bl
push eax
inc bl
call edi
test bl, bl
je 0x40cae9
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0040d173
push 0x41b9e8
mov byte [ebp - 4], 8
call sub.MSVCRT.dll_strlen
mov esi, eax
pop ecx
add esi, dword [ebp - 0x30]
lea ecx, [ebp + 0xc]
push esi
push str.____QQBuddyEnd___
call sub.MFC42.DLL_CString::Find_1
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40ca62
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::CString
lea eax, [ebp - 0x54]
push eax
call edi
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
xor edi, edi
jmp 0x40cb09
push 0x41b9cc
push dword [ebp - 0x1c]
call dword [sym.imp.MSVCRT.dll__mbscmp]
pop ecx
test eax, eax
pop ecx
jne 0x40ca9a
mov eax, dword [ebp - 0x14]
cmp dword [eax - 8], 0xb
jl 0x40ca9a
push 8
push 3
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::Delete
push 0x41b9c0
push 3
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::Insert
sub ebx, esi
lea eax, [ebp - 0x34]
push ebx
push esi
push eax
lea ecx, [ebp + 0xc]
call sub.MFC42.DLL_CString::Mid
push ebx
push esi
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 9
call sub.MFC42.DLL_CString::Delete
push dword [ebp - 0x14]
lea ecx, [ebp + 0xc]
push esi
call sub.MFC42.DLL_CString::Insert
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 8
mov eax, dword [eax - 8]
lea eax, [eax + esi + 1]
mov dword [ebp - 0x10], eax
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::CString
lea eax, [ebp - 0x54]
push eax
call edi
xor edi, edi
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
push dword [ebp - 0x10]
jmp 0x40c923
push dword [ebp + 8]
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x34]
push eax
call fcn.0040cf8a
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x34]
call sub.MFC42.DLL_CString::CString
lea eax, [ebp - 0x34]
mov ebx, 0x41c110
push eax
mov ecx, ebx
call fcn.0040be53
push str._FileCache
push eax
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0xa
push eax
call sub.MFC42.DLL_operator
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xc
call sub.MFC42.DLL_CString::CString
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push edi
push dword [ebp - 0x20]
call esi
lea eax, [ebp - 0x30]
mov ecx, ebx
push eax
call fcn.0040be53
push dword [ebp + 8]
mov byte [ebp - 4], 0xd
push dword [eax]
lea eax, [ebp - 0x20]
push str._s_FileCache__u
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xc
call sub.MFC42.DLL_CString::CString
push edi
push dword [ebp - 0x20]
call esi
lea ecx, [ebp - 0x44]
call sub.MFC42.DLL_CFile::CFile
push dword [ebp + 8]
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 0xe
push eax
call fcn.0040cf8a
mov eax, dword [eax]
push edi
push 0x1002
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xf
call sub.MFC42.DLL_CFile::Open
mov ebx, eax
lea ecx, [ebp - 0x30]
neg ebx
sbb bl, bl
mov byte [ebp - 4], 0xe
inc bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x40cc1a
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xc
call fcn.00411194
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
and byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x24]
jmp 0x40ccc9
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x44]
push dword [eax - 8]
push eax
mov eax, dword [ebp - 0x44]
call dword [eax + 0x40]
lea ecx, [ebp - 0x44]
call sub.MFC42.DLL_CFile::Close
lea ecx, [ebp - 0x2c]
call sub.MFC42.DLL_CString::CString_5
push dword [ebp + 8]
mov ecx, dword [ebp - 0x18]
lea eax, [ebp + 8]
mov byte [ebp - 4], 0x10
push eax
call fcn.0040cf8a
push dword [eax]
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x11
push str.file:___s
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0x10
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0x18]
push edi
push edi
push edi
push edi
push edi
push dword [ebp - 0x2c]
call sub.MFC42.DLL_CHtmlView::Navigate
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xe
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xc
call fcn.00411194
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
and byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x24]
or dword [ebp - 4], 0xffffffff
cmp eax, edi
je 0x40ccc1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
jmp 0x40ccd8
or dword [ebp - 4], 0xffffffff
cmp eax, edi
je 0x40ccd3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, 0x80004005
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8