Function at 0x1005bb50
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x10099ff4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6f0
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x708], 0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov edx, eax
xor eax, eax
mov byte [esp + 0xb8], 0
mov ecx, 0x31
lea edi, [esp + 0xb9]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0xc8
lea eax, [esp + 0xbc]
push eax
push edx
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea ecx, [esp + 0xb8]
push ecx
lea ecx, [esp + 0x18]
call fcn.10011f50
mov byte [esp + 0x20], 0
xor eax, eax
mov ecx, 0x18
lea edi, [esp + 0x21]
rep stosd dword es:[edi], eax
lea edx, [esp + 0x20]
stosw word es:[edi], ax
push edx
push str.LbbUu7A
mov byte [esp + 0x710], 1
stosb byte es:[edi], al
call fcn.1003a410
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx - 0xc]
add esp, 8
or esi, 0xffffffff
test eax, eax
jl 0x1005bc1f
lea eax, [esp + 0x20]
push eax
push ecx
call fcn.10076a37
mov ecx, dword [esp + 0x1c]
add esp, 8
test eax, eax
je 0x1005bc1f
sub eax, ecx
cmp eax, esi
mov dword [esp + 0x10], eax
jne 0x1005bc60
lea eax, [ecx - 0x10]
mov byte [esp + 0x708], 0
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1005bc40
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x714]
add eax, 0xfffffff0
mov dword [esp + 0x708], esi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], esi
dec esi
test esi, esi
jmp 0x1005c175
mov edx, dword [0x100e3778]
mov ebx, dword [esp + 0x710]
xor eax, eax
test edx, edx
mov ecx, 0x160
lea edi, [esp + 0x180]
rep stosd dword es:[edi], eax
mov dword [esp + 0x1c], esi
jle 0x1005bccf
mov ebp, dword [0x100e3774]
jmp 0x1005bc90
test eax, eax
jl 0x1005be37
cmp eax, edx
jge 0x1005be37
mov ecx, 0x160
mov esi, ebp
lea edi, [esp + 0x180]
rep movsd dword es:[edi], dword [esi]
cmp dword [esp + 0x180], ebx
je 0x1005bcc6
inc eax
add ebp, 0x580
cmp eax, edx
jl 0x1005bc90
jmp 0x1005bccf
cmp eax, 0xffffffff
mov dword [esp + 0x1c], eax
jne 0x1005bd2e
xor eax, eax
mov ecx, 0x160
lea edi, [esp + 0x180]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x10]
push eax
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x188], ebx
call fcn.10003b90
mov esi, dword [esp + 0x10]
lea edx, [esp + 0x184]
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x1005bd08
lea eax, [esi - 0x10]
lea edx, [eax + 0xc]
mov ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x1005bd2e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
mov ecx, 0x19
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x20]
push eax
push str.y7Wjug
mov dword [esp + 0x31c], 0
call fcn.1003a410
mov ebp, dword [esp + 0x71c]
mov eax, dword [ebp - 0xc]
add esp, 8
test eax, eax
jl 0x1005be3c
lea ecx, [esp + 0x20]
push ecx
push ebp
call fcn.10076a37
add esp, 8
test eax, eax
je 0x1005be3c
sub eax, ebp
mov esi, eax
or ebx, 0xffffffff
cmp esi, ebx
je 0x1005be3f
xor eax, eax
mov ecx, 0x19
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x20]
push eax
push str.wPrKt7zHwrw
call fcn.1003a410
mov eax, dword [ebp - 0xc]
add esp, 8
test esi, esi
jl 0x1005bdd4
cmp esi, eax
jg 0x1005bdd4
lea ecx, [esp + 0x20]
lea eax, [esi + ebp]
push ecx
push eax
call fcn.10076a37
add esp, 8
test eax, eax
je 0x1005bdd4
sub eax, ebp
cmp eax, ebx
jne 0x1005be3f
test esi, esi
mov eax, dword [ebp - 0xc]
jl 0x1005bdf9
cmp esi, eax
jge 0x1005bdf9
lea eax, [esi + ebp]
push 0x28
push eax
call fcn.10076579
add esp, 8
test eax, eax
je 0x1005bdf9
sub eax, ebp
mov esi, eax
cmp esi, ebx
jne 0x1005be5c
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x708], 0
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1005be1e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebp - 0x10]
mov dword [esp + 0x708], ebx
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebx
dec ebx
test ebx, ebx
jmp 0x1005c175
jmp fcn.10088eec
or ebx, 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x708], 0
lea edx, [eax + 0xc]
mov ecx, ebx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x1005be14
call fcn.1008cdb1
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
inc esi
push esi
lea eax, [esp + 0x1c]
mov ebx, 2
push eax
lea ecx, [esp + 0x71c]
mov byte [esp + 0x710], bl
call fcn.10003c10
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x70c], 3
call fcn.100029e0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x708], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1005bec5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov esi, dword [esp + 0x10]
mov eax, dword [esi - 0xc]
test eax, eax
jle 0x1005bee6
push 0x29
push esi
call fcn.10076579
add esp, 8
test eax, eax
je 0x1005bee6
sub eax, esi
cmp eax, 0xffffffff
jne 0x1005beee
lea eax, [esi - 0x10]
jmp 0x1005c115
push eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
call fcn.10003b90
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x70c], 4
call fcn.100029e0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x708], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1005bf34
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
mov byte [esp + 0x84], 0
mov ecx, 0xc
lea edi, [esp + 0x85]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov eax, dword [esp + 0x10]
push eax
lea ecx, [esp + 0x88]
push 0x1009cc2c
push ecx
call fcn.10077098
lea eax, [esp + 0x258]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1005bf71
sub eax, edx
mov dword [esp + 0x18], eax
jne 0x1005bfd2
mov esi, 0x100e36a8
lea eax, [esp + 0x184]
lea esp, [esp]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x1005bfb2
test cl, cl
je 0x1005bfae
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x1005bfb2
add eax, ebx
add esi, ebx
test cl, cl
jne 0x1005bf90
xor eax, eax
jmp 0x1005bfb7
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1005bfd2
jmp 0x1005bfc0
mov cl, byte [eax + 0x100e370c]
mov byte [esp + eax + 0x24c], cl
inc eax
test cl, cl
jne 0x1005bfc0
lea esi, [esp + 0x84]
lea eax, [esp + 0x2b0]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x1005c002
test cl, cl
je 0x1005bffe
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x1005c002
add eax, ebx
add esi, ebx
test cl, cl
jne 0x1005bfe0
xor eax, eax
jmp 0x1005c007
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jg 0x1005c0dd
xor eax, eax
mov ecx, 0x19
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x20]
push eax
push str.y7Wjug
call fcn.1003a410
mov eax, dword [ebp - 0xc]
add esp, 8
test eax, eax
jge 0x1005c03a
or eax, 0xffffffff
jmp 0x1005c053
lea ecx, [esp + 0x20]
push ecx
push ebp
call fcn.10076a37
add esp, 8
test eax, eax
jne 0x1005c051
or eax, 0xffffffff
jmp 0x1005c053
sub eax, ebp
push eax
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x71c]
call fcn.10003b90
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x184]
push eax
push esi
call fcn.10077004
add esp, 8
test eax, eax
jne 0x1005c08b
mov dword [esp + 0x314], 3
jmp 0x1005c0ae
cmp dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0x314], ebx
jne 0x1005c0ae
lea edx, [esp + 0x1e8]
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x1005c0a4
xor eax, eax
mov cl, byte [esp + eax + 0x84]
mov byte [esp + eax + 0x2b0], cl
inc eax
test cl, cl
jne 0x1005c0b0
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1005c0dd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x1c]
sub esp, 0x580
cmp eax, 0xffffffff
lea esi, [esp + 0x700]
mov ecx, 0x160
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x100e3770
jne 0x1005c108
call fcn.1005acf0
jmp 0x1005c10e
push eax
call fcn.1005ab10
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x708], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1005c134
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x708], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1005c15a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebp - 0x10]
mov dword [esp + 0x708], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1005c17f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x700]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x6fc
ret