Function at 0x1001995a
Capabilities:
Get graphical window text
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10080b59
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc8
push ebx
push esi
mov dword [esp + 0x30], edx
xor ebx, ebx
mov dword [esp + 0x18], 0x299d
mov esi, ecx
push edi
mov dword [esp + 0x10], ebx
jmp 0x100199a7
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0xb4], 4
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 1
jl 0x10019994
mov dword [esp + 0x10], ebx
jmp 0x100199c3
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0xb8], ebx
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 3
jl 0x100199b4
mov byte [esp + 0x17], bl
cmp byte [esp + 0x17], bl
je 0x100199db
push ebx
call fcn.1001b94a
pop ecx
dec dword [esp + 0xbc]
cmp dword [esi + 0x10], ebx
jne 0x100199ee
xor al, al
jmp 0x1001a0a6
push 1
lea ecx, [esp + 0x68]
call fcn.10015917
mov dword [esp + 0xdc], ebx
xor edx, edx
mov dword [esp + 0x18], 0xdb2bc40e
inc edx
mov dword [esp + 0x1c], 0x2d91
push 2
pop edi
mov dword [esp + 0x80], edi
mov dword [esp + 0x84], edi
mov dword [esp + 0x88], edi
mov dword [esp + 0x8c], edi
mov dword [esp + 0x20], 0xe7071658
mov dword [esp + 0x10], ebx
jmp 0x10019a53
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x64]
mov dword [eax + ecx*4], 0x7e17f759
inc dword [esp + 0x10]
cmp dword [esp + 0x10], edx
jl 0x10019a40
mov dword [esp + 0x10], ebx
jmp 0x10019a6f
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x3c], 0xa1650187
inc dword [esp + 0x10]
cmp dword [esp + 0x10], edi
jl 0x10019a5f
mov dword [esp + 0x10], ebx
jmp 0x10019a8b
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x58], 7
inc dword [esp + 0x10]
cmp dword [esp + 0x10], edx
jl 0x10019a7b
push ebx
push 0x4200
lea eax, [esp + 0x2f]
mov byte [esp + 0x2f], bl
push eax
push 0x7881
call fcn.1001b33c
mov dword [esp + 0x90], 0x13e1
xor edx, edx
mov ecx, dword [esp + 0x2c]
add esp, 0x10
mov eax, dword [esp + 0x18]
cmp ecx, eax
setle dl
imul eax, dword [esp + 0x1c], 0x13e1
xor ecx, ecx
cmp eax, edx
mov eax, dword [esp + 0x18]
setg cl
sub eax, ecx
jne 0x10019ae8
cmp dword [esp + 0x3c], ebx
jne 0x10019ae8
mov edx, ebx
jmp 0x10019aeb
xor edx, edx
inc edx
mov eax, dword [esp + 0x3c]
xor ecx, ecx
cmp edx, eax
mov eax, dword [esp + 0x3c]
sete cl
xor edx, edx
cmp ecx, eax
mov eax, dword [esp + 0x64]
setg dl
add edx, 0x4e5857e6
imul edx, dword [eax]
mov dword [esp + 0x18], edx
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x64]
dec dword [eax]
test ecx, ecx
je 0x10019b27
mov eax, dword [esp + 0x80]
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x64]
mov dword [esp + 0x20], eax
cmp dword [esp + 0x20], 0x8a973314
sbb eax, eax
inc eax
mov dword [esp + 0x58], eax
or dword [esp + 0xdc], 0xffffffff
call fcn.10015999
push 0x7778
lea eax, [esp + 0x38]
push eax
push ebx
push 0x55ee
call fcn.1001ae21
add esp, 0x10
mov dword [esp + 0x18], 0x571177e8
lea ecx, [esp + 0xc4]
push edi
call fcn.10015917
mov dword [esp + 0xdc], 1
mov dword [esp + 0x10], ebx
jmp 0x10019ba3
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0xc4]
mov dword [eax + ecx*4], 0xfffffffb
inc dword [esp + 0x10]
cmp dword [esp + 0x10], edi
jl 0x10019b8d
mov dword [esp + 0x18], ebx
jmp 0x10019c81
mov dword [esp + 0x20], 0x1e2c0d37
mov dword [esp + 0x20], ebx
jmp 0x10019c72
mov dword [esp + 0x1c], 0x4f147909
mov dword [esp + 0x1c], 1
cmp dword [esp + 0x1c], ebx
jl 0x10019c50
mov dword [esp + 0x10], ebx
jmp 0x10019beb
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x70], ebx
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 4
jl 0x10019bdf
mov dword [esp + 0x70], ebx
jmp 0x10019c43
mov dword [esp + 0x10], 0x7979b389
mov byte [esp + 0x17], bl
cmp byte [esp + 0x17], 0
je 0x10019c18
push ebx
push 0x1b12
call fcn.1002170c
pop ecx
pop ecx
mov dword [esp + 0x10], 1
cmp dword [esp + 0x10], ebx
jl 0x10019c3f
push ebx
push 0x990
push 0x2788
call fcn.1001b18d
add esp, 0xc
dec dword [esp + 0x10]
jns 0x10019c26
inc dword [esp + 0x70]
cmp dword [esp + 0x70], 1
jle 0x10019bf8
dec dword [esp + 0x1c]
jns 0x10019bd9
mov byte [esp + 0x17], bl
cmp byte [esp + 0x17], 0
je 0x10019c6e
push 0x503
push ebx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
inc dword [esp + 0x20]
cmp dword [esp + 0x20], 1
jle 0x10019bc3
dec dword [esp + 0x18]
cmp dword [esp + 0x18], 0xffffffef
jge 0x10019bb2
or dword [esp + 0xdc], 0xffffffff
lea ecx, [esp + 0xc4]
call fcn.10015999
cmp dword [esi + 0x14], 0x10
jb 0x10019caa
mov ecx, dword [esi]
jmp 0x10019cac
mov ecx, esi
cmp dword [esi + 0x14], 0x10
mov dword [esp + 0x2c], ecx
jb 0x10019cba
mov edx, dword [esi]
jmp 0x10019cbc
mov edx, esi
mov eax, dword [esi + 0x10]
add eax, edx
cmp ecx, eax
je 0x10019fca
mov dword [esp + 0x18], edi
lea ecx, [esp + 0x90]
push 1
call fcn.10015917
xor edx, edx
mov dword [esp + 0x10], ebx
inc edx
jmp 0x10019cfa
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x90]
mov dword [eax + ecx*4], 0x532bb11a
inc dword [esp + 0x10]
cmp dword [esp + 0x10], edx
jl 0x10019ce4
mov dword [esp + 0x10], ebx
jmp 0x10019d16
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x38], 0xfc37
inc dword [esp + 0x10]
cmp dword [esp + 0x10], edx
jl 0x10019d06
mov dword [esp + 0x18], 0x16
jmp 0x10019d37
mov eax, dword [esp + 0x90]
mov dword [eax], 0xfffffffa
dec dword [esp + 0x18]
cmp dword [esp + 0x18], 0xfffffff4
je 0x10019d26
inc dword [esp + 0x38]
lea ecx, [esp + 0x90]
call fcn.10015999
mov eax, dword [esp + 0x2c]
mov al, byte [eax]
cmp al, 0x30
jl 0x10019e3c
cmp al, 0x39
jg 0x10019e3c
mov dword [esp + 0x10], 0x8b108f82
xor ecx, ecx
mov dword [esp + 0x30], 1
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp eax, 0x90c5
mov eax, dword [esp + 0x10]
setle cl
xor edx, edx
cmp ecx, eax
mov eax, dword [esp + 0x10]
setl dl
xor ebx, ebx
cmp edx, eax
mov eax, dword [esp + 0x10]
setg bl
xor ecx, ecx
cmp ebx, eax
setge cl
xor ebx, ebx
cmp ecx, 0xffff
jae 0x10019dc7
cmp dword [esp + 0x30], ebx
jne 0x10019dc7
mov ecx, ebx
jmp 0x10019dca
xor ecx, ecx
inc ecx
mov eax, dword [esp + 0x30]
xor edx, edx
cmp ecx, eax
mov eax, dword [esp + 0x10]
setl dl
xor ecx, ecx
cmp eax, 3
setg cl
xor eax, eax
cmp ecx, edx
mov ecx, dword [esp + 0x10]
setg al
sub ecx, eax
lea eax, [esp + 0x30]
neg ecx
push eax
sbb ecx, ecx
inc ecx
push ebx
mov dword [esp + 0x24], ecx
call fcn.1001aed5
push 0xb86
push 0x3042
lea eax, [esp + 0x44]
mov edx, 0x1417
push eax
push 0x3323
push 0x31c5
push 0x7d00
push ebx
lea ecx, [esp + 0x50]
call fcn.1001922e
mov ecx, dword [esp + 0x50]
add esp, 0x24
inc ecx
jmp 0x10019cac
mov dword [esp + 0x1c], 0xfffffffc
mov dword [esp + 0x18], ebx
jmp 0x10019e5a
mov eax, dword [esp + 0x18]
mov dword [esp + eax*4 + 0x44], 0xfffffff8
inc dword [esp + 0x18]
cmp dword [esp + 0x18], 3
jl 0x10019e4a
mov dword [esp + 0x44], 0xffffffe2
jmp 0x10019f77
mov dword [esp + 0x10], 0xffffffff
lea ecx, [esp + 0xa8]
push 1
call fcn.10015917
mov dword [esp + 0xdc], edi
mov dword [esp + 0x18], ebx
jmp 0x10019ea7
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0xa8]
mov dword [eax + ecx*4], 0x7b6fe6d3
inc dword [esp + 0x18]
cmp dword [esp + 0x18], 1
jl 0x10019e91
mov eax, dword [esp + 0x10]
xor ecx, ecx
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
test eax, eax
setg cl
cmp ecx, dword [esp + 0x44]
jle 0x10019f4d
mov dword [esp + 0x10], ebx
jmp 0x10019f0d
mov byte [esp + 0x17], bl
cmp byte [esp + 0x17], 0
je 0x10019ef7
push ebx
push 0x2357
push 0x17c7
call fcn.1001bc22
add esp, 0xc
mov byte [esp + 0x17], bl
cmp byte [esp + 0x17], 0
je 0x10019f09
xor cl, cl
call fcn.10019193
inc dword [esp + 0x10]
cmp dword [esp + 0x10], ebx
jle 0x10019ed9
mov dword [esp + 0x10], 0xfffffff3
jmp 0x10019f44
mov byte [esp + 0x17], bl
cmp byte [esp + 0x17], 0
je 0x10019f40
push 0x779a
push ebx
push 0x1667
push 0x5e78
call fcn.10022cc6
add esp, 0x10
dec dword [esp + 0x10]
cmp dword [esp + 0x10], 0xffffffee
je 0x10019f1d
jmp 0x10019f5f
mov byte [esp + 0x17], bl
cmp byte [esp + 0x17], 0
je 0x10019f5f
mov cl, 1
call fcn.10019193
or dword [esp + 0xdc], 0xffffffff
lea ecx, [esp + 0xa8]
call fcn.10015999
inc dword [esp + 0x44]
cmp dword [esp + 0x44], 0x19
jge 0x10019e6e
push ebx
lea eax, [esp + 0x29]
mov byte [esp + 0x29], bl
push eax
push 0xc40
call fcn.1001b2ba
add esp, 0xc
lea eax, [esp + 0x34]
push eax
push 0x4d78
push 0x45f7
push ebx
push 0x4346
push 0x5148
push 0x6c88
push 0x26c9
call fcn.1001af6c
add esp, 0x20
jmp 0x100199e7
push ebx
lea eax, [esp + 0x2a]
mov dword [esp + 0x2c], 0x824a8c6a
push eax
mov dword [esp + 0x58], 0xffffffff
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x2e], bl
push 0x5312
call fcn.1001c032
add esp, 0xc
mov dword [esp + 0x28], ebx
cmp dword [esp + 0x28], 0xfffffff5
je 0x1001a0a4
push 3
pop esi
push esi
lea ecx, [esp + 0xa0]
call fcn.10015917
mov dword [esp + 0xdc], esi
mov dword [esp + 0x5c], 0x9974082
mov dword [esp + 0x60], 0xffffffff
mov dword [esp + 0x18], ebx
jmp 0x1001a047
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x9c]
mov dword [eax + ecx*4], 0x968939f5
inc dword [esp + 0x18]
cmp dword [esp + 0x18], esi
jl 0x1001a031
lea eax, [esp + 0x28]
mov ecx, 0x68d6
push eax
lea eax, [esp + 0x54]
push eax
push 0x110d
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0xb0]
push eax
push 1
lea edx, [esp + 0x78]
call fcn.1001922e
or dword [esp + 0xf8], 0xffffffff
lea ecx, [esp + 0xb8]
add esp, 0x1c
call fcn.10015999
dec dword [esp + 0x28]
cmp dword [esp + 0x28], 0xfffffff5
jne 0x1001a007
mov al, 1
mov ecx, dword [esp + 0xd4]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret