Function at 0x49dc10
Capabilities:
Delete file
Read .ini file

Disassembly:
mov eax, 0x50d130
call fcn.00484660
sub esp, 0x20
push ebx
mov dword [ebp - 0x20], ecx
push esi
push edi
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString_5
xor esi, esi
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], esi
call sub.MFC42.DLL_CString::CString_5
mov ecx, dword [ebp - 0x20]
push 1
mov byte [ebp - 4], 1
call fcn.0049ded5
test eax, eax
je 0x49deaa
mov esi, dword [sym.imp.BasicCtrlDll.dll_class_CString___cdecl_GetExeFolder_void_]
lea eax, [ebp - 0x24]
push eax
call esi
mov dword [esp], str.AUStat.ini
push dword [eax]
mov edi, 0x51a438
lea eax, [ebp - 0x14]
push edi
push eax
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
lea eax, [ebp - 0x24]
push eax
call esi
mov dword [esp], str.AUReport.ini
push dword [eax]
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 3
push edi
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
push dword [ebp - 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edi, str.Report
mov ebx, str.AUREPORT
push 0xffffffffffffffff
push edi
push ebx
call esi
cmp eax, 1
je 0x49dcdf
mov ecx, dword [ebp - 0x20]
xor esi, esi
push esi
call fcn.0049ded5
jmp 0x49deaa
push dword [ebp - 0x14]
push 0x56f7c0
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push dword [ebp - 0x10]
mov eax, dword [ebp + 8]
push 0
push str.ReportCount
push ebx
mov byte [eax], 7
call esi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x24], eax
test eax, eax
jle 0x49ddff
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString_5
xor eax, eax
mov byte [ebp - 4], 4
cmp dword [ebp - 0x24], eax
jle 0x49ddea
inc eax
mov dword [ebp - 0x2c], eax
push eax
lea eax, [ebp + 8]
push str.AUREPORT_SEC_d
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
push dword [ebp - 0x10]
push 0xffffffffffffffff
push str.ReportType
push dword [ebp + 8]
call esi
push dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
push 0xffffffffffffffff
push str.Param1
push dword [ebp + 8]
call esi
push dword [ebp - 0x10]
mov dword [ebp + 0xc], eax
push 0xffffffffffffffff
push str.Param2
push dword [ebp + 8]
call esi
push dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
push 0xffffffffffffffff
push str.Param3
push dword [ebp + 8]
call esi
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
cmp ecx, 3
je 0x49dd97
cmp ecx, 4
je 0x49dd97
cmp ecx, 5
jne 0x49ddea
cmp dword [ebp + 0xc], 0xffffffff
je 0x49ddea
cmp dword [ebp - 0x18], 0xffffffff
je 0x49ddea
cmp eax, 0xffffffff
je 0x49ddea
mov eax, dword [edi + 8]
push ecx
push eax
mov ecx, edi
call sub.MFC42.DLL_CWordArray::SetAtGrow
push dword [ebp + 0xc]
mov eax, dword [edi + 8]
mov ecx, edi
push eax
call sub.MFC42.DLL_CWordArray::SetAtGrow
push dword [ebp - 0x18]
mov eax, dword [edi + 8]
mov ecx, edi
push eax
call sub.MFC42.DLL_CWordArray::SetAtGrow
push dword [ebp - 0x28]
mov eax, dword [edi + 8]
mov ecx, edi
push eax
call sub.MFC42.DLL_CWordArray::SetAtGrow
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x24]
jl 0x49dd27
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
push dword [ebp - 0x14]
push 0xffffffffffffffff
push str.ReportType
push ebx
call esi
cmp eax, 3
mov dword [ebp - 0x1c], eax
je 0x49de1e
cmp eax, 4
je 0x49de1e
cmp eax, 5
jne 0x49de94
push dword [ebp - 0x14]
push 0xffffffffffffffff
push str.Param1
push ebx
call esi
push dword [ebp - 0x14]
mov dword [ebp + 0xc], eax
push 0xffffffffffffffff
push str.Param2
push ebx
call esi
push dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
push 0xffffffffffffffff
push str.Param3
push ebx
call esi
cmp dword [ebp + 0xc], 0xffffffff
mov esi, eax
je 0x49de94
cmp dword [ebp - 0x18], 0xffffffff
je 0x49de94
cmp esi, 0xffffffff
je 0x49de94
push dword [ebp - 0x1c]
mov eax, dword [edi + 8]
mov ecx, edi
push eax
call sub.MFC42.DLL_CWordArray::SetAtGrow
push dword [ebp + 0xc]
mov eax, dword [edi + 8]
mov ecx, edi
push eax
call sub.MFC42.DLL_CWordArray::SetAtGrow
push dword [ebp - 0x18]
mov eax, dword [edi + 8]
mov ecx, edi
push eax
call sub.MFC42.DLL_CWordArray::SetAtGrow
mov eax, dword [edi + 8]
push esi
push eax
mov ecx, edi
call sub.MFC42.DLL_CWordArray::SetAtGrow
mov ecx, dword [ebp - 0x20]
push 0
call fcn.0049ded5
mov edi, dword [edi + 8]
xor eax, eax
test edi, edi
setg al
mov esi, eax
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8