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

Disassembly:
mov eax, 0x4db530
call fcn.0046fad0
sub esp, 0x14
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x174], edi
mov dword [esi + 0x16c], edi
je 0x48b42d
push str.adlog.txt
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString_5
mov ebx, 0x52c458
lea ecx, [ebp - 0x14]
push ebx
mov dword [ebp - 4], edi
call sub.MFC42.DLL_CString::CString_5
lea ecx, [ebp - 0x14]
lea eax, [esi + 0x14c]
push ecx
push eax
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 1
push eax
call sub.MFC42.DLL_operator_2
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
push ecx
push eax
lea eax, [ebp - 0x20]
push eax
call sub.MFC42.DLL_operator_2
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
mov edi, 0x52c99c
lea eax, [esi + 0x14c]
push edi
push eax
lea eax, [ebp - 0x1c]
push eax
call sub.MFC42.DLL_operator_3
mov eax, dword [eax]
push 0x80
push eax
mov byte [ebp - 4], 7
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
push edi
lea edi, [esi + 0x14c]
lea eax, [ebp - 0x1c]
push edi
push eax
call sub.MFC42.DLL_operator_3
push dword [eax]
mov byte [ebp - 4], 8
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
push ebx
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString_5
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x1c]
push edi
push eax
call sub.MFC42.DLL_operator_2
mov byte [ebp - 4], 0xa
mov eax, dword [eax]
xor ebx, ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
cmp dword [esi + 0x160], ebx
lea edi, [esi + 0x160]
jne 0x48b3a8
mov eax, dword [edi]
cmp eax, ebx
je 0x48b36e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [edi], ebx
push edi
push 0x4e5980
mov ecx, esi
call fcn.0048c026
mov ebx, str.CeeH
mov ecx, esi
push ebx
call sub.MFC42.DLL_CCmdTarget::GetInterface
mov ecx, dword [edi]
lea edx, [esi + 0x164]
push edx
push 0
push eax
push ebx
push ecx
call sub.MFC42.DLL_AfxConnectionAdvise
push dword [esi + 0x174]
mov ecx, esi
call fcn.00489c12
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString_4
movzx eax, word [ebp + 0xc]
push eax
mov byte [ebp - 4], 0xb
movzx eax, byte [ebp + 8]
push eax
lea eax, [ebp - 0x10]
push str.____UDPGetFile_FILETYPE_x_FILEID_d_
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea eax, [ebp - 0x10]
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [ebp - 4], 0xc
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.adlog
call sub.MFC42.DLL_CString::CString_1
mov byte [ebp - 4], 0xb
call fcn.00489364
add esp, 0xc
mov edi, dword [edi]
push 0
mov eax, dword [edi]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push edi
call dword [eax + 0x28]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::CString
jmp 0x48b440
cmp byte [ebp + 8], 8
jne 0x48b437
push 1
jmp 0x48b439
push 2
mov ecx, esi
call fcn.0048c0c3
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0xc