Function at 0x45219f
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
and dword [ebp - 4], 0
xor edx, edx
push ebx
mov ebx, ecx
inc edx
push esi
mov esi, edx
mov dword [ebp - 0x10], ebx
push edi
and dword [ebx + 0x44], 0
mov dword [ebp - 0xc], esi
mov dword [ebx + 0x40], edx
lea edi, [ebx + 0x24]
jmp 0x4521fb
push 0
push 0
push 0
push 0
push edi
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x4521ff
mov eax, dword [ebx]
mov ecx, ebx
push dword [ebp - 4]
call dword [eax + 8]
inc dword [ebp - 4]
xor ecx, ecx
test eax, eax
cmovne ecx, esi
cmp dword [ebx + 0x44], 0
mov esi, ecx
mov dword [ebp - 0xc], esi
jne 0x452452
test esi, esi
jne 0x4521c5
push 0
push 0
push 0
push edi
call dword [sym.imp.USER32.dll_GetMessageW]
cmp eax, 0xffffffff
jne 0x452312
mov ecx, dword [0x769a40]
test ecx, ecx
je 0x452228
call fcn.0043b6bb
mov esi, eax
jmp 0x45222a
xor esi, esi
push 0x2800
call fcn.00549697
mov edi, eax
mov dword [esp], 0x5000
call fcn.00549697
mov dword [esp], str.::GetMessage_returned__1__error_
push 0xffffffffffffffff
push 0x2800
push eax
mov dword [ebp - 8], eax
call fcn.00402530
add esp, 0x10
xor eax, eax
push eax
push eax
push eax
push eax
push 0xffffffffffffffff
push dword [ebp - 8]
push eax
push eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp eax, 0x2800
jae 0x452289
xor ecx, ecx
push ecx
push ecx
push eax
push edi
push 0xffffffffffffffff
push dword [ebp - 8]
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push dword [ebp - 8]
call fcn.005432f0
pop ecx
test esi, esi
je 0x4522c7
mov eax, dword [esi]
mov ecx, esi
push 1
push 0
call dword [eax + 0x2c]
test al, al
je 0x4522c7
push dword [ebp + 4]
mov eax, dword [esi]
mov ecx, esi
push str.SOUI::SMessageLoop::Run
push 0x2c
push str.D:codeworkspace_soui_libSOUI_srccoreSMsgLoop.cpp
push edi
push str.soui
push 1
push 0
call dword [eax + 0x34]
jmp 0x452303
push 0x2800
call fcn.00549697
push 0x2c
push str.D:codeworkspace_soui_libSOUI_srccoreSMsgLoop.cpp
push str.SOUI::SMessageLoop::Run
push edi
push str._s__s__s:_d_n
push 0xffffffffffffffff
mov esi, eax
push 0x2800
push esi
call fcn.00402590
add esp, 0x24
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call fcn.005432f0
pop ecx
push edi
call fcn.005432f0
mov esi, dword [ebp - 0xc]
pop ecx
jmp 0x4521c0
test eax, eax
je 0x452360
mov eax, dword [ebx]
mov ecx, ebx
push edi
call dword [eax + 0x14]
mov eax, dword [ebx + 0x28]
sub eax, 0xf
je 0x452344
sub eax, 0x91
je 0x452344
sub eax, 0x78
je 0x452344
sub eax, 0xe8
je 0x452344
xor ecx, ecx
xor esi, esi
inc ecx
inc esi
mov dword [ebp - 0xc], esi
jmp 0x452346
xor ecx, ecx
cmp dword [ebx + 0x44], 0
jne 0x452452
xor eax, eax
test ecx, ecx
cmove eax, dword [ebp - 4]
mov dword [ebp - 4], eax
jmp 0x4521fb
mov ecx, dword [0x769a40]
test ecx, ecx
je 0x452373
call fcn.0043b6bb
mov esi, eax
jmp 0x452375
xor esi, esi
push 0x2800
call fcn.00549697
mov edi, eax
mov dword [esp], 0x5000
call fcn.00549697
mov ebx, eax
mov eax, dword [ebp - 0x10]
push dword [eax + 0x2c]
push str.SMessageLoop::Run___exiting_code___d
push 0xffffffffffffffff
push 0x2800
push ebx
call fcn.00402530
add esp, 0x18
xor eax, eax
push eax
push eax
push eax
push eax
push 0xffffffffffffffff
push ebx
push eax
push eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp eax, 0x2800
jae 0x4523d3
xor ecx, ecx
push ecx
push ecx
push eax
push edi
push 0xffffffffffffffff
push ebx
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebx
call fcn.005432f0
pop ecx
test esi, esi
je 0x45240f
mov eax, dword [esi]
mov ecx, esi
push 1
push 0
call dword [eax + 0x2c]
test al, al
je 0x45240f
push dword [ebp + 4]
mov eax, dword [esi]
mov ecx, esi
push str.SOUI::SMessageLoop::Run
push 0x31
push str.D:codeworkspace_soui_libSOUI_srccoreSMsgLoop.cpp
push edi
push str.soui
push 1
push 0
call dword [eax + 0x34]
jmp 0x452448
mov ebx, 0x2800
push ebx
call fcn.00549697
push 0x31
push str.D:codeworkspace_soui_libSOUI_srccoreSMsgLoop.cpp
push str.SOUI::SMessageLoop::Run
push edi
push str._s__s__s:_d_n
push 0xffffffffffffffff
mov esi, eax
push ebx
push esi
call fcn.00402590
add esp, 0x24
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call fcn.005432f0
pop ecx
push edi
call fcn.005432f0
mov ebx, dword [ebp - 0x10]
pop ecx
and dword [ebx + 0x40], 0
mov eax, dword [ebx + 0x2c]
pop edi
pop esi
pop ebx
leave
ret