Function at 0x404800
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 0x404831
mov edx, dword [esi]
mov ecx, esi
push 0x500a78
call dword [edx + 4]
test eax, eax
je 0x404831
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [0x54dd2c]
test ecx, ecx
je 0x404842
call fcn.004395fd
jmp 0x404844
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 0x4048ac
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 0x4048a0
cmp ecx, 0xffffffff
jne 0x404a4e
call fcn.0049272e
cmp dword [eax], 0x26d8
jne 0x404a56
mov eax, dword [ebp - 0xc]
mov ecx, esi
mov byte [eax - 1], 0
add dword [ebp - 8], ecx
push edi
push 0x500a78
lea ecx, [ebp - 0x10]
call fcn.00407ad0
mov esi, eax
mov eax, dword [esi + 8]
mov edi, dword [esi + 4]
cmp eax, edi
jae 0x404908
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 0x4048fc
cmp ecx, 0xffffffff
jne 0x404a63
call fcn.0049272e
cmp dword [eax], 0x26d8
jne 0x404a6b
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 0x404960
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 0x404954
cmp ecx, 0xffffffff
jne 0x404a78
call fcn.0049272e
cmp dword [eax], 0x26d8
jne 0x404a80
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 0x4049aa
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 0x40499e
cmp ecx, 0xffffffff
jne 0x404a8d
call fcn.0049272e
cmp dword [eax], 0x26d8
jne 0x404a95
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 0x4049f6
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 0x4049ea
cmp ecx, 0xffffffff
jne 0x404aa2
call fcn.0049272e
cmp dword [eax], 0x26d8
jne 0x404aaa
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 0x404ab7
mov eax, dword [esi]
mov ecx, esi
push 3
push 0
mov eax, dword [eax + 0x2c]
call eax
test al, al
je 0x404ab7
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 0x4048a9
mov eax, dword [ebp - 8]
xor ecx, ecx
mov byte [eax], 0
jmp 0x4048a9
test ecx, ecx
jns 0x404905
mov eax, dword [esi + 8]
xor ecx, ecx
mov byte [eax], 0
jmp 0x404905
test ecx, ecx
jns 0x40495d
mov eax, dword [esi + 8]
xor ecx, ecx
mov byte [eax], 0
jmp 0x40495d
test ecx, ecx
jns 0x4049a7
mov eax, dword [esi + 8]
xor ecx, ecx
mov byte [eax], 0
jmp 0x4049a7
test ecx, ecx
jns 0x4049f3
mov eax, dword [esi + 8]
xor ecx, ecx
mov byte [eax], 0
jmp 0x4049f3
mov eax, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
cmp eax, esi
jae 0x404cef
push 0x5010c8
sub esi, eax
push 0x500a70
push esi
push eax
call fcn.00407b80
mov ecx, eax
add esp, 0x10
cmp ecx, esi
je 0x404afb
cmp ecx, 0xffffffff
jne 0x404d09
call fcn.0049272e
cmp dword [eax], 0x26d8
jne 0x404d11
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 0x404cef
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 0x404b4d
cmp ecx, 0xffffffff
jne 0x404d1e
call fcn.0049272e
cmp dword [eax], 0x26d8
jne 0x404d26
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 0x404cef
push 0x5010c8
sub esi, eax
push 0x500a70
push esi
push eax
call fcn.00407b80
mov ecx, eax
add esp, 0x10
cmp ecx, esi
je 0x404b9f
cmp ecx, 0xffffffff
jne 0x404d33
call fcn.0049272e
cmp dword [eax], 0x26d8
jne 0x404d3b
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 0x404cef
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 0x404bf1
cmp ecx, 0xffffffff
jne 0x404d48
call fcn.0049272e
cmp dword [eax], 0x26d8
jne 0x404d50
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 0x404cef
push 0x5010cc
sub esi, eax
push 0x500a70
push esi
push eax
call fcn.00407b80
mov ecx, eax
add esp, 0x10
cmp ecx, esi
je 0x404c43
cmp ecx, 0xffffffff
jne 0x404d5d
call fcn.0049272e
cmp dword [eax], 0x26d8
jne 0x404d65
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 0x404cef
push 0x20e
sub esi, eax
push 0x500a74
push esi
push eax
call fcn.00407b80
mov ecx, eax
add esp, 0x10
cmp ecx, esi
je 0x404c95
cmp ecx, 0xffffffff
jne 0x404d72
call fcn.0049272e
cmp dword [eax], 0x26d8
jne 0x404d7a
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 0x404cef
push 0x5010d0
sub esi, eax
push 0x500a70
push esi
push eax
call fcn.00407b80
mov ecx, eax
add esp, 0x10
cmp ecx, esi
je 0x404ce3
cmp ecx, 0xffffffff
jne 0x404d87
call fcn.0049272e
cmp dword [eax], 0x26d8
jne 0x404d8f
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 0x404b04
mov eax, dword [ebp - 8]
xor ecx, ecx
mov byte [eax], 0
jmp 0x404b04
test ecx, ecx
jns 0x404b56
mov eax, dword [ebp - 8]
xor ecx, ecx
mov byte [eax], 0
jmp 0x404b56
test ecx, ecx
jns 0x404ba8
mov eax, dword [ebp - 8]
xor ecx, ecx
mov byte [eax], 0
jmp 0x404ba8
test ecx, ecx
jns 0x404bfa
mov eax, dword [ebp - 8]
xor ecx, ecx
mov byte [eax], 0
jmp 0x404bfa
test ecx, ecx
jns 0x404c4c
mov eax, dword [ebp - 8]
xor ecx, ecx
mov byte [eax], 0
jmp 0x404c4c
test ecx, ecx
jns 0x404c9e
mov eax, dword [ebp - 8]
xor ecx, ecx
mov byte [eax], 0
jmp 0x404c9e
test ecx, ecx
jns 0x404cec
mov eax, dword [ebp - 8]
xor ecx, ecx
mov byte [eax], 0
jmp 0x404cec