Function at 0x501910
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 0x50194f
call dword [sym.imp.soui.dll_public:_static_wchar_t_const____cdecl_SOUI::SCheckBox::GetClassNameW_void_]
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 0x501afb
call dword [sym.imp.soui.dll_public:_static_class_SOUI::SApplication____cdecl_SOUI::SSingleton_class_SOUI::SApplication_::getSingletonPtr_void_]
test eax, eax
je 0x50196c
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 0x501973
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 0x5019b9
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.soui.dll_public:_static_wchar_t_const____cdecl_SOUI::SCheckBox::GetClassNameW_void_]
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.0048b0e0
add esp, 0x1c
jmp 0x501a3c
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 dword [sym.imp.soui.dll_public:_static_wchar_t_const____cdecl_SOUI::SCheckBox::GetClassNameW_void_]
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.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 0x501a30
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 0x501a89
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 0x501a89
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 0x501ae3
mov ecx, 1
test ecx, ecx
je 0x501ae3
push 0x2800
call fcn.005ed028
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.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 0x50194f
xor eax, eax
jmp 0x501afe
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret 8