Function at 0x1005c1a0
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x1009a034
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc70
push ebx
push ebp
push esi
push edi
mov dword [esp + 0xc88], 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
xor eax, eax
mov byte [esp + 0x54], 0
mov ecx, 0x18
lea edi, [esp + 0x55]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x14]
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ecx - 0xc]
or esi, 0xffffffff
test eax, eax
mov byte [esp + 0xc88], 1
jl 0x1005c25d
push 0x1009e3d4
push ecx
call fcn.10076a37
mov ecx, dword [esp + 0x1c]
add esp, 8
test eax, eax
je 0x1005c25d
sub eax, ecx
cmp eax, esi
mov dword [esp + 0x10], eax
jne 0x1005c29e
lea eax, [ecx - 0x10]
mov byte [esp + 0xc88], 0
lea edx, [eax + 0xc]
mov ecx, esi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x1005c27e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0xc94]
add eax, 0xfffffff0
mov dword [esp + 0xc88], esi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], esi
dec esi
test esi, esi
jmp 0x1005c756
mov edx, dword [0x100e3778]
mov ebx, dword [esp + 0xc90]
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 0x1005c30f
mov ebp, dword [0x100e3774]
lea esp, [esp]
test eax, eax
jl 0x1005c779
cmp eax, edx
jge 0x1005c779
mov ecx, 0x160
mov esi, ebp
lea edi, [esp + 0x180]
rep movsd dword es:[edi], dword [esi]
cmp dword [esp + 0x180], ebx
je 0x1005c306
inc eax
add ebp, 0x580
cmp eax, edx
jl 0x1005c2d0
jmp 0x1005c30f
cmp eax, 0xffffffff
mov dword [esp + 0x1c], eax
jne 0x1005c36e
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 0x1005c348
lea eax, [esi - 0x10]
lea edx, [eax + 0xc]
mov ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x1005c36e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
mov ecx, 0x19
lea edi, [esp + 0x54]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x54]
push eax
push str.IMu1Og
mov dword [esp + 0x31c], 0
call fcn.1003a410
mov ebp, dword [esp + 0xc9c]
mov eax, dword [ebp - 0xc]
add esp, 8
test eax, eax
jl 0x1005c3bf
lea ecx, [esp + 0x54]
push ecx
push ebp
call fcn.10076a37
add esp, 8
test eax, eax
je 0x1005c3bf
sub eax, ebp
cmp eax, 0xffffffff
jne 0x1005c3e0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0xc88], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x1005c731
test eax, eax
mov ecx, dword [ebp - 0xc]
jl 0x1005c715
cmp eax, ecx
jge 0x1005c715
add eax, ebp
push 0x28
push eax
call fcn.10076579
add esp, 8
test eax, eax
je 0x1005c715
sub eax, ebp
mov esi, eax
cmp esi, 0xffffffff
je 0x1005c715
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 + 0xc9c]
mov byte [esp + 0xc90], bl
call fcn.10003c10
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xc8c], 3
call fcn.100029e0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0xc88], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1005c47e
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 0x1005c49f
push 0x29
push esi
call fcn.10076579
add esp, 8
test eax, eax
je 0x1005c49f
sub eax, esi
cmp eax, 0xffffffff
jne 0x1005c4a7
lea eax, [esi - 0x10]
jmp 0x1005c6f6
push eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
call fcn.10003b90
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xc8c], 4
call fcn.100029e0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0xc88], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1005c4ed
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
mov byte [esp + 0x20], 0
mov ecx, 0xc
lea edi, [esp + 0x21]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov eax, dword [esp + 0x10]
push eax
lea ecx, [esp + 0x24]
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 0x1005c521
sub eax, edx
mov dword [esp + 0x18], eax
jne 0x1005c582
mov esi, 0x100e36a8
lea eax, [esp + 0x184]
lea esp, [esp]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x1005c562
test cl, cl
je 0x1005c55e
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x1005c562
add eax, ebx
add esi, ebx
test cl, cl
jne 0x1005c540
xor eax, eax
jmp 0x1005c567
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1005c582
jmp 0x1005c570
mov cl, byte [eax + 0x100e370c]
mov byte [esp + eax + 0x24c], cl
inc eax
test cl, cl
jne 0x1005c570
lea esi, [esp + 0x20]
lea eax, [esp + 0x2b0]
lea ecx, [ecx]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x1005c5b2
test cl, cl
je 0x1005c5ae
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x1005c5b2
add eax, ebx
add esi, ebx
test cl, cl
jne 0x1005c590
xor eax, eax
jmp 0x1005c5b7
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jg 0x1005c68a
xor eax, eax
mov ecx, 0x19
lea edi, [esp + 0x54]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x54]
push eax
push str.IMu1Og
call fcn.1003a410
mov eax, dword [ebp - 0xc]
add esp, 8
test eax, eax
jge 0x1005c5ea
or eax, 0xffffffff
jmp 0x1005c603
lea ecx, [esp + 0x54]
push ecx
push ebp
call fcn.10076a37
add esp, 8
test eax, eax
jne 0x1005c601
or eax, 0xffffffff
jmp 0x1005c603
sub eax, ebp
push eax
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0xc9c]
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 0x1005c63b
mov dword [esp + 0x314], 3
jmp 0x1005c65e
cmp dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0x314], ebx
jne 0x1005c65e
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 0x1005c654
xor eax, eax
mov cl, byte [esp + eax + 0x20]
mov byte [esp + eax + 0x2b0], cl
inc eax
test cl, cl
jne 0x1005c660
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1005c68a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
cmp dword [esp + 0x1c], 0xffffffff
lea esi, [esp + 0x180]
mov ecx, 0x160
jne 0x1005c6b3
sub esp, 0x580
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x100e3770
call fcn.1005acf0
jmp 0x1005c6ef
lea edi, [esp + 0x700]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x1c]
test edi, edi
jl 0x1005c779
cmp edi, dword [0x100e3778]
jge 0x1005c779
mov eax, dword [0x100e3774]
imul edi, edi, 0x580
add edi, eax
mov ecx, 0x160
lea esi, [esp + 0x700]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0xc88], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1005c715
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 + 0xc88], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1005c73b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebp - 0x10]
mov dword [esp + 0xc88], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1005c760
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0xc80]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xc7c
ret
jmp fcn.10088eec