Function at 0x1002b86b
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008cbbe
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc4
push esi
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1002bc80
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x8c], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x88], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0x84], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x70], 0x33c2251
mov dword [ebp - 0x90], 0x1013923c
push 2
lea ecx, [ebp - 0xa4]
call fcn.100191fb
and dword [ebp - 4], 0
mov dword [ebp - 0x24], 0x69be541
lea eax, [ebp - 0xbc]
push eax
push 0
lea eax, [ebp - 0xa4]
push eax
call fcn.1003129d
add esp, 0xc
cmp dword [ebp - 0x80], 0
je 0x1002bae8
mov dword [ebp - 0x28], 0xfffffff7
mov dword [ebp - 0x34], 0
mov dword [ebp - 0xb8], 0xfffffffe
mov dword [ebp - 0xb4], 0xfffffffe
mov dword [ebp - 0xb0], 0xfffffffe
mov dword [ebp - 0xac], 0xfffffffe
lea ecx, [ebp - 0x29]
call fcn.100090c3
push eax
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0xb8]
push eax
lea ecx, [ebp - 0xd0]
call fcn.100192a8
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x6c]
call fcn.10019257
mov byte [ebp - 4], 1
push 0
lea ecx, [ebp - 0x6c]
call fcn.10019299
cmp dword [eax], 0
je 0x1002b9f4
mov esi, dword [ebp - 0x90]
push 2
lea ecx, [ebp - 0x6c]
call fcn.10019299
sub esi, dword [eax]
cmp esi, dword [ebp - 0x28]
je 0x1002b9aa
mov dword [ebp - 0x58], 1
jmp 0x1002b9ae
and dword [ebp - 0x58], 0
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x58], eax
je 0x1002b9bf
mov dword [ebp - 0x60], 1
jmp 0x1002b9c3
and dword [ebp - 0x60], 0
cmp dword [ebp - 0x60], 0x1639
jl 0x1002b9d5
mov dword [ebp - 0x3c], 1
jmp 0x1002b9d9
and dword [ebp - 0x3c], 0
cmp dword [ebp - 0x3c], 0xfffc
jb 0x1002b9f4
mov eax, 0x218f0ed6
test eax, eax
je 0x1002b9f4
mov dword [ebp - 0x54], 1
jmp 0x1002b9f8
and dword [ebp - 0x54], 0
cmp dword [ebp - 0x54], 0x2452
jge 0x1002ba0a
mov dword [ebp - 0x4c], 1
jmp 0x1002ba0e
and dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x4c]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x98], 0xc7a2e428
ja 0x1002ba36
mov dword [ebp - 0x5c], 1
jmp 0x1002ba3a
and dword [ebp - 0x5c], 0
imul eax, dword [ebp - 0x5c], 0xfffffffd
cmp eax, dword [ebp - 0x28]
je 0x1002ba4c
mov dword [ebp - 0x38], 1
jmp 0x1002ba50
and dword [ebp - 0x38], 0
push 0
lea ecx, [ebp - 0xa4]
call fcn.10019299
mov ecx, dword [ebp - 0x38]
cmp ecx, dword [eax]
jg 0x1002ba6d
mov dword [ebp - 0x78], 1
jmp 0x1002ba71
and dword [ebp - 0x78], 0
mov esi, dword [ebp - 0x28]
push 2
lea ecx, [ebp - 0x6c]
call fcn.10019299
cmp esi, dword [eax]
jl 0x1002ba8b
mov dword [ebp - 0x48], 1
jmp 0x1002ba8f
and dword [ebp - 0x48], 0
cmp dword [ebp - 0x48], 0
jg 0x1002ba9e
mov dword [ebp - 0x50], 1
jmp 0x1002baa2
and dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x34], eax
push 0
lea ecx, [ebp - 0xa4]
call fcn.10019299
mov esi, dword [ebp - 0x70]
imul esi, dword [eax]
add esi, 0x7937
push 0
lea ecx, [ebp - 0x6c]
call fcn.10019299
imul esi, dword [eax]
push 1
lea ecx, [ebp - 0x6c]
call fcn.10019299
mov dword [eax], esi
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x6c]
call fcn.1001927d
jmp 0x1002bb08
mov byte [ebp - 0x11], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x1002bb08
push 0x19e9
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa4]
call fcn.1001927d
mov eax, dword [ebp - 0x88]
mov eax, dword [eax]
shl eax, 4
mov ecx, dword [ebp - 0x84]
mov ecx, dword [ecx]
lea eax, [eax + ecx*8 + 0x10094848]
mov ecx, dword [ebp - 0x94]
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x30]
mov eax, dword [eax + ecx*4]
mov dword [edx], eax
mov eax, dword [ebp - 0x8c]
mov eax, dword [eax + 0x24]
and eax, 0x4000000
je 0x1002bc7e
mov dword [ebp - 0x1c], 0x7f759609
mov dword [ebp - 0x10], 0
jmp 0x1002bb6c
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 3
jge 0x1002bb82
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0xc8], 0xc93b4e1a
jmp 0x1002bb65
mov dword [ebp - 0x10], 0
jmp 0x1002bb92
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jge 0x1002bba5
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x18], 0x94643cdf
jmp 0x1002bb8b
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x18], 0
jmp 0x1002bbca
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x18]
inc eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x18], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x18], 3
jge 0x1002bbee
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x18]
mov dword [ebp + eax*4 - 0xc8], 0x17633efc
jmp 0x1002bbb5
mov dword [ebp - 0x1c], 0xd
jmp 0x1002bbfe
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x19
jl 0x1002bc6f
mov dword [ebp - 0x20], 0
jmp 0x1002bc14
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 2
jge 0x1002bc27
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x44], 0x1da622a1
jmp 0x1002bc0d
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x44], 0
jmp 0x1002bc4c
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x44]
inc eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x44], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x44], 1
jge 0x1002bc6d
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x44]
mov dword [ebp + eax*4 - 0x18], 0xe672ca3c
jmp 0x1002bc37
jmp 0x1002bbf7
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
or eax, 0x200
mov ecx, dword [ebp - 0x30]
mov dword [ecx], eax
jmp 0x1002bca5
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
movzx eax, byte [eax]
test eax, eax
je 0x1002bca5
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_MapDialogRect]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret