Function at 0x511fb0
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 0x511fee
call fcn.004ebf00
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 0x512198
call dword [sym.imp.soui.dll_public:_static_class_SOUI::SApplication____cdecl_SOUI::SSingleton_class_SOUI::SApplication_::getSingletonPtr_void_]
test eax, eax
je 0x51200b
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 0x512012
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], eax
push 0x2800
call fcn.005f0188
add esp, 4
mov dword [ebp - 8], eax
xor ecx, ecx
je 0x512057
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004ebf00
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.0048b480
add esp, 0x1c
jmp 0x5120d9
push 0x5000
call fcn.005f0188
add esp, 4
mov dword [ebp - 0xc], eax
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004ebf00
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.0048b4c0
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 0x5120cd
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.005f0183
add esp, 4
cmp dword [ebp - 4], 0
je 0x512126
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 0x512126
mov edx, dword [ebp + 4]
push edx
push str.SOUI::SWindow::FindChildByName2
push 0x20e
push str.d:code_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 0x512180
mov ecx, 1
test ecx, ecx
je 0x512180
push 0x2800
call fcn.005f0188
add esp, 4
mov dword [ebp - 0x14], eax
push 0x20e
push str.d:code_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.0048b480
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.005f0183
add esp, 4
mov eax, dword [ebp - 8]
push eax
call fcn.005f0183
add esp, 4
xor ecx, ecx
jne 0x511fee
xor eax, eax
jmp 0x51219b
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret 8