Function at 0x10015660
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.10039ab5
mov esi, eax
test esi, esi
je 0x10015690
mov edx, dword [esi]
mov ecx, esi
push str.button
call dword [edx + 4]
test eax, eax
je 0x10015690
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [0x1019dad0]
test ecx, ecx
je 0x100156a1
call fcn.10029343
jmp 0x100156a3
xor eax, eax
push ebx
push 0x2800
mov dword [ebp - 4], eax
call fcn.100d15b5
mov ebx, eax
add esp, 4
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ebx
lea ecx, [ebx + 0x2800]
mov dword [ebp - 0xc], ecx
cmp ebx, ecx
jae 0x10015714
push str.FindChildByName2_Failed__no_window_of_class
push 0x1016ff34
push 0x2800
push ebx
call fcn.1001b740
mov ecx, eax
add esp, 0x10
cmp ecx, 0x2800
je 0x10015705
cmp ecx, 0xffffffff
jne 0x100158bd
call fcn.100e4cca
cmp dword [eax], 0x26d8
jne 0x100158c5
mov eax, dword [ebp - 0xc]
mov ecx, 0x2800
mov byte [eax - 1], 0
add dword [ebp - 8], ecx
push edi
push str.button
lea ecx, [ebp - 0x10]
call fcn.1001b500
mov esi, eax
mov eax, dword [esi + 8]
mov edi, dword [esi + 4]
cmp eax, edi
jae 0x10015770
push str._with_name_of__
sub edi, eax
push 0x1016ff34
push edi
push eax
call fcn.1001b740
mov ecx, eax
add esp, 0x10
cmp ecx, edi
je 0x10015764
cmp ecx, 0xffffffff
jne 0x100158d2
call fcn.100e4cca
cmp dword [eax], 0x26d8
jne 0x100158da
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.1001b500
mov esi, eax
mov eax, dword [esi + 8]
mov edi, dword [esi + 4]
cmp eax, edi
jae 0x10015865
push str.__was_found_within__
sub edi, eax
push 0x1016ff34
push edi
push eax
call fcn.1001b740
mov ecx, eax
add esp, 0x10
cmp ecx, edi
je 0x100157c0
cmp ecx, 0xffffffff
jne 0x100158e7
call fcn.100e4cca
cmp dword [eax], 0x26d8
jne 0x100158ef
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 0x10015865
push 0xffffffffffffffff
sub edi, eax
push 0x1016ff30
push edi
push eax
call fcn.1001b740
mov ecx, eax
add esp, 0x10
cmp ecx, edi
je 0x1001580d
cmp ecx, 0xffffffff
jne 0x100158fc
call fcn.100e4cca
cmp dword [eax], 0x26d8
jne 0x10015904
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 0x10015865
push str.__levels
sub edi, eax
push 0x1016ff34
push edi
push eax
call fcn.1001b740
mov ecx, eax
add esp, 0x10
cmp ecx, edi
je 0x10015859
cmp ecx, 0xffffffff
jne 0x10015911
call fcn.100e4cca
cmp dword [eax], 0x26d8
jne 0x10015919
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 0x10015926
mov eax, dword [esi]
mov ecx, esi
push 3
push 0
mov eax, dword [eax + 0x2c]
call eax
test al, al
je 0x10015926
mov eax, dword [ebp + 4]
mov ecx, esi
mov edx, dword [esi]
push eax
push str.SOUI::SWindow::FindChildByName2
push 0x20e
push str.h:1_work_
push ebx
push str.soui
push 3
push 0
call dword [edx + 0x34]
push ebx
call fcn.100e4c4c
add esp, 4
xor eax, eax
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 8
test ecx, ecx
jns 0x10015711
mov eax, dword [ebp - 8]
xor ecx, ecx
mov byte [eax], 0
jmp 0x10015711
test ecx, ecx
jns 0x1001576d
mov eax, dword [esi + 8]
xor ecx, ecx
mov byte [eax], 0
jmp 0x1001576d
test ecx, ecx
jns 0x100157c9
mov eax, dword [esi + 8]
xor ecx, ecx
mov byte [eax], 0
jmp 0x100157c9
test ecx, ecx
jns 0x10015816
mov eax, dword [esi + 8]
xor ecx, ecx
mov byte [eax], 0
jmp 0x10015816
test ecx, ecx
jns 0x10015862
mov eax, dword [esi + 8]
xor ecx, ecx
mov byte [eax], 0
jmp 0x10015862
mov eax, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
cmp eax, esi
jae 0x10015b5e
push 0x1016f0b8
sub esi, eax
push 0x1016ff34
push esi
push eax
call fcn.1001b740
mov ecx, eax
add esp, 0x10
cmp ecx, esi
je 0x1001596a
cmp ecx, 0xffffffff
jne 0x10015b78
call fcn.100e4cca
cmp dword [eax], 0x26d8
jne 0x10015b80
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 0x10015b5e
push str.SOUI::SWindow::FindChildByName2
sub esi, eax
push 0x1016ff34
push esi
push eax
call fcn.1001b740
mov ecx, eax
add esp, 0x10
cmp ecx, esi
je 0x100159bc
cmp ecx, 0xffffffff
jne 0x10015b8d
call fcn.100e4cca
cmp dword [eax], 0x26d8
jne 0x10015b95
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 0x10015b5e
push 0x1016f0b8
sub esi, eax
push 0x1016ff34
push esi
push eax
call fcn.1001b740
mov ecx, eax
add esp, 0x10
cmp ecx, esi
je 0x10015a0e
cmp ecx, 0xffffffff
jne 0x10015ba2
call fcn.100e4cca
cmp dword [eax], 0x26d8
jne 0x10015baa
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 0x10015b5e
push str.h:1_work_
sub esi, eax
push 0x1016ff34
push esi
push eax
call fcn.1001b740
mov ecx, eax
add esp, 0x10
cmp ecx, esi
je 0x10015a60
cmp ecx, 0xffffffff
jne 0x10015bb7
call fcn.100e4cca
cmp dword [eax], 0x26d8
jne 0x10015bbf
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 0x10015b5e
push 0x1016fd50
sub esi, eax
push 0x1016ff34
push esi
push eax
call fcn.1001b740
mov ecx, eax
add esp, 0x10
cmp ecx, esi
je 0x10015ab2
cmp ecx, 0xffffffff
jne 0x10015bcc
call fcn.100e4cca
cmp dword [eax], 0x26d8
jne 0x10015bd4
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 0x10015b5e
push 0x20e
sub esi, eax
push 0x1016ff30
push esi
push eax
call fcn.1001b740
mov ecx, eax
add esp, 0x10
cmp ecx, esi
je 0x10015b04
cmp ecx, 0xffffffff
jne 0x10015be1
call fcn.100e4cca
cmp dword [eax], 0x26d8
jne 0x10015be9
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 0x10015b5e
push 0x1016fd54
sub esi, eax
push 0x1016ff34
push esi
push eax
call fcn.1001b740
mov ecx, eax
add esp, 0x10
cmp ecx, esi
je 0x10015b52
cmp ecx, 0xffffffff
jne 0x10015bf6
call fcn.100e4cca
cmp dword [eax], 0x26d8
jne 0x10015bfe
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.100e4c4c
add esp, 4
xor eax, eax
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 8
test ecx, ecx
jns 0x10015973
mov eax, dword [ebp - 8]
xor ecx, ecx
mov byte [eax], 0
jmp 0x10015973
test ecx, ecx
jns 0x100159c5
mov eax, dword [ebp - 8]
xor ecx, ecx
mov byte [eax], 0
jmp 0x100159c5
test ecx, ecx
jns 0x10015a17
mov eax, dword [ebp - 8]
xor ecx, ecx
mov byte [eax], 0
jmp 0x10015a17
test ecx, ecx
jns 0x10015a69
mov eax, dword [ebp - 8]
xor ecx, ecx
mov byte [eax], 0
jmp 0x10015a69
test ecx, ecx
jns 0x10015abb
mov eax, dword [ebp - 8]
xor ecx, ecx
mov byte [eax], 0
jmp 0x10015abb
test ecx, ecx
jns 0x10015b0d
mov eax, dword [ebp - 8]
xor ecx, ecx
mov byte [eax], 0
jmp 0x10015b0d
test ecx, ecx
jns 0x10015b5b
mov eax, dword [ebp - 8]
xor ecx, ecx
mov byte [eax], 0
jmp 0x10015b5b