Function at 0x4124e0
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 0x412511
mov edx, dword [esi]
mov ecx, esi
push str.button
call dword [edx + 4]
test eax, eax
je 0x412511
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [0x66b2a4]
test ecx, ecx
je 0x412522
call fcn.004406e8
jmp 0x412524
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 0x41258c
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 0x412580
cmp ecx, 0xffffffff
jne 0x41272e
call fcn.00499b4d
cmp dword [eax], 0x26d8
jne 0x412736
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.00414b50
mov esi, eax
mov eax, dword [esi + 8]
mov edi, dword [esi + 4]
cmp eax, edi
jae 0x4125e8
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 0x4125dc
cmp ecx, 0xffffffff
jne 0x412743
call fcn.00499b4d
cmp dword [eax], 0x26d8
jne 0x41274b
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 0x412640
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 0x412634
cmp ecx, 0xffffffff
jne 0x412758
call fcn.00499b4d
cmp dword [eax], 0x26d8
jne 0x412760
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 0x41268a
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 0x41267e
cmp ecx, 0xffffffff
jne 0x41276d
call fcn.00499b4d
cmp dword [eax], 0x26d8
jne 0x412775
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 0x4126d6
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 0x4126ca
cmp ecx, 0xffffffff
jne 0x412782
call fcn.00499b4d
cmp dword [eax], 0x26d8
jne 0x41278a
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 0x412797
mov eax, dword [esi]
mov ecx, esi
push 3
push 0
mov eax, dword [eax + 0x2c]
call eax
test al, al
je 0x412797
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 0x412589
mov eax, dword [ebp - 8]
xor ecx, ecx
mov byte [eax], 0
jmp 0x412589
test ecx, ecx
jns 0x4125e5
mov eax, dword [esi + 8]
xor ecx, ecx
mov byte [eax], 0
jmp 0x4125e5
test ecx, ecx
jns 0x41263d
mov eax, dword [esi + 8]
xor ecx, ecx
mov byte [eax], 0
jmp 0x41263d
test ecx, ecx
jns 0x412687
mov eax, dword [esi + 8]
xor ecx, ecx
mov byte [eax], 0
jmp 0x412687
test ecx, ecx
jns 0x4126d3
mov eax, dword [esi + 8]
xor ecx, ecx
mov byte [eax], 0
jmp 0x4126d3
mov eax, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
cmp eax, esi
jae 0x4129cf
push 0x5db4f0
sub esi, eax
push 0x5db0b8
push esi
push eax
call fcn.00414bf0
mov ecx, eax
add esp, 0x10
cmp ecx, esi
je 0x4127db
cmp ecx, 0xffffffff
jne 0x4129e9
call fcn.00499b4d
cmp dword [eax], 0x26d8
jne 0x4129f1
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 0x4129cf
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 0x41282d
cmp ecx, 0xffffffff
jne 0x4129fe
call fcn.00499b4d
cmp dword [eax], 0x26d8
jne 0x412a06
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 0x4129cf
push 0x5db4f0
sub esi, eax
push 0x5db0b8
push esi
push eax
call fcn.00414bf0
mov ecx, eax
add esp, 0x10
cmp ecx, esi
je 0x41287f
cmp ecx, 0xffffffff
jne 0x412a13
call fcn.00499b4d
cmp dword [eax], 0x26d8
jne 0x412a1b
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 0x4129cf
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 0x4128d1
cmp ecx, 0xffffffff
jne 0x412a28
call fcn.00499b4d
cmp dword [eax], 0x26d8
jne 0x412a30
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 0x4129cf
push 0x5db4f4
sub esi, eax
push 0x5db0b8
push esi
push eax
call fcn.00414bf0
mov ecx, eax
add esp, 0x10
cmp ecx, esi
je 0x412923
cmp ecx, 0xffffffff
jne 0x412a3d
call fcn.00499b4d
cmp dword [eax], 0x26d8
jne 0x412a45
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 0x4129cf
push 0x20e
sub esi, eax
push 0x5db0bc
push esi
push eax
call fcn.00414bf0
mov ecx, eax
add esp, 0x10
cmp ecx, esi
je 0x412975
cmp ecx, 0xffffffff
jne 0x412a52
call fcn.00499b4d
cmp dword [eax], 0x26d8
jne 0x412a5a
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 0x4129cf
push 0x5db4f8
sub esi, eax
push 0x5db0b8
push esi
push eax
call fcn.00414bf0
mov ecx, eax
add esp, 0x10
cmp ecx, esi
je 0x4129c3
cmp ecx, 0xffffffff
jne 0x412a67
call fcn.00499b4d
cmp dword [eax], 0x26d8
jne 0x412a6f
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 0x4127e4
mov eax, dword [ebp - 8]
xor ecx, ecx
mov byte [eax], 0
jmp 0x4127e4
test ecx, ecx
jns 0x412836
mov eax, dword [ebp - 8]
xor ecx, ecx
mov byte [eax], 0
jmp 0x412836
test ecx, ecx
jns 0x412888
mov eax, dword [ebp - 8]
xor ecx, ecx
mov byte [eax], 0
jmp 0x412888
test ecx, ecx
jns 0x4128da
mov eax, dword [ebp - 8]
xor ecx, ecx
mov byte [eax], 0
jmp 0x4128da
test ecx, ecx
jns 0x41292c
mov eax, dword [ebp - 8]
xor ecx, ecx
mov byte [eax], 0
jmp 0x41292c
test ecx, ecx
jns 0x41297e
mov eax, dword [ebp - 8]
xor ecx, ecx
mov byte [eax], 0
jmp 0x41297e
test ecx, ecx
jns 0x4129cc
mov eax, dword [ebp - 8]
xor ecx, ecx
mov byte [eax], 0
jmp 0x4129cc