Function at 0x10016770
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push 0xffffffffffffffff
push str.edit_path
call fcn.10039ab5
mov esi, eax
test esi, esi
je 0x100167a2
mov edx, dword [esi]
mov ecx, esi
push str.edit
call dword [edx + 4]
test eax, eax
je 0x100167a2
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [0x1019dad0]
test ecx, ecx
je 0x100167b3
call fcn.10029343
jmp 0x100167b5
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 0x10016826
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 0x10016817
cmp ecx, 0xffffffff
jne 0x100169d1
call fcn.100e4cca
cmp dword [eax], 0x26d8
jne 0x100169d9
mov eax, dword [ebp - 0xc]
mov ecx, 0x2800
mov byte [eax - 1], 0
add dword [ebp - 8], ecx
push edi
push str.edit
lea ecx, [ebp - 0x10]
call fcn.1001b500
mov esi, eax
mov eax, dword [esi + 8]
mov edi, dword [esi + 4]
cmp eax, edi
jae 0x10016882
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 0x10016876
cmp ecx, 0xffffffff
jne 0x100169e6
call fcn.100e4cca
cmp dword [eax], 0x26d8
jne 0x100169ee
mov eax, dword [esi + 4]
mov ecx, edi
mov byte [eax - 1], 0
add dword [esi + 8], ecx
push str.edit_path
mov ecx, esi
call fcn.1001b500
mov esi, eax
mov eax, dword [esi + 8]
mov edi, dword [esi + 4]
cmp eax, edi
jae 0x10016979
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 0x100168d4
cmp ecx, 0xffffffff
jne 0x100169fb
call fcn.100e4cca
cmp dword [eax], 0x26d8
jne 0x10016a03
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 0x10016979
push 0xffffffffffffffff
sub edi, eax
push 0x1016ff30
push edi
push eax
call fcn.1001b740
mov ecx, eax
add esp, 0x10
cmp ecx, edi
je 0x10016921
cmp ecx, 0xffffffff
jne 0x10016a10
call fcn.100e4cca
cmp dword [eax], 0x26d8
jne 0x10016a18
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 0x10016979
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 0x1001696d
cmp ecx, 0xffffffff
jne 0x10016a25
call fcn.100e4cca
cmp dword [eax], 0x26d8
jne 0x10016a2d
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 0x10016a3a
mov eax, dword [esi]
mov ecx, esi
push 3
push 0
mov eax, dword [eax + 0x2c]
call eax
test al, al
je 0x10016a3a
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 0x10016823
mov eax, dword [ebp - 8]
xor ecx, ecx
mov byte [eax], 0
jmp 0x10016823
test ecx, ecx
jns 0x1001687f
mov eax, dword [esi + 8]
xor ecx, ecx
mov byte [eax], 0
jmp 0x1001687f
test ecx, ecx
jns 0x100168dd
mov eax, dword [esi + 8]
xor ecx, ecx
mov byte [eax], 0
jmp 0x100168dd
test ecx, ecx
jns 0x1001692a
mov eax, dword [esi + 8]
xor ecx, ecx
mov byte [eax], 0
jmp 0x1001692a
test ecx, ecx
jns 0x10016976
mov eax, dword [esi + 8]
xor ecx, ecx
mov byte [eax], 0
jmp 0x10016976
mov eax, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
cmp eax, esi
jae 0x10016c72
push 0x1016f0b8
sub esi, eax
push 0x1016ff34
push esi
push eax
call fcn.1001b740
mov ecx, eax
add esp, 0x10
cmp ecx, esi
je 0x10016a7e
cmp ecx, 0xffffffff
jne 0x10016c8c
call fcn.100e4cca
cmp dword [eax], 0x26d8
jne 0x10016c94
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 0x10016c72
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 0x10016ad0
cmp ecx, 0xffffffff
jne 0x10016ca1
call fcn.100e4cca
cmp dword [eax], 0x26d8
jne 0x10016ca9
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 0x10016c72
push 0x1016f0b8
sub esi, eax
push 0x1016ff34
push esi
push eax
call fcn.1001b740
mov ecx, eax
add esp, 0x10
cmp ecx, esi
je 0x10016b22
cmp ecx, 0xffffffff
jne 0x10016cb6
call fcn.100e4cca
cmp dword [eax], 0x26d8
jne 0x10016cbe
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 0x10016c72
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 0x10016b74
cmp ecx, 0xffffffff
jne 0x10016ccb
call fcn.100e4cca
cmp dword [eax], 0x26d8
jne 0x10016cd3
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 0x10016c72
push 0x1016fd50
sub esi, eax
push 0x1016ff34
push esi
push eax
call fcn.1001b740
mov ecx, eax
add esp, 0x10
cmp ecx, esi
je 0x10016bc6
cmp ecx, 0xffffffff
jne 0x10016ce0
call fcn.100e4cca
cmp dword [eax], 0x26d8
jne 0x10016ce8
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 0x10016c72
push 0x20e
sub esi, eax
push 0x1016ff30
push esi
push eax
call fcn.1001b740
mov ecx, eax
add esp, 0x10
cmp ecx, esi
je 0x10016c18
cmp ecx, 0xffffffff
jne 0x10016cf5
call fcn.100e4cca
cmp dword [eax], 0x26d8
jne 0x10016cfd
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 0x10016c72
push 0x1016fd54
sub esi, eax
push 0x1016ff34
push esi
push eax
call fcn.1001b740
mov ecx, eax
add esp, 0x10
cmp ecx, esi
je 0x10016c66
cmp ecx, 0xffffffff
jne 0x10016d0a
call fcn.100e4cca
cmp dword [eax], 0x26d8
jne 0x10016d12
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 0x10016a87
mov eax, dword [ebp - 8]
xor ecx, ecx
mov byte [eax], 0
jmp 0x10016a87
test ecx, ecx
jns 0x10016ad9
mov eax, dword [ebp - 8]
xor ecx, ecx
mov byte [eax], 0
jmp 0x10016ad9
test ecx, ecx
jns 0x10016b2b
mov eax, dword [ebp - 8]
xor ecx, ecx
mov byte [eax], 0
jmp 0x10016b2b
test ecx, ecx
jns 0x10016b7d
mov eax, dword [ebp - 8]
xor ecx, ecx
mov byte [eax], 0
jmp 0x10016b7d
test ecx, ecx
jns 0x10016bcf
mov eax, dword [ebp - 8]
xor ecx, ecx
mov byte [eax], 0
jmp 0x10016bcf
test ecx, ecx
jns 0x10016c21
mov eax, dword [ebp - 8]
xor ecx, ecx
mov byte [eax], 0
jmp 0x10016c21
test ecx, ecx
jns 0x10016c6f
mov eax, dword [ebp - 8]
xor ecx, ecx
mov byte [eax], 0
jmp 0x10016c6f