Function at 0x1006e781
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
and dword [ebp - 4], 0
xor eax, eax
push ebx
mov ebx, ecx
inc eax
push esi
push edi
mov edi, eax
and dword [ebx + 0x44], 0
mov dword [ebp - 0xc], edi
mov dword [ebx + 0x40], eax
test edi, edi
je 0x1006e7dd
lea esi, [ebx + 0x24]
push 0
push 0
push 0
push 0
push esi
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x1006e7dd
mov eax, dword [ebx]
mov ecx, ebx
push dword [ebp - 4]
call dword [eax + 8]
inc dword [ebp - 4]
test eax, eax
jne 0x1006e7cf
xor edi, edi
mov dword [ebp - 0xc], edi
cmp dword [ebx + 0x44], 0
jne 0x1006ea47
test edi, edi
jne 0x1006e7a6
push 0
push 0
push 0
lea esi, [ebx + 0x24]
push esi
call dword [sym.imp.USER32.dll_GetMessageW]
cmp eax, 0xffffffff
jne 0x1006e904
mov ecx, dword [0x10282acc]
test ecx, ecx
je 0x1006e809
call fcn.1004f683
mov esi, eax
jmp 0x1006e80b
xor esi, esi
push 0x2801
call fcn.100b7336
mov edi, eax
mov dword [esp], 0x5002
call fcn.100b7336
mov dword [esp], str.::GetMessage_returned__1__error_
push 0xffffffffffffffff
push 0x2800
push eax
mov dword [ebp - 8], eax
call fcn.10026770
add esp, 0x10
mov dword [ebp - 0x10], eax
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push eax
push dword [ebp - 8]
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ecx, eax
mov eax, dword [ebp - 0x10]
cmp eax, 0x2800
jge 0x1006e877
xor edx, edx
push edx
push edx
push ecx
push edi
push eax
push dword [ebp - 8]
push edx
push edx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, dword [ebp - 0x10]
mov byte [eax + edi], 0
push dword [ebp - 8]
call fcn.100b7331
pop ecx
test esi, esi
je 0x1006e8b5
mov eax, dword [esi]
mov ecx, esi
push 1
push 0
call dword [eax + 0x2c]
test al, al
je 0x1006e8b5
push dword [ebp + 4]
mov eax, dword [esi]
mov ecx, esi
push str.SOUI::SMessageLoop::Run
push 0x2c
push str.srccoreSMsgLoop.cpp
push edi
push str.soui
push 1
push 0
call dword [eax + 0x34]
jmp 0x1006e8f5
push 0x2801
call fcn.100b7336
push 0x2c
push str.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.100267d0
add esp, 0x24
mov byte [eax + esi], 0
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call fcn.100b7331
pop ecx
push edi
call fcn.100b7331
mov edi, dword [ebp - 0xc]
pop ecx
jmp 0x1006e79f
test eax, eax
je 0x1006e93c
mov eax, dword [ebx]
mov ecx, ebx
push esi
call dword [eax + 0x14]
push esi
call fcn.1006e6b8
pop ecx
test eax, eax
push 1
pop ecx
cmovne edi, ecx
cmp dword [ebx + 0x44], 0
mov dword [ebp - 0xc], edi
jne 0x1006ea47
xor ecx, ecx
test eax, eax
cmove ecx, dword [ebp - 4]
mov dword [ebp - 4], ecx
jmp 0x1006e79f
mov ecx, dword [0x10282acc]
test ecx, ecx
je 0x1006e94f
call fcn.1004f683
mov esi, eax
jmp 0x1006e951
xor esi, esi
push 0x2801
call fcn.100b7336
mov edi, eax
mov dword [esp], 0x5002
call fcn.100b7336
push dword [ebx + 0x2c]
mov dword [ebp - 0xc], eax
push str.SMessageLoop::Run___exiting_code___d
push 0xffffffffffffffff
push 0x2800
push eax
call fcn.10026770
add esp, 0x18
mov dword [ebp - 0x10], eax
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push eax
push dword [ebp - 0xc]
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ecx, eax
mov eax, dword [ebp - 0x10]
cmp eax, 0x2800
jge 0x1006e9be
xor edx, edx
push edx
push edx
push ecx
push edi
push eax
push dword [ebp - 0xc]
push edx
push edx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, dword [ebp - 0x10]
mov byte [eax + edi], 0
push dword [ebp - 0xc]
call fcn.100b7331
pop ecx
test esi, esi
je 0x1006ea00
mov eax, dword [esi]
xor ecx, ecx
inc ecx
push ecx
push 0
mov ecx, esi
call dword [eax + 0x2c]
test al, al
je 0x1006ea00
push dword [ebp + 4]
mov eax, dword [esi]
xor ecx, ecx
push str.SOUI::SMessageLoop::Run
push 0x31
push str.srccoreSMsgLoop.cpp
push edi
push str.soui
inc ecx
push ecx
push 0
mov ecx, esi
call dword [eax + 0x34]
jmp 0x1006ea40
push 0x2801
call fcn.100b7336
push 0x31
push str.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.100267d0
add esp, 0x24
mov byte [eax + esi], 0
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call fcn.100b7331
pop ecx
push edi
call fcn.100b7331
pop ecx
and dword [ebx + 0x40], 0
mov eax, dword [ebx + 0x2c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret