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

Disassembly:
mov eax, 0x4aba7c
call fcn.0044c320
sub esp, 0x14
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x180], edi
mov dword [esi + 0x178], edi
je 0x440a3a
push str.adlog.txt
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString_1
mov ebx, 0x4ed680
lea ecx, [ebp - 0x14]
push ebx
mov dword [ebp - 4], edi
call sub.MFC42.DLL_CString::CString_1
lea ecx, [ebp - 0x14]
lea eax, [esi + 0x15c]
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, 0x4ed964
lea eax, [esi + 0x15c]
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 + 0x15c]
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_1
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 + 0x170], ebx
lea edi, [esi + 0x170]
jne 0x4409b5
mov eax, dword [edi]
cmp eax, ebx
je 0x44097b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [edi], ebx
push edi
push 0x4b9fb8
mov ecx, esi
call fcn.004417dc
mov ebx, 0x4b9fc8
mov ecx, esi
push ebx
call sub.MFC42.DLL_CCmdTarget::GetInterface
mov ecx, dword [edi]
lea edx, [esi + 0x174]
push edx
push 0
push eax
push ebx
push ecx
call sub.MFC42.DLL_AfxConnectionAdvise
push dword [esi + 0x180]
mov ecx, esi
call fcn.0043f23b
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString_5
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_2
mov byte [ebp - 4], 0xb
call fcn.0043e218
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 0x440a4d
cmp byte [ebp + 8], 8
jne 0x440a44
push 1
jmp 0x440a46
push 2
mov ecx, esi
call fcn.00441879
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0xc