Function at 0x50a920
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x20]
call dword [sym.imp.soui.dll_public:_class_SOUI::SWindow____thiscall_SOUI::SWindow::FindChildByName_wchar_t_const___int_]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x50a95e
call fcn.004aa320
push eax
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x10]
mov edx, dword [eax + 4]
call edx
test eax, eax
jne 0x50ab08
call dword [sym.imp.soui.dll_public:_static_class_SOUI::SApplication____cdecl_SOUI::SSingleton_class_SOUI::SApplication_::getSingletonPtr_void_]
test eax, eax
je 0x50a97b
call dword [sym.imp.soui.dll_public:_static_class_SOUI::SApplication____cdecl_SOUI::SSingleton_class_SOUI::SApplication_::getSingleton_void_]
mov ecx, eax
call dword [sym.imp.soui.dll_public:_struct_SOUI::ILog4zManager____thiscall_SOUI::SApplication::GetLogManager_void_]
mov dword [ebp - 0x18], eax
jmp 0x50a982
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], eax
push 0x2800
call fcn.005e5678
add esp, 4
mov dword [ebp - 8], eax
xor ecx, ecx
je 0x50a9c7
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004aa320
push eax
push str.FindChildByName2_Failed__no_window_of_class___s__with_name_of___s__was_found_within___d__levels
push 0xffffffffffffffff
push 0x2800
mov ecx, dword [ebp - 8]
push ecx
call fcn.00489330
add esp, 0x1c
jmp 0x50aa49
push 0x5000
call fcn.005e5678
add esp, 4
mov dword [ebp - 0xc], eax
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004aa320
push eax
push str.FindChildByName2_Failed__no_window_of_class___s__with_name_of___s__was_found_within___d__levels
push 0xffffffffffffffff
push 0x2800
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.00489370
add esp, 0x1c
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
mov edx, dword [ebp - 0xc]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x2800
jae 0x50aa3d
push 0
push 0
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 8]
push ecx
push 0xffffffffffffffff
mov edx, dword [ebp - 0xc]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, dword [ebp - 0xc]
push eax
call fcn.005e5673
add esp, 4
cmp dword [ebp - 4], 0
je 0x50aa96
push 1
push 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 4]
mov eax, dword [edx + 0x2c]
call eax
movzx ecx, al
test ecx, ecx
je 0x50aa96
mov edx, dword [ebp + 4]
push edx
push str.SOUI::SWindow::FindChildByName2
push 0x20e
push str.e:work_soui_souiincludecoreSWnd.h
mov eax, dword [ebp - 8]
push eax
push str.soui
push 1
push 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 4]
mov eax, dword [edx + 0x34]
call eax
jmp 0x50aaf0
mov ecx, 1
test ecx, ecx
je 0x50aaf0
push 0x2800
call fcn.005e5678
add esp, 4
mov dword [ebp - 0x14], eax
push 0x20e
push str.e:work_soui_souiincludecoreSWnd.h
push str.SOUI::SWindow::FindChildByName2
mov edx, dword [ebp - 8]
push edx
push str._s__s__s:_d_n
push 0xffffffffffffffff
push 0x2800
mov eax, dword [ebp - 0x14]
push eax
call fcn.00489330
add esp, 0x20
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edx, dword [ebp - 0x14]
push edx
call fcn.005e5673
add esp, 4
mov eax, dword [ebp - 8]
push eax
call fcn.005e5673
add esp, 4
xor ecx, ecx
jne 0x50a95e
xor eax, eax
jmp 0x50ab0b
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret 8