Function at 0x106fa31
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102ae28
push 0x10722fe
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ecx
mov eax, 0x1a10
call fcn.010720e0
mov eax, dword [0x1080bec]
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov edi, dword [ebp + 8]
mov dword [ebp - 0x19dc], edi
xor ebx, ebx
mov dword [ebp - 0x19cc], ebx
mov dword [ebp - 0x19d4], ebx
mov dword [ebp - 0x19e0], ebx
call fcn.0106e3cd
push 0x719
push edi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
call esi
mov dword [ebp - 0x1a00], eax
push 0x71b
push edi
call esi
mov esi, eax
push 0x80
lea eax, [ebp - 0x3f0]
push eax
push dword [ebp - 0x1a00]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push ebx
push ebx
push 0x104
lea eax, [ebp - 0x120]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x3f0]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movzx eax, word [0x10885e8]
cmp eax, 0x19
ja case.0x106faf8.1
movzx eax, byte [eax + 0x10704d6]
jmp dword [eax*4 + 0x107049e]
mov eax, dword [0x1081598]
mov eax, dword [eax + 0x1c]
dec eax
dec eax
lea eax, [ebp - 0x120]
push eax
je 0x106fb23
lea eax, [ebp - 0x19cc]
push eax
call fcn.0105ef17
movsx eax, ax
jmp 0x106fb44
call dword [sym.imp.msvcrt.dll_atol]
pop ecx
mov dword [ebp - 0x19cc], eax
cmp eax, ebx
jne 0x106fb41
cmp byte [ebp - 0x120], 0x30
je 0x106fb41
xor eax, eax
jmp 0x106fb44
xor eax, eax
inc eax
movzx ecx, word [0x10885e8]
cmp ecx, 3
je 0x106fb6f
cmp ecx, 6
je 0x106fb66
cmp ecx, 0x10
jne 0x106fb7d
cmp dword [ebp - 0x19cc], 0xffff
jmp 0x106fb79
cmp dword [ebp - 0x19cc], 0xffffffff
jmp 0x106fb79
cmp dword [ebp - 0x19cc], 0xff
jbe 0x106fb7d
xor eax, eax
cmp eax, ebx
je 0x1070485
mov dword [0x10815bc], 1
movzx eax, word [0x10885d8]
cmp eax, 0xd
jg 0x106ffcb
je 0x106ff8c
dec eax
je 0x106ff5d
sub eax, 3
je 0x107004e
sub eax, 3
je 0x107004e
dec eax
je 0x106ff31
sub eax, 3
jne 0x106ffe4
mov eax, dword [ebp - 0x1a08]
mov ecx, dword [0x1081598]
mov dword [ecx + 0x48], eax
mov eax, dword [ebp - 0x1a04]
mov ecx, dword [0x1081598]
mov dword [ecx + 0x4c], eax
mov eax, dword [0x1081598]
mov ecx, dword [eax + 0x1c]
dec ecx
push dword [eax + 0x4c]
push dword [eax + 0x48]
lea eax, [ebp - 0x8a0]
dec ecx
je 0x106ff27
push 0x102ae18
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
jmp 0x10701be
mov eax, dword [0x1081598]
mov eax, dword [eax + 0x1c]
dec eax
dec eax
lea eax, [ebp - 0x120]
push eax
je 0x106fc43
lea eax, [ebp - 0x1a08]
push eax
call fcn.0105e5df
movsx eax, ax
jmp 0x106fb7d
call dword [sym.imp.msvcrt.dll__atoi64]
pop ecx
mov dword [ebp - 0x1a08], eax
mov dword [ebp - 0x1a04], edx
or eax, edx
jne case.0x106faf8.0
cmp byte [ebp - 0x120], 0x30
jne case.0x106faf8.1
jmp case.0x106faf8.0
mov esi, dword [0x1081598]
mov eax, dword [esi + 0x1c]
dec eax
je 0x106fcac
dec eax
dec eax
jne case.0x106faf8.1
lea eax, [ebp - 0x120]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x106fc8d
sub eax, edx
mov ecx, eax
mov dword [ebp - 0x19d4], ecx
jne 0x106fe54
mov dword [esi + 0x28], ebx
jmp case.0x106faf8.1
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x19d4]
push eax
lea eax, [ebp - 0x1e8]
push eax
call fcn.0105ef60
cmp eax, ebx
jne 0x106fb85
mov ecx, dword [0x1081598]
mov dword [ecx + 0x28], ebx
jmp 0x106fb7d
push 1
jmp 0x106fced
push 0xd
jmp 0x106fced
push 2
jmp 0x106fced
push 9
jmp 0x106fced
push ebx
lea eax, [ebp - 0x3f0]
push eax
lea eax, [ebp - 0x1a20]
push eax
call fcn.0106c175
jmp 0x106fb7d
mov dword [ebp - 4], ebx
push 0x71d
push dword [ebp - 0x19dc]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
mov dword [ebp - 0x1a28], edi
push 0
push 0
push 0x188
push edi
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
call ebx
mov dword [ebp - 0x19d0], eax
movsx esi, ax
push 0
push esi
push 0x199
push edi
call ebx
mov ebx, eax
mov dword [ebp - 0x1a24], ebx
lea eax, [ebp - 0xd00]
push eax
push esi
push 0x189
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
cmp word [ebp - 0x19d0], 0xffff
je 0x106fe1d
cmp ebx, 0xffffffff
je 0x106fe1d
test ebx, ebx
je 0x106fe1d
push dword [ebx + 1]
mov edi, 0x102ac0c
push edi
lea eax, [ebp - 0x1318]
push eax
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
call esi
push dword [ebx + 5]
push edi
lea eax, [ebp - 0xf08]
push eax
call esi
lea eax, [ebp - 0x1318]
push eax
lea eax, [ebp - 0xd00]
push eax
mov esi, dword [sym.imp.msvcrt.dll_wcscmp]
call esi
add esp, 0x20
test eax, eax
jne 0x106fdd2
mov eax, dword [0x1081598]
mov dword [eax + 0x14], 0x20
jmp 0x106fdf4
lea eax, [ebp - 0xf08]
push eax
lea eax, [ebp - 0xd00]
push eax
call esi
pop ecx
pop ecx
test eax, eax
jne 0x106fe14
mov eax, dword [0x1081598]
mov dword [eax + 0x14], 0x1f
xor eax, eax
inc eax
mov edx, eax
mov cl, byte [ebx]
shl edx, cl
mov dword [ebp - 0x19cc], edx
mov dword [ebp - 0x19e0], eax
or dword [ebp - 4], 0xffffffff
xor ebx, ebx
jmp 0x106fb7d
or dword [ebp - 4], 0xffffffff
jmp 0x1070485
xor eax, eax
jmp 0x106fe03
lea eax, [ebp - 0x120]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x106fe3d
sub eax, edx
mov ecx, eax
mov dword [ebp - 0x19d4], ecx
je case.0x106faf8.1
lea esi, [ebp - 0x120]
lea edi, [ebp - 0x1e8]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor eax, eax
inc eax
jmp 0x106fb7d
mov eax, 0xffff
mov word [ebp - 0x19f0], ax
mov word [ebp - 0x19ee], ax
mov word [ebp - 0x19ec], ax
mov word [ebp - 0x19ea], ax
mov word [ebp - 0x19e8], ax
mov word [ebp - 0x19e6], ax
mov word [ebp - 0x19e4], ax
mov word [ebp - 0x19e2], ax
lea eax, [ebp - 0x3f0]
push eax
lea eax, [ebp - 0x19f0]
push eax
call fcn.0105ed61
mov edi, eax
push 0x80
lea eax, [ebp - 0x3f0]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x3f0]
push eax
lea eax, [ebp - 0x19f0]
push eax
call fcn.0105ee00
cmp edi, ebx
jne case.0x106faf8.0
cmp eax, ebx
je case.0x106faf8.1
jmp case.0x106faf8.0
lea eax, [ebp - 0x1e8]
mov dword [ebp - 0x19f8], eax
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x19fc]
push eax
call fcn.0105ea17
jmp 0x106fb7d
push 0x102ae0c
jmp 0x106fc0d
mov eax, dword [ebp - 0x19cc]
mov ecx, dword [0x1081598]
mov dword [ecx + 0x20], eax
push 0x80
lea eax, [ebp - 0x8a0]
push eax
push dword [ebp - 0x1a00]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x10701be
mov edi, dword [0x1081598]
add edi, 0x2c
push 5
pop ecx
lea esi, [ebp - 0x1a20]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
push ebx
lea eax, [ebp - 0x1a20]
push eax
lea eax, [ebp - 0x8a0]
push eax
call fcn.0106d586
jmp 0x10701be
lea ecx, [ebp - 0x1e8]
mov eax, dword [0x1081598]
mov edx, dword [eax + 0x24]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x106ff9a
lea eax, [ebp - 0x1e8]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x106ffad
sub eax, edx
inc eax
mov ecx, dword [0x1081598]
mov dword [ecx + 0x28], eax
lea eax, [ebp - 0x1e8]
jmp 0x10700fc
sub eax, 0xe
je 0x1070149
dec eax
je 0x107010a
dec eax
dec eax
je 0x107004e
sub eax, 5
je 0x106fff0
mov word [ebp - 0x8a0], bx
jmp 0x10701be
mov eax, dword [ebp - 0x19fc]
mov ecx, dword [0x1081598]
mov dword [ecx + 0x60], eax
movsx eax, word [ebp - 0x19fc]
shl eax, 2
mov ecx, dword [0x1081598]
mov dword [ecx + 0x28], eax
mov ecx, dword [ebp - 0x19fc]
mov esi, dword [ebp - 0x19f8]
mov eax, dword [0x1081598]
mov edi, dword [eax + 0x64]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [0x1081598]
add eax, 0x60
push eax
lea eax, [ebp - 0xaf8]
push eax
call fcn.0105e957
lea eax, [ebp - 0xaf8]
push eax
push 0x102ac0c
jmp 0x1070102
mov ecx, dword [ebp - 0x19d4]
lea esi, [ebp - 0x1e8]
mov eax, dword [0x1081598]
mov edi, dword [eax + 0x24]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [0x1081598]
mov ecx, dword [ebp - 0x19d4]
mov dword [eax + 0x28], ecx
mov eax, dword [0x1081598]
mov eax, dword [eax + 0x1c]
dec eax
je 0x10700b9
dec eax
dec eax
jne 0x10700d2
mov eax, dword [ebp - 0x19d4]
mov ecx, eax
lea esi, [ebp - 0x1e8]
lea edi, [ebp - 0xaf8]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov byte [ebp + eax - 0xaf8], 0
jmp 0x10700d2
push dword [ebp - 0x19d4]
lea eax, [ebp - 0x1e8]
push eax
lea eax, [ebp - 0xaf8]
push eax
call fcn.0105e74d
mov eax, dword [0x1081598]
cmp dword [eax + 0x1c], 3
jne 0x10700f6
lea eax, [ebp - 0x3f0]
push eax
lea eax, [ebp - 0x8a0]
push eax
call dword [sym.imp.msvcrt.dll_wcscpy]
jmp 0x10701bc
lea eax, [ebp - 0xaf8]
push eax
push 0x102ae00
lea eax, [ebp - 0x8a0]
jmp 0x1070136
mov eax, dword [ebp - 0x19cc]
mov ecx, dword [0x1081598]
mov dword [ecx + 0x20], eax
mov eax, dword [0x1081598]
mov eax, dword [eax + 0x1c]
dec eax
push dword [ebp - 0x19cc]
dec eax
lea eax, [ebp - 0x8a0]
je 0x1070142
push 0x102adf4
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
jmp 0x10701be
push 0x10032cc
jmp 0x1070136
mov edi, dword [0x1081598]
add edi, 0x50
lea esi, [ebp - 0x19f0]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x19f0]
push eax
lea eax, [ebp - 0x8a0]
push eax
call fcn.0105ed0b
lea eax, [ebp - 0x19f0]
push eax
lea eax, [ebp - 0x19c8]
push eax
call fcn.0105ebe1
cmp word [ebp - 0x8a0], bx
je 0x10701a8
cmp word [ebp - 0x19c8], bx
je 0x10701a8
push 0x102adec
lea eax, [ebp - 0x8a0]
push eax
call dword [sym.imp.msvcrt.dll_wcscat]
pop ecx
pop ecx
lea eax, [ebp - 0x19c8]
push eax
lea eax, [ebp - 0x8a0]
push eax
call dword [sym.imp.msvcrt.dll_wcscat]
pop ecx
pop ecx
lea eax, [ebp - 0x8a0]
push eax
mov eax, dword [0x1081598]
push dword [eax]
call dword [sym.imp.msvcrt.dll_wcscat]
pop ecx
pop ecx
push 0x71c
push dword [ebp - 0x19dc]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
call esi
mov edi, eax
movzx eax, word [0x10885ec]
dec eax
je 0x1070399
sub eax, 7
je 0x1070206
sub eax, 7
je 0x1070215
jmp 0x1070485
push 0x71d
push dword [ebp - 0x19dc]
call esi
mov edi, eax
push ebx
push ebx
push 0x188
push edi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
call esi
mov dword [ebp - 0x19d0], eax
cmp ax, 0xffff
je 0x107026b
push ebx
movsx eax, ax
push eax
push 0x199
push edi
call esi
movzx ecx, word [0x10885f0]
cmp ecx, ebx
je 0x107026b
cmp ecx, 8
je 0x1070266
cmp ecx, 0xf
jne 0x1070485
xor ecx, ecx
cmp eax, dword [ebp - 0x19cc]
sete cl
mov eax, ecx
jmp 0x107026d
xor eax, eax
inc eax
jmp 0x107026d
xor eax, eax
cmp eax, ebx
jne 0x1070336
or dword [ebp - 0x19d0], 0xffffffff
push 0
push 0xffffffffffffffff
mov esi, 0x186
push esi
push edi
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
call ebx
push 0
push 0
push 0x18b
push edi
call ebx
mov dword [ebp - 0x19f4], eax
cmp ax, 0xffff
je 0x1070485
test ax, ax
je 0x1070485
movzx eax, word [0x10885f0]
cmp eax, 8
je 0x1070316
cmp eax, 0xf
jne 0x1070485
and dword [ebp - 0x19d8], 0
cmp word [ebp - 0x19f4], 0
jle 0x1070316
xor ebx, ebx
push 0
push ebx
push 0x199
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, dword [ebp - 0x19cc]
jne 0x10702ff
mov eax, dword [ebp - 0x19d8]
mov dword [ebp - 0x19d0], eax
inc dword [ebp - 0x19d8]
inc ebx
mov ax, word [ebp - 0x19d8]
cmp ax, word [ebp - 0x19f4]
jl 0x10702dc
cmp word [ebp - 0x19d0], 0xffff
je 0x1070485
push 0
movsx eax, word [ebp - 0x19d0]
push eax
push esi
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
cmp word [ebp - 0x19d0], 0xffff
je 0x1070485
lea eax, [ebp - 0x1518]
push eax
movsx eax, word [ebp - 0x19d0]
push eax
push 0x189
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x102ade4
mov eax, dword [0x1081598]
push dword [eax]
mov esi, dword [sym.imp.msvcrt.dll_wcscat]
call esi
lea eax, [ebp - 0x1518]
push eax
mov eax, dword [0x1081598]
push dword [eax]
call esi
push 0x102addc
mov eax, dword [0x1081598]
push dword [eax]
call esi
add esp, 0x18
jmp 0x1070485
push 0x71e
push dword [ebp - 0x19dc]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
push ebx
push ebx
push 0x178a
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
cmp si, 0xffff
je 0x1070403
movsx eax, si
push eax
push ebx
push 0x178d
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
movzx ecx, word [0x10885f0]
sub ecx, ebx
je 0x1070403
dec ecx
je 0x10703ec
call dword [sym.imp.KERNEL32.dll_DebugBreak]
jmp 0x1070485
mov ecx, dword [0x1081598]
add ecx, 0x2c
push ecx
push eax
call sub.NMAPI.dll_CompareAddresses
neg eax
sbb eax, eax
inc eax
jmp 0x1070405
xor eax, eax
cmp eax, ebx
jne 0x1070421
mov eax, dword [0x1081598]
add eax, 0x2c
push eax
push ebx
push 0x178c
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
cmp si, 0xffff
je 0x1070485
movsx eax, si
push eax
push ebx
push 0x178d
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
push 0x102ade4
mov eax, dword [0x1081598]
push dword [eax]
mov edi, dword [sym.imp.msvcrt.dll_wcscat]
call edi
add esi, 0x16
push esi
push 0x1001e40
lea eax, [ebp - 0x1110]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x1110]
push eax
mov eax, dword [0x1081598]
push dword [eax]
call edi
push 0x102addc
mov eax, dword [0x1081598]
push dword [eax]
call edi
add esp, 0x24
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x1c]
call fcn.01070ac3
pop edi
pop esi
pop ebx
leave
ret 4