Function at 0x4058e0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0043f278
mov esi, eax
test esi, esi
je 0x405911
mov edx, dword [esi]
mov ecx, esi
push str.window
call dword [edx + 4]
test eax, eax
je 0x405911
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [0x54dd2c]
test ecx, ecx
je 0x405922
call fcn.004395fd
jmp 0x405924
xor eax, eax
push ebx
push 0x2800
mov dword [ebp - 4], eax
call fcn.0049293e
mov ebx, eax
add esp, 4
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ebx
lea esi, [ebx + 0x2800]
mov dword [ebp - 0xc], esi
cmp ebx, esi
jae 0x40598c
push str.FindChildByName2_Failed__no_window_of_class
push 0x500a70
sub esi, ebx
push esi
push ebx
call fcn.00407b80
mov ecx, eax
add esp, 0x10
cmp ecx, esi
je 0x405980
cmp ecx, 0xffffffff
jne 0x405b2e
call fcn.0049272e
cmp dword [eax], 0x26d8
jne 0x405b36
mov eax, dword [ebp - 0xc]
mov ecx, esi
mov byte [eax - 1], 0
add dword [ebp - 8], ecx
push edi
push str.window
lea ecx, [ebp - 0x10]
call fcn.00407ad0
mov esi, eax
mov eax, dword [esi + 8]
mov edi, dword [esi + 4]
cmp eax, edi
jae 0x4059e8
push str._with_name_of__
sub edi, eax
push 0x500a70
push edi
push eax
call fcn.00407b80
mov ecx, eax
add esp, 0x10
cmp ecx, edi
je 0x4059dc
cmp ecx, 0xffffffff
jne 0x405b43
call fcn.0049272e
cmp dword [eax], 0x26d8
jne 0x405b4b
mov eax, dword [esi + 4]
mov ecx, edi
mov byte [eax - 1], 0
add dword [esi + 8], ecx
push dword [ebp + 8]
mov ecx, esi
call fcn.00407ad0
mov esi, eax
mov eax, dword [esi + 8]
mov edi, dword [esi + 4]
cmp eax, edi
jae 0x405a40
push str.__was_found_within__
sub edi, eax
push 0x500a70
push edi
push eax
call fcn.00407b80
mov ecx, eax
add esp, 0x10
cmp ecx, edi
je 0x405a34
cmp ecx, 0xffffffff
jne 0x405b58
call fcn.0049272e
cmp dword [eax], 0x26d8
jne 0x405b60
mov eax, dword [esi + 4]
mov ecx, edi
mov byte [eax - 1], 0
add dword [esi + 8], ecx
mov eax, dword [esi + 8]
mov edi, dword [esi + 4]
cmp eax, edi
jae 0x405a8a
push dword [ebp + 0xc]
sub edi, eax
push 0x500a74
push edi
push eax
call fcn.00407b80
mov ecx, eax
add esp, 0x10
cmp ecx, edi
je 0x405a7e
cmp ecx, 0xffffffff
jne 0x405b6d
call fcn.0049272e
cmp dword [eax], 0x26d8
jne 0x405b75
mov eax, dword [esi + 4]
mov ecx, edi
mov byte [eax - 1], 0
add dword [esi + 8], ecx
mov eax, dword [esi + 8]
mov edi, dword [esi + 4]
cmp eax, edi
jae 0x405ad6
push str.__levels
sub edi, eax
push 0x500a70
push edi
push eax
call fcn.00407b80
mov ecx, eax
add esp, 0x10
cmp ecx, edi
je 0x405aca
cmp ecx, 0xffffffff
jne 0x405b82
call fcn.0049272e
cmp dword [eax], 0x26d8
jne 0x405b8a
mov eax, dword [esi + 4]
mov ecx, edi
mov byte [eax - 1], 0
add dword [esi + 8], ecx
mov esi, dword [ebp - 4]
pop edi
test esi, esi
je 0x405b97
mov eax, dword [esi]
mov ecx, esi
push 3
push 0
mov eax, dword [eax + 0x2c]
call eax
test al, al
je 0x405b97
mov eax, dword [ebp + 4]
mov ecx, esi
mov edx, dword [esi]
push eax
push str.SOUI::SWindow::FindChildByName2
push 0x20e
push str.e:cefprojectgamebox_thirdparty_soui_souiincludecoreSWnd.h
push ebx
push str.soui
push 3
push 0
call dword [edx + 0x34]
push ebx
call fcn.00492939
add esp, 4
xor eax, eax
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 8
test ecx, ecx
jns 0x405989
mov eax, dword [ebp - 8]
xor ecx, ecx
mov byte [eax], 0
jmp 0x405989
test ecx, ecx
jns 0x4059e5
mov eax, dword [esi + 8]
xor ecx, ecx
mov byte [eax], 0
jmp 0x4059e5
test ecx, ecx
jns 0x405a3d
mov eax, dword [esi + 8]
xor ecx, ecx
mov byte [eax], 0
jmp 0x405a3d
test ecx, ecx
jns 0x405a87
mov eax, dword [esi + 8]
xor ecx, ecx
mov byte [eax], 0
jmp 0x405a87
test ecx, ecx
jns 0x405ad3
mov eax, dword [esi + 8]
xor ecx, ecx
mov byte [eax], 0
jmp 0x405ad3
mov eax, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
cmp eax, esi
jae 0x405dcf
push 0x5010c8
sub esi, eax
push 0x500a70
push esi
push eax
call fcn.00407b80
mov ecx, eax
add esp, 0x10
cmp ecx, esi
je 0x405bdb
cmp ecx, 0xffffffff
jne 0x405de9
call fcn.0049272e
cmp dword [eax], 0x26d8
jne 0x405df1
mov eax, dword [ebp - 0xc]
mov ecx, esi
mov byte [eax - 1], 0
mov eax, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
add eax, ecx
mov dword [ebp - 8], eax
cmp eax, esi
jae 0x405dcf
push str.SOUI::SWindow::FindChildByName2
sub esi, eax
push 0x500a70
push esi
push eax
call fcn.00407b80
mov ecx, eax
add esp, 0x10
cmp ecx, esi
je 0x405c2d
cmp ecx, 0xffffffff
jne 0x405dfe
call fcn.0049272e
cmp dword [eax], 0x26d8
jne 0x405e06
mov eax, dword [ebp - 0xc]
mov ecx, esi
mov byte [eax - 1], 0
mov eax, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
add eax, ecx
mov dword [ebp - 8], eax
cmp eax, esi
jae 0x405dcf
push 0x5010c8
sub esi, eax
push 0x500a70
push esi
push eax
call fcn.00407b80
mov ecx, eax
add esp, 0x10
cmp ecx, esi
je 0x405c7f
cmp ecx, 0xffffffff
jne 0x405e13
call fcn.0049272e
cmp dword [eax], 0x26d8
jne 0x405e1b
mov eax, dword [ebp - 0xc]
mov ecx, esi
mov byte [eax - 1], 0
mov eax, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
add eax, ecx
mov dword [ebp - 8], eax
cmp eax, esi
jae 0x405dcf
push str.e:cefprojectgamebox_thirdparty_soui_souiincludecoreSWnd.h
sub esi, eax
push 0x500a70
push esi
push eax
call fcn.00407b80
mov ecx, eax
add esp, 0x10
cmp ecx, esi
je 0x405cd1
cmp ecx, 0xffffffff
jne 0x405e28
call fcn.0049272e
cmp dword [eax], 0x26d8
jne 0x405e30
mov eax, dword [ebp - 0xc]
mov ecx, esi
mov byte [eax - 1], 0
mov eax, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
add eax, ecx
mov dword [ebp - 8], eax
cmp eax, esi
jae 0x405dcf
push 0x5010cc
sub esi, eax
push 0x500a70
push esi
push eax
call fcn.00407b80
mov ecx, eax
add esp, 0x10
cmp ecx, esi
je 0x405d23
cmp ecx, 0xffffffff
jne 0x405e3d
call fcn.0049272e
cmp dword [eax], 0x26d8
jne 0x405e45
mov eax, dword [ebp - 0xc]
mov ecx, esi
mov byte [eax - 1], 0
mov eax, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
add eax, ecx
mov dword [ebp - 8], eax
cmp eax, esi
jae 0x405dcf
push 0x20e
sub esi, eax
push 0x500a74
push esi
push eax
call fcn.00407b80
mov ecx, eax
add esp, 0x10
cmp ecx, esi
je 0x405d75
cmp ecx, 0xffffffff
jne 0x405e52
call fcn.0049272e
cmp dword [eax], 0x26d8
jne 0x405e5a
mov eax, dword [ebp - 0xc]
mov ecx, esi
mov byte [eax - 1], 0
mov eax, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
add eax, ecx
mov dword [ebp - 8], eax
cmp eax, esi
jae 0x405dcf
push 0x5010d0
sub esi, eax
push 0x500a70
push esi
push eax
call fcn.00407b80
mov ecx, eax
add esp, 0x10
cmp ecx, esi
je 0x405dc3
cmp ecx, 0xffffffff
jne 0x405e67
call fcn.0049272e
cmp dword [eax], 0x26d8
jne 0x405e6f
mov eax, dword [ebp - 0xc]
mov ecx, esi
mov byte [eax - 1], 0
add dword [ebp - 8], ecx
push ebx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push ebx
call fcn.00492939
add esp, 4
xor eax, eax
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 8
test ecx, ecx
jns 0x405be4
mov eax, dword [ebp - 8]
xor ecx, ecx
mov byte [eax], 0
jmp 0x405be4
test ecx, ecx
jns 0x405c36
mov eax, dword [ebp - 8]
xor ecx, ecx
mov byte [eax], 0
jmp 0x405c36
test ecx, ecx
jns 0x405c88
mov eax, dword [ebp - 8]
xor ecx, ecx
mov byte [eax], 0
jmp 0x405c88
test ecx, ecx
jns 0x405cda
mov eax, dword [ebp - 8]
xor ecx, ecx
mov byte [eax], 0
jmp 0x405cda
test ecx, ecx
jns 0x405d2c
mov eax, dword [ebp - 8]
xor ecx, ecx
mov byte [eax], 0
jmp 0x405d2c
test ecx, ecx
jns 0x405d7e
mov eax, dword [ebp - 8]
xor ecx, ecx
mov byte [eax], 0
jmp 0x405d7e
test ecx, ecx
jns 0x405dcc
mov eax, dword [ebp - 8]
xor ecx, ecx
mov byte [eax], 0
jmp 0x405dcc