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

Disassembly:
mov eax, 0x4bad1c
call fcn.00458b70
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 0x44bbdc
push str.adlog.txt
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString_4
mov ebx, 0x502c30
lea ecx, [ebp - 0x14]
push ebx
mov dword [ebp - 4], edi
call sub.MFC42.DLL_CString::CString_4
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_1
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
push ecx
push eax
lea eax, [ebp - 0x20]
push eax
call sub.MFC42.DLL_operator_1
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, 0x502ebc
lea eax, [esi + 0x15c]
push edi
push eax
lea eax, [ebp - 0x1c]
push eax
call sub.MFC42.DLL_operator
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
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_4
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x1c]
push edi
push eax
call sub.MFC42.DLL_operator_1
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 0x44bb57
mov eax, dword [edi]
cmp eax, ebx
je 0x44bb1d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [edi], ebx
push edi
push 0x4c92d0
mov ecx, esi
call fcn.0044c97e
mov ebx, str.CeeH
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.0044a3dd
lea ecx, [ebp - 0x10]
call fcn.0045842e
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_2
push ecx
mov byte [ebp - 4], 0xc
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.adlog
call sub.MFC42.DLL_CString::CString_5
mov byte [ebp - 4], 0xb
call fcn.004493ba
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 0x44bbef
cmp byte [ebp + 8], 8
jne 0x44bbe6
push 1
jmp 0x44bbe8
push 2
mov ecx, esi
call fcn.0044ca1b
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0xc