Function at 0x458c58
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 4], 0
xor edx, edx
push ebx
push esi
push edi
mov edi, ecx
inc edx
mov ebx, edx
mov dword [ebp - 0xc], ebx
and dword [edi + 0x44], 0
mov dword [edi + 0x40], edx
test ebx, ebx
je 0x458cb4
lea esi, [edi + 0x24]
push 0
push 0
push 0
push 0
push esi
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x458cb4
mov eax, dword [edi]
mov ecx, edi
push dword [ebp - 4]
call dword [eax + 8]
inc dword [ebp - 4]
test eax, eax
jne 0x458ca6
xor ebx, ebx
mov dword [ebp - 0xc], ebx
cmp dword [edi + 0x44], 0
jne 0x458f0e
test ebx, ebx
jne 0x458c7d
push 0
push 0
push 0
lea esi, [edi + 0x24]
push esi
call dword [sym.imp.USER32.dll_GetMessageW]
cmp eax, 0xffffffff
jne 0x458dca
mov ecx, dword [0x5dbbc4]
test ecx, ecx
je 0x458ce0
call fcn.004455b8
mov esi, eax
jmp 0x458ce2
xor esi, esi
push 0x2800
call fcn.00534202
mov ebx, eax
mov dword [esp], 0x5000
call fcn.00534202
mov dword [esp], str.::GetMessage_returned__1__error_
push 0xffffffffffffffff
push 0x2800
push eax
mov dword [ebp - 8], eax
call fcn.0044fe02
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 0x458d41
xor ecx, ecx
push ecx
push ecx
push eax
push ebx
push 0xffffffffffffffff
push dword [ebp - 8]
push ecx
push ecx
call dword [sym.imp.KERNEL32.DLL_WideCharToMultiByte]
push dword [ebp - 8]
call fcn.005231b0
pop ecx
test esi, esi
je 0x458d7f
mov eax, dword [esi]
mov ecx, esi
push 1
push 0
call dword [eax + 0x2c]
test al, al
je 0x458d7f
push dword [ebp + 4]
mov eax, dword [esi]
mov ecx, esi
push str.SOUI::SMessageLoop::Run
push 0x2c
push str.E:_suohaonekeyfun_souiSOUI_srccoreSMsgLoop.cpp
push ebx
push str.soui
push 1
push 0
call dword [eax + 0x34]
jmp 0x458dbb
push 0x2800
call fcn.00534202
push 0x2c
push str.E:_suohaonekeyfun_souiSOUI_srccoreSMsgLoop.cpp
push str.SOUI::SMessageLoop::Run
push ebx
push str._s__s__s:_d_n
push 0xffffffffffffffff
mov esi, eax
push 0x2800
push esi
call fcn.0044fde3
add esp, 0x24
push esi
call dword [sym.imp.KERNEL32.DLL_OutputDebugStringA]
push esi
call fcn.005231b0
pop ecx
push ebx
call fcn.005231b0
mov ebx, dword [ebp - 0xc]
pop ecx
jmp 0x458c76
test eax, eax
je 0x458e18
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x14]
mov eax, dword [edi + 0x28]
sub eax, 0xf
je 0x458dfc
sub eax, 0x91
je 0x458dfc
sub eax, 0x78
je 0x458dfc
sub eax, 0xe8
je 0x458dfc
xor ecx, ecx
xor ebx, ebx
inc ecx
inc ebx
mov dword [ebp - 0xc], ebx
jmp 0x458dfe
xor ecx, ecx
cmp dword [edi + 0x44], 0
jne 0x458f0e
xor eax, eax
test ecx, ecx
cmove eax, dword [ebp - 4]
mov dword [ebp - 4], eax
jmp 0x458c76
mov ecx, dword [0x5dbbc4]
test ecx, ecx
je 0x458e2b
call fcn.004455b8
mov esi, eax
jmp 0x458e2d
xor esi, esi
push 0x2800
call fcn.00534202
mov ebx, eax
mov dword [esp], 0x5000
call fcn.00534202
push dword [edi + 0x2c]
mov dword [ebp - 0xc], eax
push str.SMessageLoop::Run___exiting_code___d
push 0xffffffffffffffff
push 0x2800
push eax
call fcn.0044fe02
add esp, 0x18
xor eax, eax
push eax
push eax
push eax
push eax
push 0xffffffffffffffff
push dword [ebp - 0xc]
push eax
push eax
call dword [sym.imp.KERNEL32.DLL_WideCharToMultiByte]
cmp eax, 0x2800
jae 0x458e8d
xor ecx, ecx
push ecx
push ecx
push eax
push ebx
push 0xffffffffffffffff
push dword [ebp - 0xc]
push ecx
push ecx
call dword [sym.imp.KERNEL32.DLL_WideCharToMultiByte]
push dword [ebp - 0xc]
call fcn.005231b0
pop ecx
test esi, esi
je 0x458ecb
mov eax, dword [esi]
mov ecx, esi
push 1
push 0
call dword [eax + 0x2c]
test al, al
je 0x458ecb
push dword [ebp + 4]
mov eax, dword [esi]
mov ecx, esi
push str.SOUI::SMessageLoop::Run
push 0x31
push str.E:_suohaonekeyfun_souiSOUI_srccoreSMsgLoop.cpp
push ebx
push str.soui
push 1
push 0
call dword [eax + 0x34]
jmp 0x458f07
push 0x2800
call fcn.00534202
push 0x31
push str.E:_suohaonekeyfun_souiSOUI_srccoreSMsgLoop.cpp
push str.SOUI::SMessageLoop::Run
push ebx
push str._s__s__s:_d_n
push 0xffffffffffffffff
mov esi, eax
push 0x2800
push esi
call fcn.0044fde3
add esp, 0x24
push esi
call dword [sym.imp.KERNEL32.DLL_OutputDebugStringA]
push esi
call fcn.005231b0
pop ecx
push ebx
call fcn.005231b0
pop ecx
and dword [edi + 0x40], 0
mov eax, dword [edi + 0x2c]
pop edi
pop esi
pop ebx
leave
ret