Function at 0x1002ed15
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 4], 0
xor edx, edx
push ebx
mov ebx, ecx
inc edx
push esi
push edi
mov edi, edx
and dword [ebx + 0x44], 0
mov dword [ebp - 0xc], edi
mov dword [ebx + 0x40], edx
test edi, edi
je 0x1002ed71
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 0x1002ed71
mov eax, dword [ebx]
mov ecx, ebx
push dword [ebp - 4]
call dword [eax + 8]
inc dword [ebp - 4]
test eax, eax
jne 0x1002ed63
xor edi, edi
mov dword [ebp - 0xc], edi
cmp dword [ebx + 0x44], 0
jne 0x1002efcb
test edi, edi
jne 0x1002ed3a
push 0
push 0
push 0
lea esi, [ebx + 0x24]
push esi
call dword [sym.imp.USER32.dll_GetMessageW]
cmp eax, 0xffffffff
jne 0x1002ee87
mov ecx, dword [0x1018b4e0]
test ecx, ecx
je 0x1002ed9d
call fcn.10014e48
mov esi, eax
jmp 0x1002ed9f
xor esi, esi
push 0x2800
call fcn.100bdb32
mov edi, eax
mov dword [esp], 0x5000
call fcn.100bdb32
mov dword [esp], str.::GetMessage_returned__1__error_
push 0xffffffffffffffff
push 0x2800
push eax
mov dword [ebp - 8], eax
call fcn.1002eff8
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 0x1002edfe
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.100bdb3d
pop ecx
test esi, esi
je 0x1002ee3c
mov eax, dword [esi]
mov ecx, esi
push 4
push 0
call dword [eax + 0x2c]
test al, al
je 0x1002ee3c
push dword [ebp + 4]
mov eax, dword [esi]
mov ecx, esi
push str.SOUI::SMessageLoop::Run
push 0x2c
push str.d:workspace_soui_soui_srccore_smsgloop.cpp
push edi
push str.soui
push 4
push 0
call dword [eax + 0x34]
jmp 0x1002ee78
push 0x2800
call fcn.100bdb32
push 0x2c
push str.d:workspace_soui_soui_srccore_smsgloop.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.1002efd9
add esp, 0x24
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call fcn.100bdb3d
pop ecx
push edi
call fcn.100bdb3d
mov edi, dword [ebp - 0xc]
pop ecx
jmp 0x1002ed33
test eax, eax
je 0x1002eed5
mov eax, dword [ebx]
mov ecx, ebx
push esi
call dword [eax + 0x14]
mov eax, dword [ebx + 0x28]
sub eax, 0xf
je 0x1002eeb9
sub eax, 0x91
je 0x1002eeb9
sub eax, 0x78
je 0x1002eeb9
sub eax, 0xe8
je 0x1002eeb9
xor ecx, ecx
xor edi, edi
inc ecx
inc edi
mov dword [ebp - 0xc], edi
jmp 0x1002eebb
xor ecx, ecx
cmp dword [ebx + 0x44], 0
jne 0x1002efcb
xor eax, eax
test ecx, ecx
cmove eax, dword [ebp - 4]
mov dword [ebp - 4], eax
jmp 0x1002ed33
mov ecx, dword [0x1018b4e0]
test ecx, ecx
je 0x1002eee8
call fcn.10014e48
mov esi, eax
jmp 0x1002eeea
xor esi, esi
push 0x2800
call fcn.100bdb32
mov edi, eax
mov dword [esp], 0x5000
call fcn.100bdb32
push dword [ebx + 0x2c]
mov dword [ebp - 0xc], eax
push str.SMessageLoop::Run___exiting_code___d
push 0xffffffffffffffff
push 0x2800
push eax
call fcn.1002eff8
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 0x1002ef4a
xor ecx, ecx
push ecx
push ecx
push eax
push edi
push 0xffffffffffffffff
push dword [ebp - 0xc]
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push dword [ebp - 0xc]
call fcn.100bdb3d
pop ecx
test esi, esi
je 0x1002ef88
mov eax, dword [esi]
mov ecx, esi
push 0
push 0
call dword [eax + 0x2c]
test al, al
je 0x1002ef88
push dword [ebp + 4]
mov eax, dword [esi]
mov ecx, esi
push str.SOUI::SMessageLoop::Run
push 0x31
push str.d:workspace_soui_soui_srccore_smsgloop.cpp
push edi
push str.soui
push 0
push 0
call dword [eax + 0x34]
jmp 0x1002efc4
push 0x2800
call fcn.100bdb32
push 0x31
push str.d:workspace_soui_soui_srccore_smsgloop.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.1002efd9
add esp, 0x24
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call fcn.100bdb3d
pop ecx
push edi
call fcn.100bdb3d
pop ecx
and dword [ebx + 0x40], 0
mov eax, dword [ebx + 0x2c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret