Function at 0x412a80
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.0044658b
mov esi, eax
test esi, esi
je 0x412ab1
mov edx, dword [esi]
mov ecx, esi
push str.check
call dword [edx + 4]
test eax, eax
je 0x412ab1
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [0x66b2a4]
test ecx, ecx
je 0x412ac2
call fcn.004406e8
jmp 0x412ac4
xor eax, eax
push ebx
push 0x2800
mov dword [ebp - 4], eax
call fcn.00499b65
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 0x412b2c
push str.FindChildByName2_Failed__no_window_of_class
push 0x5db0b8
sub esi, ebx
push esi
push ebx
call fcn.00414bf0
mov ecx, eax
add esp, 0x10
cmp ecx, esi
je 0x412b20
cmp ecx, 0xffffffff
jne 0x412cce
call fcn.00499b4d
cmp dword [eax], 0x26d8
jne 0x412cd6
mov eax, dword [ebp - 0xc]
mov ecx, esi
mov byte [eax - 1], 0
add dword [ebp - 8], ecx
push edi
push str.check
lea ecx, [ebp - 0x10]
call fcn.00414b50
mov esi, eax
mov eax, dword [esi + 8]
mov edi, dword [esi + 4]
cmp eax, edi
jae 0x412b88
push str._with_name_of__
sub edi, eax
push 0x5db0b8
push edi
push eax
call fcn.00414bf0
mov ecx, eax
add esp, 0x10
cmp ecx, edi
je 0x412b7c
cmp ecx, 0xffffffff
jne 0x412ce3
call fcn.00499b4d
cmp dword [eax], 0x26d8
jne 0x412ceb
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.00414b50
mov esi, eax
mov eax, dword [esi + 8]
mov edi, dword [esi + 4]
cmp eax, edi
jae 0x412be0
push str.__was_found_within__
sub edi, eax
push 0x5db0b8
push edi
push eax
call fcn.00414bf0
mov ecx, eax
add esp, 0x10
cmp ecx, edi
je 0x412bd4
cmp ecx, 0xffffffff
jne 0x412cf8
call fcn.00499b4d
cmp dword [eax], 0x26d8
jne 0x412d00
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 0x412c2a
push dword [ebp + 0xc]
sub edi, eax
push 0x5db0bc
push edi
push eax
call fcn.00414bf0
mov ecx, eax
add esp, 0x10
cmp ecx, edi
je 0x412c1e
cmp ecx, 0xffffffff
jne 0x412d0d
call fcn.00499b4d
cmp dword [eax], 0x26d8
jne 0x412d15
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 0x412c76
push str.__levels
sub edi, eax
push 0x5db0b8
push edi
push eax
call fcn.00414bf0
mov ecx, eax
add esp, 0x10
cmp ecx, edi
je 0x412c6a
cmp ecx, 0xffffffff
jne 0x412d22
call fcn.00499b4d
cmp dword [eax], 0x26d8
jne 0x412d2a
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 0x412d37
mov eax, dword [esi]
mov ecx, esi
push 3
push 0
mov eax, dword [eax + 0x2c]
call eax
test al, al
je 0x412d37
mov eax, dword [ebp + 4]
mov ecx, esi
mov edx, dword [esi]
push eax
push str.SOUI::SWindow::FindChildByName2
push 0x20e
push str.f:_shopassistant_thirdparty_soui_souiincludecoreSWnd.h
push ebx
push str.soui
push 3
push 0
call dword [edx + 0x34]
push ebx
call fcn.00499b60
add esp, 4
xor eax, eax
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 8
test ecx, ecx
jns 0x412b29
mov eax, dword [ebp - 8]
xor ecx, ecx
mov byte [eax], 0
jmp 0x412b29
test ecx, ecx
jns 0x412b85
mov eax, dword [esi + 8]
xor ecx, ecx
mov byte [eax], 0
jmp 0x412b85
test ecx, ecx
jns 0x412bdd
mov eax, dword [esi + 8]
xor ecx, ecx
mov byte [eax], 0
jmp 0x412bdd
test ecx, ecx
jns 0x412c27
mov eax, dword [esi + 8]
xor ecx, ecx
mov byte [eax], 0
jmp 0x412c27
test ecx, ecx
jns 0x412c73
mov eax, dword [esi + 8]
xor ecx, ecx
mov byte [eax], 0
jmp 0x412c73
mov eax, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
cmp eax, esi
jae 0x412f6f
push 0x5db4f0
sub esi, eax
push 0x5db0b8
push esi
push eax
call fcn.00414bf0
mov ecx, eax
add esp, 0x10
cmp ecx, esi
je 0x412d7b
cmp ecx, 0xffffffff
jne 0x412f89
call fcn.00499b4d
cmp dword [eax], 0x26d8
jne 0x412f91
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 0x412f6f
push str.SOUI::SWindow::FindChildByName2
sub esi, eax
push 0x5db0b8
push esi
push eax
call fcn.00414bf0
mov ecx, eax
add esp, 0x10
cmp ecx, esi
je 0x412dcd
cmp ecx, 0xffffffff
jne 0x412f9e
call fcn.00499b4d
cmp dword [eax], 0x26d8
jne 0x412fa6
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 0x412f6f
push 0x5db4f0
sub esi, eax
push 0x5db0b8
push esi
push eax
call fcn.00414bf0
mov ecx, eax
add esp, 0x10
cmp ecx, esi
je 0x412e1f
cmp ecx, 0xffffffff
jne 0x412fb3
call fcn.00499b4d
cmp dword [eax], 0x26d8
jne 0x412fbb
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 0x412f6f
push str.f:_shopassistant_thirdparty_soui_souiincludecoreSWnd.h
sub esi, eax
push 0x5db0b8
push esi
push eax
call fcn.00414bf0
mov ecx, eax
add esp, 0x10
cmp ecx, esi
je 0x412e71
cmp ecx, 0xffffffff
jne 0x412fc8
call fcn.00499b4d
cmp dword [eax], 0x26d8
jne 0x412fd0
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 0x412f6f
push 0x5db4f4
sub esi, eax
push 0x5db0b8
push esi
push eax
call fcn.00414bf0
mov ecx, eax
add esp, 0x10
cmp ecx, esi
je 0x412ec3
cmp ecx, 0xffffffff
jne 0x412fdd
call fcn.00499b4d
cmp dword [eax], 0x26d8
jne 0x412fe5
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 0x412f6f
push 0x20e
sub esi, eax
push 0x5db0bc
push esi
push eax
call fcn.00414bf0
mov ecx, eax
add esp, 0x10
cmp ecx, esi
je 0x412f15
cmp ecx, 0xffffffff
jne 0x412ff2
call fcn.00499b4d
cmp dword [eax], 0x26d8
jne 0x412ffa
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 0x412f6f
push 0x5db4f8
sub esi, eax
push 0x5db0b8
push esi
push eax
call fcn.00414bf0
mov ecx, eax
add esp, 0x10
cmp ecx, esi
je 0x412f63
cmp ecx, 0xffffffff
jne 0x413007
call fcn.00499b4d
cmp dword [eax], 0x26d8
jne 0x41300f
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.00499b60
add esp, 4
xor eax, eax
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 8
test ecx, ecx
jns 0x412d84
mov eax, dword [ebp - 8]
xor ecx, ecx
mov byte [eax], 0
jmp 0x412d84
test ecx, ecx
jns 0x412dd6
mov eax, dword [ebp - 8]
xor ecx, ecx
mov byte [eax], 0
jmp 0x412dd6
test ecx, ecx
jns 0x412e28
mov eax, dword [ebp - 8]
xor ecx, ecx
mov byte [eax], 0
jmp 0x412e28
test ecx, ecx
jns 0x412e7a
mov eax, dword [ebp - 8]
xor ecx, ecx
mov byte [eax], 0
jmp 0x412e7a
test ecx, ecx
jns 0x412ecc
mov eax, dword [ebp - 8]
xor ecx, ecx
mov byte [eax], 0
jmp 0x412ecc
test ecx, ecx
jns 0x412f1e
mov eax, dword [ebp - 8]
xor ecx, ecx
mov byte [eax], 0
jmp 0x412f1e
test ecx, ecx
jns 0x412f6c
mov eax, dword [ebp - 8]
xor ecx, ecx
mov byte [eax], 0
jmp 0x412f6c