Function at 0x4c5af0
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::FindChildByID_int__int_]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4c5b2e
call fcn.004c6490
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 0x4c5cd8
call dword [sym.imp.soui.dll_public:_static_class_SOUI::SApplication____cdecl_SOUI::SSingleton_class_SOUI::SApplication_::getSingletonPtr_void_]
test eax, eax
je 0x4c5b4b
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 0x4c5b52
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], eax
push 0x2800
call fcn.005ed028
add esp, 4
mov dword [ebp - 8], eax
xor ecx, ecx
je 0x4c5b97
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004c6490
push eax
push str.FindChildByID2_Failed__no_window_of_class___s__with_id_of___d__was_found_within___d__levels
push 0xffffffffffffffff
push 0x2800
mov ecx, dword [ebp - 8]
push ecx
call fcn.0048b0e0
add esp, 0x1c
jmp 0x4c5c19
push 0x5000
call fcn.005ed028
add esp, 4
mov dword [ebp - 0xc], eax
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004c6490
push eax
push str.FindChildByID2_Failed__no_window_of_class___s__with_id_of___d__was_found_within___d__levels
push 0xffffffffffffffff
push 0x2800
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.0048b120
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 0x4c5c0d
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.005ed023
add esp, 4
cmp dword [ebp - 4], 0
je 0x4c5c66
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 0x4c5c66
mov edx, dword [ebp + 4]
push edx
push str.SOUI::SWindow::FindChildByID2
push 0x1e9
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 0x4c5cc0
mov ecx, 1
test ecx, ecx
je 0x4c5cc0
push 0x2800
call fcn.005ed028
add esp, 4
mov dword [ebp - 0x14], eax
push 0x1e9
push str.e:work_soui_souiincludecoreSWnd.h
push str.SOUI::SWindow::FindChildByID2
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.0048b0e0
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.005ed023
add esp, 4
mov eax, dword [ebp - 8]
push eax
call fcn.005ed023
add esp, 4
xor ecx, ecx
jne 0x4c5b2e
xor eax, eax
jmp 0x4c5cdb
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret 8