Function at 0x10021089
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1002112f
mov dword [ebp - 0xec], 1
mov dword [ebp - 0xa8], 5
mov dword [ebp - 0xf4], 0x2afe01bd
mov dword [ebp - 0xb0], 0xfffffffb
mov dword [ebp - 0xd8], 0x690f1d89
mov dword [ebp - 0xb8], 0xa5efa20b
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xc0], 0x4b2ab76d
mov dword [ebp - 0xe0], 0xffffffff
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xf0], 0xf451d52a
mov dword [ebp - 0xd0], 0xffffffff
mov dword [ebp - 0x5c], 0xdbc56e70
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
jmp 0x100215c8
mov dword [ebp - 8], 0xe77d
mov dword [ebp - 0x28], 0x5b263d18
mov dword [ebp - 0x18], 0xaff6
mov dword [ebp - 0xc], 0xd0c11e04
mov dword [ebp - 0x14], 0x9403
mov dword [ebp - 0x9c], 0x694a2199
mov dword [ebp - 4], 0
jmp 0x1002116c
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 3
jge 0x10021182
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x8c], 0xffffffff
jmp 0x10021165
mov dword [ebp - 4], 0
jmp 0x10021192
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 3
jge 0x100211a8
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x104], 0x6cf
jmp 0x1002118b
mov eax, dword [ebp - 8]
mov dword [ebp - 0xe8], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x8c]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0xb4], eax
mov eax, 0xdfb
cmp eax, 0xfffffffa
jle 0x100211e0
mov dword [ebp - 0x30], 1
jmp 0x100211e4
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 0xc]
dec eax
mov dword [ebp - 0xc], eax
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x30]
mov dword [ebp + eax - 0x8c], ecx
mov eax, dword [ebp - 0x30]
neg eax
cmp dword [ebp - 0xc], eax
jge 0x10021211
mov dword [ebp - 0x90], 1
jmp 0x10021218
and dword [ebp - 0x90], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xbc], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x8c]
add eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 8]
jle 0x1002123f
mov dword [ebp - 0x68], 1
jmp 0x10021243
and dword [ebp - 0x68], 0
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x68]
jne 0x10021260
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x8c], 0
jne 0x10021260
and dword [ebp - 0x80], 0
jmp 0x10021267
mov dword [ebp - 0x80], 1
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
add eax, 0xe0c2
cmp dword [ebp - 8], eax
jne 0x10021283
mov dword [ebp - 0x50], 1
jmp 0x10021287
and dword [ebp - 0x50], 0
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x50], eax
jle 0x10021298
mov dword [ebp - 0x64], 1
jmp 0x1002129c
and dword [ebp - 0x64], 0
imul eax, dword [ebp - 0x64], 0xfff8
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0xc], 0x19
jmp 0x100212b9
mov eax, dword [ebp - 0xc]
dec eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xc
jg 0x100213e3
mov dword [ebp - 0x1c], 3
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x18], 2
jmp 0x100212e1
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jl 0x10021348
mov dword [ebp - 0x14], 2
jmp 0x100212f7
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jl 0x10021337
mov dword [ebp - 8], 2
jmp 0x1002130d
mov eax, dword [ebp - 8]
dec eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jl 0x10021335
mov byte [ebp - 0xd], 0
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x10021333
push 0xf70
push 0
push 0x13e6
push 0
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x10021306
jmp 0x100212f0
mov eax, dword [ebp - 0x18]
cmp dword [ebp + eax*4 - 0x8c], 0
je 0x10021346
jmp 0x100212da
jmp 0x100212da
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0x1c], eax
jle 0x10021365
mov dword [ebp - 0xa4], 1
jmp 0x1002136c
and dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x98], eax
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x98]
mov dword [ebp + eax - 0x8c], ecx
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0x34]
add eax, dword [ebp - 0x14]
cmp eax, 0xffffffff
jne 0x100213a7
mov dword [ebp - 0xa0], 1
jmp 0x100213ae
and dword [ebp - 0xa0], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x34]
je 0x100213cb
mov dword [ebp - 0x58], 1
jmp 0x100213cf
and dword [ebp - 0x58], 0
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x58]
mov dword [ebp + eax - 0x104], ecx
jmp 0x100212b2
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x2c], 0x51e
mov dword [ebp - 0x24], 0
jmp 0x10021401
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 3
jge 0x10021414
mov eax, dword [ebp - 0x24]
mov dword [ebp + eax*4 - 0x40], 1
jmp 0x100213fa
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
jne 0x1002142c
cmp dword [ebp - 0x2c], 0xfff9
je 0x1002142c
and dword [ebp - 0x6c], 0
jmp 0x10021433
mov dword [ebp - 0x6c], 1
mov eax, dword [ebp - 0x6c]
neg eax
jne 0x10021449
mov eax, 0x5943e2f7
test eax, eax
jne 0x10021449
and dword [ebp - 0x60], 0
jmp 0x10021450
mov dword [ebp - 0x60], 1
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x40]
sub eax, dword [ebp - 0x60]
cmp eax, 0x3e75
jle 0x1002146c
mov dword [ebp - 0x74], 1
jmp 0x10021470
and dword [ebp - 0x74], 0
mov eax, dword [ebp - 0x20]
neg eax
imul ecx, dword [ebp - 0x74], 0
cmp eax, ecx
jle 0x10021486
mov dword [ebp - 0x7c], 1
jmp 0x1002148a
and dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0x7c]
neg eax
push 4
pop ecx
imul ecx, ecx, 0
cmp eax, dword [ebp + ecx - 0x40]
jge 0x100214a4
mov dword [ebp - 0x78], 1
jmp 0x100214a8
and dword [ebp - 0x78], 0
cmp dword [ebp - 0x78], 0xfffffffd
jle 0x100214b7
mov dword [ebp - 0x70], 1
jmp 0x100214bb
and dword [ebp - 0x70], 0
cmp dword [ebp - 0x70], 2
jb 0x100214ca
mov dword [ebp - 0x48], 1
jmp 0x100214ce
and dword [ebp - 0x48], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x40]
cmp dword [ebp - 0x48], eax
je 0x100214e8
mov dword [ebp - 0x94], 1
jmp 0x100214ef
and dword [ebp - 0x94], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x40]
mov dword [ebp - 0xdc], eax
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x40]
mov dword [ebp - 0xe4], eax
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x40], 0
je 0x10021527
xor eax, eax
inc eax
je 0x10021527
mov dword [ebp - 0x4c], 1
jmp 0x1002152b
and dword [ebp - 0x4c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x40]
imul eax, dword [ebp - 0x4c]
test eax, eax
jne 0x1002154a
push 0xfffffffffffffffb
pop eax
test eax, eax
jne 0x1002154a
and dword [ebp - 0x54], 0
jmp 0x10021551
mov dword [ebp - 0x54], 1
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x40]
cmp dword [ebp - 0x54], eax
jge 0x10021569
mov dword [ebp - 0x44], 1
jmp 0x1002156d
and dword [ebp - 0x44], 0
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x44]
mov dword [ebp + eax - 0x40], ecx
mov dword [ebp - 0x20], 0
jmp 0x10021589
mov eax, dword [ebp - 0x20]
dec eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xfffffff6
jg 0x100215a8
mov byte [ebp - 0xe], 0
movzx eax, byte [ebp - 0xe]
test eax, eax
je 0x100215a6
push 0x851
call dword [sym.imp.USER32.dll_MessageBeep]
jmp 0x10021582
mov byte [ebp - 0xf], 0
movzx eax, byte [ebp - 0xf]
test eax, eax
je 0x100215c8
push 0xf12
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov esp, ebp
pop ebp
ret