Function at 0x21091f60
Capabilities:
Get graphical window text

Disassembly:
enter 0, 0
sub esp, 0x20c4
push 5
push dword [0x33b0a54]
call fcn.2108edfa
mov dword [ebp - 0x209c], eax
push 0x18
push dword [0x33b0a54]
call fcn.2108edfa
mov dword [ebp - 0x20a0], eax
push 0x19
push dword [0x33b0a54]
call fcn.2108edfa
mov dword [ebp - 0x20a4], eax
push 0x17
push dword [0x33b0a54]
call fcn.2108edfa
mov dword [ebp - 0x20a8], eax
push 0x2d
push dword [0x33b0a54]
call fcn.2108edfa
mov dword [ebp - 0x20ac], eax
push 0x2e
push dword [0x33b0a54]
call fcn.2108edfa
mov dword [ebp - 0x20b0], eax
push 0x2f
push dword [0x33b0a54]
call fcn.2108edfa
mov dword [ebp - 0x20b4], eax
push 3
push dword [0x33b0a54]
call fcn.2108edfa
mov dword [ebp - 0x20b8], eax
mov eax, dword [0x33b0a54]
mov ebx, 0x2625a00
mul ebx
lea ebx, [0x33b0e58]
add eax, ebx
mov dword [ebp - 0x20c0], eax
mov eax, dword [0x33b0a54]
mov ebx, 0x989680
mul ebx
lea ebx, [0x1b129258]
add eax, ebx
mov dword [ebp - 0x20c4], eax
push 0x1c
lea eax, [ebp - 0x2070]
push eax
call sub.KERNEL32.DLL_RtlZeroMemory
push 0x28
lea eax, [ebp - 0x2098]
push eax
call sub.KERNEL32.DLL_RtlZeroMemory
mov byte [ebp - 0x2048], 0
mov dword [ebp - 0x24], 0
push 0xb
lea eax, [ebp - 0x2052]
push eax
push dword [ebp - 0x209c]
call sub.USER32.DLL_GetWindowTextA
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x20a0]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x20a4]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 4], eax
jg 0x21092431
push 0x1c
lea eax, [ebp - 0x2070]
push eax
push dword [ebp - 4]
push dword [ebp - 0x20a8]
call sub.KERNEL32.DLL_VirtualQueryEx
cmp dword [ebp - 0x2060], 0x1000
jne 0x2109241d
cmp dword [ebp - 0x205c], 4
je 0x210920e1
cmp dword [ebp - 0x205c], 0x40
jne 0x2109241d
xor edx, edx
xor eax, eax
mov ebx, dword [ebp - 0x2064]
mov dword [ebp - 0x10], ebx
xor ebx, ebx
mov ax, word [ebp - 0x10]
mov dx, word [ebp - 0xe]
mov bx, 0x1000
div bx
mov word [ebp - 0x46], ax
mov eax, dword [ebp - 0x2070]
mov dword [ebp - 8], eax
cmp word [ebp - 0x46], 0
je 0x2109241d
mov dword [ebp - 0x1c], 0
cmp word [ebp - 0x46], 1
jne 0x2109229f
push 0
push 0x1000
lea eax, [ebp - 0x1046]
push eax
push dword [ebp - 8]
push dword [ebp - 0x20a8]
call sub.KERNEL32.DLL_ReadProcessMemory
lea edi, [ebp - 0x1046]
mov dword [ebp - 0x18], 0x1000
cmp dword [ebp - 0x18], 0
je 0x2109229a
mov ax, word [ebp + 8]
scasw ax, word es:[edi]
jne 0x21092289
inc dword [ebp - 0x20ac]
cmp dword [ebp - 0x20ac], 0x64
jle 0x210921b4
mov edx, edi
cld
mov edi, dword [ebp - 0x20c0]
add edi, dword [ebp - 0x20b0]
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x1c]
stosd dword es:[edi], eax
add dword [ebp - 0x20b0], 4
mov edi, dword [ebp - 0x20c4]
add edi, dword [ebp - 0x20b4]
mov al, 2
stosb byte es:[edi], al
inc dword [ebp - 0x20b4]
mov edi, edx
jmp 0x21092289
push 0x28
lea eax, [ebp - 0x2098]
push eax
call sub.KERNEL32.DLL_RtlZeroMemory
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x2098], 7
mov eax, dword [ebp - 0x20ac]
dec eax
mov dword [ebp - 0x2094], eax
mov dword [ebp - 0x2090], 0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2078], eax
mov dword [ebp - 0x207c], 2
push dword [ebp - 0x20]
push str._08X
lea eax, [ebp - 0x44]
push eax
call sub.USER32.DLL_wsprintfA
add esp, 0xc
lea eax, [ebp - 0x44]
mov dword [ebp - 0x2084], eax
lea eax, [ebp - 0x2098]
push eax
push 0
push 0x1007
push dword [ebp - 0x20b8]
call sub.USER32.DLL_SendMessageA
push 0x28
lea eax, [ebp - 0x2098]
push eax
call sub.KERNEL32.DLL_RtlZeroMemory
mov dword [ebp - 0x2098], 1
mov eax, dword [ebp - 0x20ac]
dec eax
mov dword [ebp - 0x2094], eax
mov dword [ebp - 0x2090], 1
lea eax, [ebp - 0x2052]
mov dword [ebp - 0x2084], eax
lea eax, [ebp - 0x2098]
push eax
push 0
push 0x1006
push dword [ebp - 0x20b8]
call sub.USER32.DLL_SendMessageA
dec edi
inc dword [ebp - 0x1c]
lea eax, [ebp - 0x1c]
dec dword [ebp - 0x18]
xor eax, eax
jmp 0x21092152
jmp 0x2109240d
push 0
push 0x1001
lea eax, [ebp - 0x2047]
push eax
push dword [ebp - 8]
push dword [ebp - 0x20a8]
call sub.KERNEL32.DLL_ReadProcessMemory
lea edi, [ebp - 0x2047]
mov dword [ebp - 0x18], 0x1000
cmp dword [ebp - 0x18], 0
je 0x2109240d
mov ax, word [ebp + 8]
scasw ax, word es:[edi]
jne 0x210923ff
inc dword [ebp - 0x20ac]
cmp dword [ebp - 0x20ac], 0x64
jle 0x2109232a
mov edx, edi
cld
mov edi, dword [ebp - 0x20c0]
add edi, dword [ebp - 0x20b0]
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x1c]
stosd dword es:[edi], eax
add dword [ebp - 0x20b0], 4
mov edi, dword [ebp - 0x20c4]
add edi, dword [ebp - 0x20b4]
mov al, 2
stosb byte es:[edi], al
inc dword [ebp - 0x20b4]
mov edi, edx
jmp 0x210923ff
push 0x28
lea eax, [ebp - 0x2098]
push eax
call sub.KERNEL32.DLL_RtlZeroMemory
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x2098], 7
mov eax, dword [ebp - 0x20ac]
dec eax
mov dword [ebp - 0x2094], eax
mov dword [ebp - 0x2090], 0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2078], eax
mov dword [ebp - 0x207c], 2
push dword [ebp - 0x20]
push str._08X
lea eax, [ebp - 0x44]
push eax
call sub.USER32.DLL_wsprintfA
add esp, 0xc
lea eax, [ebp - 0x44]
mov dword [ebp - 0x2084], eax
lea eax, [ebp - 0x2098]
push eax
push 0
push 0x1007
push dword [ebp - 0x20b8]
call sub.USER32.DLL_SendMessageA
push 0x28
lea eax, [ebp - 0x2098]
push eax
call sub.KERNEL32.DLL_RtlZeroMemory
mov dword [ebp - 0x2098], 1
mov eax, dword [ebp - 0x20ac]
dec eax
mov dword [ebp - 0x2094], eax
mov dword [ebp - 0x2090], 1
lea eax, [ebp - 0x2052]
mov dword [ebp - 0x2084], eax
lea eax, [ebp - 0x2098]
push eax
push 0
push 0x1006
push dword [ebp - 0x20b8]
call sub.USER32.DLL_SendMessageA
dec edi
inc dword [ebp - 0x1c]
dec dword [ebp - 0x18]
xor eax, eax
jmp 0x210922c8
add dword [ebp - 8], 0x1000
dec word [ebp - 0x46]
jmp 0x2109210c
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x2064]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
jmp 0x21092097
mov eax, dword [ebp - 0x209c]
push eax
push 5
push dword [0x33b0a54]
call fcn.2108e740
mov eax, dword [ebp - 0x20a0]
push eax
push 0x18
push dword [0x33b0a54]
call fcn.2108e740
mov eax, dword [ebp - 0x20a4]
push eax
push 0x19
push dword [0x33b0a54]
call fcn.2108e740
mov eax, dword [ebp - 0x20a8]
push eax
push 0x17
push dword [0x33b0a54]
call fcn.2108e740
mov eax, dword [ebp - 0x20ac]
push eax
push 0x2d
push dword [0x33b0a54]
call fcn.2108e740
mov eax, dword [ebp - 0x20b0]
push eax
push 0x2e
push dword [0x33b0a54]
call fcn.2108e740
mov eax, dword [ebp - 0x20b4]
push eax
push 0x2f
push dword [0x33b0a54]
call fcn.2108e740
mov eax, dword [ebp - 0x20b8]
push eax
push 3
push dword [0x33b0a54]
call fcn.2108e740
jmp 0x210924d6
leave
ret 4