Function at 0x100461f6
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3008
call fcn.100844e0
mov eax, dword [0x1010b824]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x3008], 0
xor edx, edx
push ebx
push esi
push edi
mov edi, ecx
inc edx
mov ebx, edx
and dword [edi + 0x44], 0
mov dword [edi + 0x40], edx
test ebx, ebx
je 0x10046266
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 0x10046266
mov eax, dword [edi]
mov ecx, edi
push dword [ebp - 0x3008]
call dword [eax + 8]
inc dword [ebp - 0x3008]
test eax, eax
jne 0x10046258
xor ebx, ebx
cmp dword [edi + 0x44], 0
jne 0x1004643d
test ebx, ebx
jne 0x1004622c
push 0
push 0
push 0
lea esi, [edi + 0x24]
push esi
call dword [sym.imp.USER32.dll_GetMessageW]
cmp eax, 0xffffffff
jne 0x1004633a
mov ecx, dword [0x10112950]
test ecx, ecx
je 0x10046292
call fcn.1002d176
mov esi, eax
jmp 0x10046294
xor esi, esi
push str.::GetMessage_returned__1__error_
push 0xffffffffffffffff
lea eax, [ebp - 0x2004]
push 0x800
push eax
call fcn.10015920
add esp, 0x10
lea eax, [ebp - 0x2004]
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push 0xffffffffffffffff
push eax
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp eax, 0x800
jae 0x100462ea
xor ecx, ecx
push ecx
push ecx
push eax
lea eax, [ebp - 0x804]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x2004]
push eax
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test esi, esi
je 0x10046328
mov eax, dword [esi]
mov ecx, esi
push 4
push 0
call dword [eax + 0x2c]
test al, al
je 0x10046328
push dword [ebp + 4]
mov eax, dword [esi]
lea ecx, [ebp - 0x804]
push str.SOUI::SMessageLoop::Run
push 0x2c
push str.d:youqu_job_soui_soui_srccore_smsgloop.cpp
push ecx
push str.soui
push 4
push 0
mov ecx, esi
call dword [eax + 0x34]
jmp 0x10046225
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x10046225
test eax, eax
je 0x1004638b
push esi
mov ecx, edi
call fcn.1004613a
mov eax, dword [edi + 0x28]
sub eax, 0xf
je 0x10046369
sub eax, 0x91
je 0x10046369
sub eax, 0x78
je 0x10046369
sub eax, 0xe8
je 0x10046369
xor ecx, ecx
xor ebx, ebx
inc ecx
inc ebx
jmp 0x1004636b
xor ecx, ecx
cmp dword [edi + 0x44], 0
jne 0x1004643d
xor eax, eax
test ecx, ecx
cmove eax, dword [ebp - 0x3008]
mov dword [ebp - 0x3008], eax
jmp 0x10046225
mov ecx, dword [0x10112950]
test ecx, ecx
je 0x1004639e
call fcn.1002d176
mov esi, eax
jmp 0x100463a0
xor esi, esi
push dword [edi + 0x2c]
lea eax, [ebp - 0x3004]
push str.SMessageLoop::Run___exiting_code___d
push 0xffffffffffffffff
push 0x800
push eax
call fcn.10015920
mov ebx, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [ebp - 0x3004]
add esp, 0x14
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push 0xffffffffffffffff
push eax
push ecx
push ecx
call ebx
cmp eax, 0x800
jae 0x100463f7
xor ecx, ecx
push ecx
push ecx
push eax
lea eax, [ebp - 0x1004]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x3004]
push eax
push ecx
push ecx
call ebx
test esi, esi
je 0x10046430
mov eax, dword [esi]
xor ebx, ebx
push ebx
push ebx
mov ecx, esi
call dword [eax + 0x2c]
test al, al
je 0x10046430
push dword [ebp + 4]
mov eax, dword [esi]
lea ecx, [ebp - 0x1004]
push str.SOUI::SMessageLoop::Run
push 0x31
push str.d:youqu_job_soui_soui_srccore_smsgloop.cpp
push ecx
push str.soui
push ebx
push ebx
mov ecx, esi
call dword [eax + 0x34]
jmp 0x1004643d
lea eax, [ebp - 0x1004]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
and dword [edi + 0x40], 0
mov eax, dword [edi + 0x2c]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1008370a
leave
ret