Function at 0x48fb00
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, ecx
mov ebx, 1
xor esi, esi
mov dword [edi + 0x40], ebx
mov dword [edi + 0x44], esi
mov dword [ebp - 8], esi
lea eax, [edi + 0x24]
test ebx, ebx
je 0x48fb6b
push 0
push 0
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x48fb68
mov ecx, dword [0x5f95b8]
call fcn.0045e700
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 8]
inc esi
xor ecx, ecx
test eax, eax
mov dword [ebp - 8], esi
cmovne ecx, ebx
cmp dword [edi + 0x44], 0
mov ebx, ecx
jne 0x48fe2a
lea eax, [edi + 0x24]
test ebx, ebx
jne 0x48fb22
jmp 0x48fb6b
lea eax, [edi + 0x24]
push 0
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
mov ecx, dword [0x5f95b8]
mov esi, eax
call fcn.0045e700
cmp esi, 0xffffffff
jne 0x48fcc4
mov ecx, dword [0x5f95b8]
test ecx, ecx
je 0x48fba1
call fcn.0044c610
mov esi, eax
jmp 0x48fba3
xor esi, esi
push 0x2801
call fcn.0055ba77
push 0x5002
mov dword [ebp - 4], eax
call fcn.0055ba77
push 0x5a7bc8
push 0xffffffffffffffff
push 0x2800
push eax
mov dword [ebp - 0xc], eax
call fcn.00448cd0
add esp, 0x18
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 0
push eax
push dword [ebp - 0xc]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ecx, eax
mov eax, dword [ebp - 0x10]
cmp eax, 0x2800
jge 0x48fc17
push 0
push 0
push ecx
push dword [ebp - 4]
push eax
push dword [ebp - 0xc]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
mov byte [ecx + eax], 0
push dword [ebp - 0xc]
call fcn.0055ba5c
add esp, 4
test esi, esi
je 0x48fc6d
mov eax, dword [esi]
mov ecx, esi
push 1
push 0
mov eax, dword [eax + 0x2c]
call eax
test al, al
je 0x48fc6d
mov eax, dword [ebp + 4]
mov ecx, esi
mov edx, dword [esi]
push eax
push 0x59b528
push 0x2e
push str.F:XTrendPCdep_soui_srccoreSMsgLoop.cpp
push dword [ebp - 4]
push str.soui
push 1
push 0
call dword [edx + 0x34]
push dword [ebp - 4]
call fcn.0055ba5c
mov esi, dword [ebp - 8]
add esp, 4
jmp 0x48fb1b
push 0x2801
call fcn.0055ba77
push 0x59b528
push dword [ebp - 4]
mov esi, eax
push 0x2e
push str.F:XTrendPCdep_soui_srccoreSMsgLoop.cpp
push str._s:_d___s__s__n
push 0xffffffffffffffff
push 0x2800
push esi
call fcn.0042d1a0
add esp, 0x24
mov byte [eax + esi], 0
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call fcn.0055ba5c
add esp, 4
push dword [ebp - 4]
call fcn.0055ba5c
mov esi, dword [ebp - 8]
add esp, 4
jmp 0x48fb1b
test esi, esi
je 0x48fd16
mov eax, dword [edi]
lea ecx, [edi + 0x24]
push ecx
mov ecx, edi
call dword [eax + 0x14]
mov eax, dword [edi + 0x28]
cmp eax, 0x118
ja 0x48fceb
je 0x48fcfb
cmp eax, 0xf
je 0x48fcfb
cmp eax, 0xa0
jmp 0x48fcf0
cmp eax, 0x200
je 0x48fcfb
mov ecx, 1
mov ebx, ecx
jmp 0x48fcfd
xor ecx, ecx
cmp dword [edi + 0x44], 0
jne 0x48fe2a
xor eax, eax
test ecx, ecx
cmove eax, dword [ebp - 8]
mov esi, eax
jmp 0x48fb18
mov ecx, dword [0x5f95b8]
test ecx, ecx
je 0x48fd29
call fcn.0044c610
mov esi, eax
jmp 0x48fd2b
xor esi, esi
push 0x2801
call fcn.0055ba77
push 0x5002
mov ebx, eax
call fcn.0055ba77
push dword [edi + 0x2c]
mov dword [ebp - 0xc], eax
push str.SMessageLoop::Run___exiting_code___d
push 0xffffffffffffffff
push 0x2800
push eax
call fcn.00448cd0
add esp, 0x1c
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 0
push eax
push dword [ebp - 0xc]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ecx, eax
mov eax, dword [ebp - 0x10]
cmp eax, 0x2800
jge 0x48fd9c
push 0
push 0
push ecx
push ebx
push eax
push dword [ebp - 0xc]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, dword [ebp - 0x10]
mov byte [eax + ebx], 0
push dword [ebp - 0xc]
call fcn.0055ba5c
add esp, 4
test esi, esi
je 0x48fddf
mov eax, dword [esi]
mov ecx, esi
push 1
push 0
mov eax, dword [eax + 0x2c]
call eax
test al, al
je 0x48fddf
mov eax, dword [ebp + 4]
mov ecx, esi
mov edx, dword [esi]
push eax
push 0x59b528
push 0x31
push str.F:XTrendPCdep_soui_srccoreSMsgLoop.cpp
push ebx
push str.soui
push 1
push 0
call dword [edx + 0x34]
jmp 0x48fe21
push 0x2801
call fcn.0055ba77
push 0x59b528
push ebx
push 0x31
push str.F:XTrendPCdep_soui_srccoreSMsgLoop.cpp
push str._s:_d___s__s__n
push 0xffffffffffffffff
mov esi, eax
push 0x2800
push esi
call fcn.0042d1a0
add esp, 0x24
mov byte [eax + esi], 0
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call fcn.0055ba5c
add esp, 4
push ebx
call fcn.0055ba5c
add esp, 4
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x40], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret