Function at 0x412450
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.004465b0
mov esi, eax
test esi, esi
je 0x412481
mov edx, dword [esi]
mov ecx, esi
push str.button
call dword [edx + 4]
test eax, eax
je 0x412481
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [0x66b2a4]
test ecx, ecx
je 0x412492
call fcn.0044080f
jmp 0x412494
xor eax, eax
push ebx
push 0x2800
mov dword [ebp - 4], eax
call fcn.00499986
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 0x4124fc
push str.FindChildByName2_Failed__no_window_of_class
push 0x5db0e0
sub esi, ebx
push esi
push ebx
call fcn.00414c20
mov ecx, eax
add esp, 0x10
cmp ecx, esi
je 0x4124f0
cmp ecx, 0xffffffff
jne 0x41269e
call fcn.0049996e
cmp dword [eax], 0x26d8
jne 0x4126a6
mov eax, dword [ebp - 0xc]
mov ecx, esi
mov byte [eax - 1], 0
add dword [ebp - 8], ecx
push edi
push str.button
lea ecx, [ebp - 0x10]
call fcn.00414b80
mov esi, eax
mov eax, dword [esi + 8]
mov edi, dword [esi + 4]
cmp eax, edi
jae 0x412558
push str._with_name_of__
sub edi, eax
push 0x5db0e0
push edi
push eax
call fcn.00414c20
mov ecx, eax
add esp, 0x10
cmp ecx, edi
je 0x41254c
cmp ecx, 0xffffffff
jne 0x4126b3
call fcn.0049996e
cmp dword [eax], 0x26d8
jne 0x4126bb
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.00414b80
mov esi, eax
mov eax, dword [esi + 8]
mov edi, dword [esi + 4]
cmp eax, edi
jae 0x4125b0
push str.__was_found_within__
sub edi, eax
push 0x5db0e0
push edi
push eax
call fcn.00414c20
mov ecx, eax
add esp, 0x10
cmp ecx, edi
je 0x4125a4
cmp ecx, 0xffffffff
jne 0x4126c8
call fcn.0049996e
cmp dword [eax], 0x26d8
jne 0x4126d0
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 0x4125fa
push dword [ebp + 0xc]
sub edi, eax
push 0x5db0e4
push edi
push eax
call fcn.00414c20
mov ecx, eax
add esp, 0x10
cmp ecx, edi
je 0x4125ee
cmp ecx, 0xffffffff
jne 0x4126dd
call fcn.0049996e
cmp dword [eax], 0x26d8
jne 0x4126e5
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 0x412646
push str.__levels
sub edi, eax
push 0x5db0e0
push edi
push eax
call fcn.00414c20
mov ecx, eax
add esp, 0x10
cmp ecx, edi
je 0x41263a
cmp ecx, 0xffffffff
jne 0x4126f2
call fcn.0049996e
cmp dword [eax], 0x26d8
jne 0x4126fa
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 0x412707
mov eax, dword [esi]
mov ecx, esi
push 3
push 0
mov eax, dword [eax + 0x2c]
call eax
test al, al
je 0x412707
mov eax, dword [ebp + 4]
mov ecx, esi
mov edx, dword [esi]
push eax
push str.SOUI::SWindow::FindChildByName2
push 0x20e
push str.d:other_work_projiect_shopassistant_thirdparty_soui_souiincludecoreSWnd.h
push ebx
push str.soui
push 3
push 0
call dword [edx + 0x34]
push ebx
call fcn.00499981
add esp, 4
xor eax, eax
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 8
test ecx, ecx
jns 0x4124f9
mov eax, dword [ebp - 8]
xor ecx, ecx
mov byte [eax], 0
jmp 0x4124f9
test ecx, ecx
jns 0x412555
mov eax, dword [esi + 8]
xor ecx, ecx
mov byte [eax], 0
jmp 0x412555
test ecx, ecx
jns 0x4125ad
mov eax, dword [esi + 8]
xor ecx, ecx
mov byte [eax], 0
jmp 0x4125ad
test ecx, ecx
jns 0x4125f7
mov eax, dword [esi + 8]
xor ecx, ecx
mov byte [eax], 0
jmp 0x4125f7
test ecx, ecx
jns 0x412643
mov eax, dword [esi + 8]
xor ecx, ecx
mov byte [eax], 0
jmp 0x412643
mov eax, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
cmp eax, esi
jae 0x41293f
push 0x5db5a8
sub esi, eax
push 0x5db0e0
push esi
push eax
call fcn.00414c20
mov ecx, eax
add esp, 0x10
cmp ecx, esi
je 0x41274b
cmp ecx, 0xffffffff
jne 0x412959
call fcn.0049996e
cmp dword [eax], 0x26d8
jne 0x412961
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 0x41293f
push str.SOUI::SWindow::FindChildByName2
sub esi, eax
push 0x5db0e0
push esi
push eax
call fcn.00414c20
mov ecx, eax
add esp, 0x10
cmp ecx, esi
je 0x41279d
cmp ecx, 0xffffffff
jne 0x41296e
call fcn.0049996e
cmp dword [eax], 0x26d8
jne 0x412976
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 0x41293f
push 0x5db5a8
sub esi, eax
push 0x5db0e0
push esi
push eax
call fcn.00414c20
mov ecx, eax
add esp, 0x10
cmp ecx, esi
je 0x4127ef
cmp ecx, 0xffffffff
jne 0x412983
call fcn.0049996e
cmp dword [eax], 0x26d8
jne 0x41298b
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 0x41293f
push str.d:other_work_projiect_shopassistant_thirdparty_soui_souiincludecoreSWnd.h
sub esi, eax
push 0x5db0e0
push esi
push eax
call fcn.00414c20
mov ecx, eax
add esp, 0x10
cmp ecx, esi
je 0x412841
cmp ecx, 0xffffffff
jne 0x412998
call fcn.0049996e
cmp dword [eax], 0x26d8
jne 0x4129a0
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 0x41293f
push 0x5db5ac
sub esi, eax
push 0x5db0e0
push esi
push eax
call fcn.00414c20
mov ecx, eax
add esp, 0x10
cmp ecx, esi
je 0x412893
cmp ecx, 0xffffffff
jne 0x4129ad
call fcn.0049996e
cmp dword [eax], 0x26d8
jne 0x4129b5
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 0x41293f
push 0x20e
sub esi, eax
push 0x5db0e4
push esi
push eax
call fcn.00414c20
mov ecx, eax
add esp, 0x10
cmp ecx, esi
je 0x4128e5
cmp ecx, 0xffffffff
jne 0x4129c2
call fcn.0049996e
cmp dword [eax], 0x26d8
jne 0x4129ca
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 0x41293f
push 0x5db5b0
sub esi, eax
push 0x5db0e0
push esi
push eax
call fcn.00414c20
mov ecx, eax
add esp, 0x10
cmp ecx, esi
je 0x412933
cmp ecx, 0xffffffff
jne 0x4129d7
call fcn.0049996e
cmp dword [eax], 0x26d8
jne 0x4129df
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.00499981
add esp, 4
xor eax, eax
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 8
test ecx, ecx
jns 0x412754
mov eax, dword [ebp - 8]
xor ecx, ecx
mov byte [eax], 0
jmp 0x412754
test ecx, ecx
jns 0x4127a6
mov eax, dword [ebp - 8]
xor ecx, ecx
mov byte [eax], 0
jmp 0x4127a6
test ecx, ecx
jns 0x4127f8
mov eax, dword [ebp - 8]
xor ecx, ecx
mov byte [eax], 0
jmp 0x4127f8
test ecx, ecx
jns 0x41284a
mov eax, dword [ebp - 8]
xor ecx, ecx
mov byte [eax], 0
jmp 0x41284a
test ecx, ecx
jns 0x41289c
mov eax, dword [ebp - 8]
xor ecx, ecx
mov byte [eax], 0
jmp 0x41289c
test ecx, ecx
jns 0x4128ee
mov eax, dword [ebp - 8]
xor ecx, ecx
mov byte [eax], 0
jmp 0x4128ee
test ecx, ecx
jns 0x41293c
mov eax, dword [ebp - 8]
xor ecx, ecx
mov byte [eax], 0
jmp 0x41293c