Function at 0x405340
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 0x405371
mov edx, dword [esi]
mov ecx, esi
push 0x50079c
call dword [edx + 4]
test eax, eax
je 0x405371
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [0x54dd2c]
test ecx, ecx
je 0x405382
call fcn.004395fd
jmp 0x405384
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 0x4053ec
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 0x4053e0
cmp ecx, 0xffffffff
jne 0x40558e
call fcn.0049272e
cmp dword [eax], 0x26d8
jne 0x405596
mov eax, dword [ebp - 0xc]
mov ecx, esi
mov byte [eax - 1], 0
add dword [ebp - 8], ecx
push edi
push 0x50079c
lea ecx, [ebp - 0x10]
call fcn.00407ad0
mov esi, eax
mov eax, dword [esi + 8]
mov edi, dword [esi + 4]
cmp eax, edi
jae 0x405448
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 0x40543c
cmp ecx, 0xffffffff
jne 0x4055a3
call fcn.0049272e
cmp dword [eax], 0x26d8
jne 0x4055ab
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 0x4054a0
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 0x405494
cmp ecx, 0xffffffff
jne 0x4055b8
call fcn.0049272e
cmp dword [eax], 0x26d8
jne 0x4055c0
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 0x4054ea
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 0x4054de
cmp ecx, 0xffffffff
jne 0x4055cd
call fcn.0049272e
cmp dword [eax], 0x26d8
jne 0x4055d5
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 0x405536
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 0x40552a
cmp ecx, 0xffffffff
jne 0x4055e2
call fcn.0049272e
cmp dword [eax], 0x26d8
jne 0x4055ea
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 0x4055f7
mov eax, dword [esi]
mov ecx, esi
push 3
push 0
mov eax, dword [eax + 0x2c]
call eax
test al, al
je 0x4055f7
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 0x4053e9
mov eax, dword [ebp - 8]
xor ecx, ecx
mov byte [eax], 0
jmp 0x4053e9
test ecx, ecx
jns 0x405445
mov eax, dword [esi + 8]
xor ecx, ecx
mov byte [eax], 0
jmp 0x405445
test ecx, ecx
jns 0x40549d
mov eax, dword [esi + 8]
xor ecx, ecx
mov byte [eax], 0
jmp 0x40549d
test ecx, ecx
jns 0x4054e7
mov eax, dword [esi + 8]
xor ecx, ecx
mov byte [eax], 0
jmp 0x4054e7
test ecx, ecx
jns 0x405533
mov eax, dword [esi + 8]
xor ecx, ecx
mov byte [eax], 0
jmp 0x405533
mov eax, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
cmp eax, esi
jae 0x40582f
push 0x5010c8
sub esi, eax
push 0x500a70
push esi
push eax
call fcn.00407b80
mov ecx, eax
add esp, 0x10
cmp ecx, esi
je 0x40563b
cmp ecx, 0xffffffff
jne 0x405849
call fcn.0049272e
cmp dword [eax], 0x26d8
jne 0x405851
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 0x40582f
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 0x40568d
cmp ecx, 0xffffffff
jne 0x40585e
call fcn.0049272e
cmp dword [eax], 0x26d8
jne 0x405866
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 0x40582f
push 0x5010c8
sub esi, eax
push 0x500a70
push esi
push eax
call fcn.00407b80
mov ecx, eax
add esp, 0x10
cmp ecx, esi
je 0x4056df
cmp ecx, 0xffffffff
jne 0x405873
call fcn.0049272e
cmp dword [eax], 0x26d8
jne 0x40587b
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 0x40582f
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 0x405731
cmp ecx, 0xffffffff
jne 0x405888
call fcn.0049272e
cmp dword [eax], 0x26d8
jne 0x405890
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 0x40582f
push 0x5010cc
sub esi, eax
push 0x500a70
push esi
push eax
call fcn.00407b80
mov ecx, eax
add esp, 0x10
cmp ecx, esi
je 0x405783
cmp ecx, 0xffffffff
jne 0x40589d
call fcn.0049272e
cmp dword [eax], 0x26d8
jne 0x4058a5
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 0x40582f
push 0x20e
sub esi, eax
push 0x500a74
push esi
push eax
call fcn.00407b80
mov ecx, eax
add esp, 0x10
cmp ecx, esi
je 0x4057d5
cmp ecx, 0xffffffff
jne 0x4058b2
call fcn.0049272e
cmp dword [eax], 0x26d8
jne 0x4058ba
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 0x40582f
push 0x5010d0
sub esi, eax
push 0x500a70
push esi
push eax
call fcn.00407b80
mov ecx, eax
add esp, 0x10
cmp ecx, esi
je 0x405823
cmp ecx, 0xffffffff
jne 0x4058c7
call fcn.0049272e
cmp dword [eax], 0x26d8
jne 0x4058cf
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 0x405644
mov eax, dword [ebp - 8]
xor ecx, ecx
mov byte [eax], 0
jmp 0x405644
test ecx, ecx
jns 0x405696
mov eax, dword [ebp - 8]
xor ecx, ecx
mov byte [eax], 0
jmp 0x405696
test ecx, ecx
jns 0x4056e8
mov eax, dword [ebp - 8]
xor ecx, ecx
mov byte [eax], 0
jmp 0x4056e8
test ecx, ecx
jns 0x40573a
mov eax, dword [ebp - 8]
xor ecx, ecx
mov byte [eax], 0
jmp 0x40573a
test ecx, ecx
jns 0x40578c
mov eax, dword [ebp - 8]
xor ecx, ecx
mov byte [eax], 0
jmp 0x40578c
test ecx, ecx
jns 0x4057de
mov eax, dword [ebp - 8]
xor ecx, ecx
mov byte [eax], 0
jmp 0x4057de
test ecx, ecx
jns 0x40582c
mov eax, dword [ebp - 8]
xor ecx, ecx
mov byte [eax], 0
jmp 0x40582c