Function at 0x10015375
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10084c3e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1bc
push esi
and dword [ebp - 0xb8], 0
mov dword [ebp - 0x70], 0xfffffffc
mov dword [ebp - 0x68], 0x327439cb
mov dword [ebp - 0x5c], 0x50db8561
mov dword [ebp - 0x1c], 0xffffffff
mov dword [ebp - 0x9c], 0x809d0107
mov dword [ebp - 0x4c], 6
mov dword [ebp - 0x74], 0xfecb
mov dword [ebp - 0x58], 0xb000e2e4
mov dword [ebp - 0x24], 0xfffb
mov dword [ebp - 0x180], 0x4191b860
mov dword [ebp - 0x17c], 0x4191b860
mov dword [ebp - 0x178], 0x4191b860
mov dword [ebp - 0x174], 0x4191b860
mov dword [ebp - 0x120], 0x1d8d4885
mov dword [ebp - 0x13c], 6
mov dword [ebp - 0xf0], 0xc5fd78d
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x3c], 0
jmp 0x1001543d
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 3
jge 0x10015453
mov eax, dword [ebp - 0x3c]
mov dword [ebp + eax*4 - 0x160], 0xffffffff
jmp 0x10015436
mov eax, 0x836ccb03
test eax, eax
je 0x1001576b
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x160], 0
jne 0x1001547f
cmp dword [ebp - 0x1c], 0
jne 0x1001547f
and dword [ebp - 0xc8], 0
jmp 0x10015489
mov dword [ebp - 0xc8], 1
mov eax, dword [ebp - 0x74]
cmp dword [ebp - 0xc8], eax
jge 0x100154a0
mov dword [ebp - 0x84], 1
jmp 0x100154a7
and dword [ebp - 0x84], 0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x84], eax
jl 0x100154be
mov dword [ebp - 0xe4], 1
jmp 0x100154c5
and dword [ebp - 0xe4], 0
mov eax, dword [ebp - 0x68]
cmp dword [ebp - 0xe4], eax
jle 0x100154dc
mov dword [ebp - 0x8c], 1
jmp 0x100154e3
and dword [ebp - 0x8c], 0
cmp dword [ebp - 0x8c], 0xf5ab171c
jb 0x100154fb
mov dword [ebp - 0xec], 1
jmp 0x10015502
and dword [ebp - 0xec], 0
mov eax, dword [ebp - 0x68]
cmp dword [ebp - 0xec], eax
jne 0x10015519
mov dword [ebp - 0x94], 1
jmp 0x10015520
and dword [ebp - 0x94], 0
mov eax, dword [ebp - 0x5c]
cmp eax, dword [ebp - 0x94]
jl 0x10015537
mov dword [ebp - 0xf4], 1
jmp 0x1001553e
and dword [ebp - 0xf4], 0
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0x9c], eax
push 4
pop eax
shl eax, 1
push 4
pop ecx
shl ecx, 1
mov ecx, dword [ebp + ecx - 0x160]
imul ecx, dword [ebp - 0x9c]
cmp ecx, dword [ebp + eax - 0x160]
je 0x10015577
mov dword [ebp - 0xfc], 1
jmp 0x1001557e
and dword [ebp - 0xfc], 0
mov eax, dword [ebp - 0x70]
cmp dword [ebp - 0xfc], eax
jne 0x10015595
mov dword [ebp - 0xa4], 1
jmp 0x1001559c
and dword [ebp - 0xa4], 0
cmp dword [ebp - 0xa4], 0xae734f12
je 0x100155b4
mov dword [ebp - 0x104], 1
jmp 0x100155bb
and dword [ebp - 0x104], 0
mov eax, dword [ebp - 0x104]
inc eax
inc eax
cmp eax, 0xffff
je 0x100155d6
mov dword [ebp - 0xac], 1
jmp 0x100155dd
and dword [ebp - 0xac], 0
mov eax, dword [ebp - 0x74]
cmp dword [ebp - 0xac], eax
jne 0x100155f4
mov dword [ebp - 0x10c], 1
jmp 0x100155fb
and dword [ebp - 0x10c], 0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x10c], eax
jle 0x1001560f
mov dword [ebp - 0x6c], 1
jmp 0x10015613
and dword [ebp - 0x6c], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x6c]
mov dword [ebp + eax - 0x160], ecx
mov eax, dword [ebp - 0x1c]
imul eax, dword [ebp - 0x6c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x74]
cmp dword [ebp - 0x24], eax
jg 0x10015641
mov dword [ebp - 0xb4], 1
jmp 0x10015648
and dword [ebp - 0xb4], 0
cmp dword [ebp - 0xb4], 0x25b7
jle 0x10015660
mov dword [ebp - 0x114], 1
jmp 0x10015667
and dword [ebp - 0x114], 0
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x114]
sub ecx, dword [ebp + eax - 0x180]
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x180]
mov dword [ebp - 0x1c0], eax
mov eax, dword [ebp - 0x58]
add eax, dword [ebp - 0x120]
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x140]
cmp eax, dword [ebp - 0x130]
jge 0x100156c7
mov dword [ebp - 0xbc], 1
jmp 0x100156ce
and dword [ebp - 0xbc], 0
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0xf0], 1
jbe 0x100156ec
mov dword [ebp - 0x11c], 1
jmp 0x100156f3
and dword [ebp - 0x11c], 0
mov eax, dword [ebp - 0x5c]
add eax, dword [ebp - 0x11c]
je 0x10015716
cmp dword [ebp - 0xf0], 0
je 0x10015716
cmp dword [ebp - 0x1c], 0
je 0x10015716
mov dword [ebp - 0x7c], 1
jmp 0x1001571a
and dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0x70]
add eax, dword [ebp - 0x7c]
imul eax, dword [ebp - 0x70]
test eax, eax
je 0x10015731
cmp dword [ebp - 0x134], 0
jne 0x10015743
mov eax, 0x7d7e7d1c
test eax, eax
jne 0x10015743
and dword [ebp - 0x108], 0
jmp 0x1001574d
mov dword [ebp - 0x108], 1
mov eax, dword [ebp - 0x4c]
dec eax
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
cmp eax, dword [ebp - 0x108]
je 0x1001576b
mov dword [ebp - 0x144], 1
jmp 0x10015772
and dword [ebp - 0x144], 0
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x1a8], eax
push 8
pop eax
test eax, eax
je 0x10015794
cmp dword [ebp - 0x58], 0
je 0x10015794
mov dword [ebp - 0xd0], 1
jmp 0x1001579b
and dword [ebp - 0xd0], 0
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x100157b9
cmp dword [ebp - 0x4c], 0
jne 0x100157b9
and dword [ebp - 0xf8], 0
jmp 0x100157c3
mov dword [ebp - 0xf8], 1
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x24], 0
jmp 0x100157dc
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 3
jg 0x100157f8
mov byte [ebp - 0x1e], 0
movzx eax, byte [ebp - 0x1e]
test eax, eax
je 0x100157f6
push 0
call fcn.1001534a
pop ecx
jmp 0x100157d5
xor eax, eax
mov word [ebp - 0x62], ax
lea eax, [ebp - 0x62]
push eax
mov eax, dword [ebp + 0xc]
shr eax, 1
inc eax
push eax
lea ecx, [ebp - 0x154]
call fcn.1001843b
and dword [ebp - 4], 0
mov dword [ebp - 0x14], 0xfffffffb
push 3
lea ecx, [ebp - 0x18c]
call fcn.100181d6
mov byte [ebp - 4], 1
mov dword [ebp - 0x44], 0
jmp 0x10015840
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 3
jge 0x1001585c
push dword [ebp - 0x44]
lea ecx, [ebp - 0x18c]
call fcn.10018274
mov dword [eax], 0xe55459ee
jmp 0x10015839
mov dword [ebp - 0x14], 0
jmp 0x1001586c
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x17
je 0x100159b1
mov dword [ebp - 0x28], 0x2fb5
push 1
lea ecx, [ebp - 0x1a4]
call fcn.100181d6
mov byte [ebp - 4], 2
lea eax, [ebp - 0x1a4]
push eax
push 0x6a26
lea eax, [ebp - 0x1c8]
push eax
push 1
push 0x36d5
call fcn.1001525b
add esp, 0x14
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c4], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xd8], eax
push 2
lea ecx, [ebp - 0x18c]
call fcn.10018274
mov ecx, dword [ebp - 0xd8]
mov dword [eax], ecx
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0xd8]
jne 0x100158ee
mov dword [ebp - 0x118], 1
jmp 0x100158f5
and dword [ebp - 0x118], 0
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x118]
jl 0x1001590c
mov dword [ebp - 0xe0], 1
jmp 0x10015913
and dword [ebp - 0xe0], 0
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0xe0]
je 0x1001592a
mov dword [ebp - 0x12c], 1
jmp 0x10015931
and dword [ebp - 0x12c], 0
push 0
lea ecx, [ebp - 0x1a4]
call fcn.10018274
mov dword [eax], 0xf451d52a
mov dword [ebp - 0x28], 0x1a
jmp 0x10015954
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x39
jl 0x1001599d
mov dword [ebp - 0x48], 0
jmp 0x1001596a
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 1
jge 0x10015980
mov eax, dword [ebp - 0x48]
mov dword [ebp + eax*4 - 0x100], 0xd7bc3524
jmp 0x10015963
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x100]
inc eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x100], eax
jmp 0x1001594d
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1a4]
call fcn.10018258
jmp 0x10015865
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18c]
call fcn.10018258
and dword [ebp - 0x60], 0
and dword [ebp - 0x50], 0
lea ecx, [ebp - 0x154]
call fcn.100184c7
dec eax
mov dword [ebp - 0x128], eax
jmp 0x100159e3
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
cmp eax, dword [ebp - 0x128]
jae 0x10015c06
push dword [ebp - 0x50]
lea ecx, [ebp - 0x154]
call fcn.100184cf
mov dword [ebp - 0x148], eax
and dword [ebp - 0x54], 0
jmp 0x10015a1a
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x54], 2
jae 0x10015c01
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x124], 0xffffffff
mov dword [ebp - 0x40], 0
jmp 0x10015a45
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 4
jge 0x10015a5b
mov eax, dword [ebp - 0x40]
mov dword [ebp + eax*4 - 0x170], 0
jmp 0x10015a3e
mov dword [ebp - 0x10], 3
jmp 0x10015a6b
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jl 0x10015bad
mov dword [ebp - 0x2c], 0xebb6748f
mov dword [ebp - 0x138], 0xffffffff
mov dword [ebp - 0x2c], 3
jmp 0x10015a96
mov eax, dword [ebp - 0x2c]
dec eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jl 0x10015ad2
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp + eax*4 - 0x170]
mov dword [ebp + ecx*4 - 0x170], eax
mov byte [ebp - 0x15], 0
movzx eax, byte [ebp - 0x15]
test eax, eax
je 0x10015ad0
push 1
push 0x689c
push 0x7007
call fcn.100152dc
add esp, 0xc
jmp 0x10015a8f
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x170]
mov dword [ebp - 0x1bc], eax
cmp dword [ebp - 0x138], 0xfffe
jne 0x10015afa
mov dword [ebp - 0xe8], 1
jmp 0x10015b01
and dword [ebp - 0xe8], 0
mov eax, dword [ebp - 0x2c]
sub eax, 0x5a5bf0d1
cmp eax, dword [ebp - 0xe8]
jl 0x10015b1d
mov dword [ebp - 0x110], 1
jmp 0x10015b24
and dword [ebp - 0x110], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x170]
cmp eax, dword [ebp - 0x110]
jg 0x10015b44
mov dword [ebp - 0xc0], 1
jmp 0x10015b4b
and dword [ebp - 0xc0], 0
mov eax, dword [ebp - 0xc0]
sub eax, 0x3cc47d1a
push 4
pop ecx
shl ecx, 0
cmp eax, dword [ebp + ecx - 0x170]
jl 0x10015b71
mov dword [ebp - 0xc4], 1
jmp 0x10015b78
and dword [ebp - 0xc4], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0xc4], eax
jg 0x10015b92
cmp dword [ebp - 0x10], 0
jne 0x10015b92
and dword [ebp - 0xcc], 0
jmp 0x10015b9c
mov dword [ebp - 0xcc], 1
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0x124], eax
jmp 0x10015a64
mov byte [ebp - 0x16], 0
movzx eax, byte [ebp - 0x16]
test eax, eax
je 0x10015bc1
push 1
call fcn.1001534a
pop ecx
mov eax, dword [ebp + 0x10]
add eax, dword [ebp - 0x60]
xor edx, edx
div dword [0x1008c840]
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 4]
movzx eax, byte [eax + edx]
push eax
mov eax, dword [ebp + 0x10]
add eax, dword [ebp - 0x60]
mov ecx, dword [ebp + 0x14]
mov ecx, dword [ecx]
movzx eax, byte [ecx + eax]
push eax
call fcn.10008b38
pop ecx
pop ecx
mov ecx, dword [ebp - 0x148]
add ecx, dword [ebp - 0x54]
mov byte [ecx], al
jmp 0x10015a0c
jmp 0x100159dc
mov dword [ebp - 0x78], 0xfffffff6
mov dword [ebp - 0x90], 0xffffffff
mov dword [ebp - 0xa8], 0x90c54408
push 2
lea ecx, [ebp - 0x198]
call fcn.100181d6
mov byte [ebp - 4], 3
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
jmp 0x10015c49
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 3
jge 0x10015c5f
mov eax, dword [ebp - 0x30]
mov dword [ebp + eax*4 - 0x1b8], 0xab227d37
jmp 0x10015c42
push 0x62fe
push 0x78e1
push 0x164a
push 0x1c5e
push 0x5144
push 0x1457
push 0xbc0
lea eax, [ebp - 0x30]
push eax
push 0x140
lea eax, [ebp - 0x198]
push eax
push 0
call fcn.10015e5e
add esp, 0x2c
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x1ac], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1b8]
cmp dword [ebp - 0xa8], eax
jge 0x10015cc9
mov dword [ebp - 0xd4], 1
jmp 0x10015cd0
and dword [ebp - 0xd4], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1b8]
cmp dword [ebp - 0xd4], eax
jg 0x10015cf1
mov dword [ebp - 0xdc], 1
jmp 0x10015cf8
and dword [ebp - 0xdc], 0
mov eax, dword [ebp - 0x78]
cmp dword [ebp - 0xdc], eax
jge 0x10015d0c
mov dword [ebp - 0x80], 1
jmp 0x10015d10
and dword [ebp - 0x80], 0
cmp dword [ebp - 0x80], 1
jne 0x10015d22
mov dword [ebp - 0x88], 1
jmp 0x10015d29
and dword [ebp - 0x88], 0
mov esi, dword [ebp - 0x88]
sub esi, dword [ebp - 0x90]
push 1
lea ecx, [ebp - 0x198]
call fcn.10018274
add esi, dword [eax]
jne 0x10015d52
mov dword [ebp - 0x98], 1
jmp 0x10015d59
and dword [ebp - 0x98], 0
mov eax, dword [ebp - 0x78]
cmp dword [ebp - 0x98], eax
je 0x10015d70
mov dword [ebp - 0xa0], 1
jmp 0x10015d77
and dword [ebp - 0xa0], 0
cmp dword [ebp - 0xa0], 0x1be360de
jle 0x10015d8f
mov dword [ebp - 0xb0], 1
jmp 0x10015d96
and dword [ebp - 0xb0], 0
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0xa8]
mov edx, dword [ebp - 0xb0]
lea ecx, [edx + ecx + 0x41311e2d]
sub eax, ecx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x34], 3
jmp 0x10015dc1
mov eax, dword [ebp - 0x34]
dec eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffe2
je 0x10015e10
mov dword [ebp - 0x38], 8
cmp dword [ebp - 0x38], 0
je 0x10015dd6
jmp 0x10015e10
mov dword [ebp - 0x38], 0
jmp 0x10015de6
mov eax, dword [ebp - 0x38]
dec eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xffffffe9
jne 0x10015e0e
mov byte [ebp - 0x1d], 0
movzx eax, byte [ebp - 0x1d]
test eax, eax
je 0x10015e0c
push 0x19d7
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x10015ddf
jmp 0x10015dba
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x198]
call fcn.10018258
lea eax, [ebp - 0x154]
push eax
mov ecx, dword [ebp + 8]
call fcn.1001845d
mov eax, dword [ebp - 0xb8]
or eax, 1
mov dword [ebp - 0xb8], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x154]
call fcn.100184c2
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret