Function at 0x54d610
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, ecx
mov ecx, dword [0x5f92ec]
call fcn.0048b570
xor ebx, ebx
test eax, eax
jne 0x54d635
xor ecx, ecx
mov dword [0x5f8b78], ecx
jmp 0x54d63b
mov ecx, dword [0x5f8b78]
lea eax, [ebp - 1]
cmp eax, 7
ja case.default.0x54d647
jmp dword [eax*4 + 0x54d95c]
cmp dword [0x5f8a48], ebx
jne 0x54d680
cmp ecx, ebx
je case.0x54d647.8
pop ebp
mov eax, 1
pop ebx
add esp, 0xa0
ret
cmp dword [0x5f8a48], ebx
je 0x54d680
cmp dword [0x5f8a50], ebx
je case.0x54d647.8
pop ebp
mov eax, 1
pop ebx
add esp, 0xa0
ret
cmp dword [0x5f8a48], ebx
je 0x54d680
mov dword [0x5f8b78], 1
jmp case.0x54d647.8
cmp dword [0x5f8a48], ebx
je case.default.0x54d647
mov dword [0x5f8b78], ebx
jmp case.0x54d647.8
cmp dword [0x5f8a48], ebx
je case.default.0x54d647
cmp ecx, ebx
jne 0x54d680
mov ebp, 1
cmp byte [0x5f2018], bl
mov edx, dword [0x5f92ec]
push esi
mov dword [esp + 0xc], 0x58
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], 5
mov dword [esp + 0x18], 7
mov dword [esp + 0x1c], 0x8041
mov dword [esp + 0x20], ebx
je 0x54d833
xor eax, eax
mov edi, edi
mov cl, byte [eax + 0x5c0170]
mov byte [esp + eax + 0x24], cl
inc eax
cmp cl, bl
jne 0x54d710
push edi
lea edi, [esp + 0x28]
dec edi
mov al, byte [edi + 1]
inc edi
cmp al, bl
jne 0x54d725
mov ax, word [0x5a5348]
mov word [edi], ax
lea eax, [esp + 0x28]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x54d740
sub eax, edx
mov esi, 0x3c
sub esi, eax
push esi
lea ecx, [esp + 0x6c]
push 0x5f2018
push ecx
call fcn.005911a0
lea eax, [esp + 0x74]
add esp, 0xc
mov byte [esp + esi + 0x68], bl
mov ecx, eax
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x54d770
lea edi, [esp + 0x28]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
cmp cl, bl
jne 0x54d780
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x28]
rep movsb byte es:[edi], byte [esi]
lea edx, [eax + 1]
pop edi
mov edi, edi
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x54d7a0
sub eax, edx
cmp eax, 0x37
jbe 0x54d844
mov dword [esp + 0x5b], 0x2e2e2e
jmp 0x54d844
cmp dword [0x5f8a48], ebx
je 0x54d680
mov ebp, 2
jmp 0x54d6d1
cmp dword [0x5f8a48], ebx
je 0x54d680
cmp ebp, 8
jne 0x54d6d1
mov eax, dword [0x5f92ec]
lea ecx, [esp + 8]
push ecx
push 1
mov dword [esp + 0x10], 0x58
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 5
mov dword [esp + 0x1c], 1
mov dword [esp + 0x20], 0x8041
mov dword [esp + 0x24], ebx
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
neg eax
sbb eax, eax
pop ebp
neg eax
pop ebx
add esp, 0xa0
ret
xor eax, eax
mov cl, byte [eax + 0x5c0170]
mov byte [esp + eax + 0x24], cl
inc eax
cmp cl, bl
jne 0x54d835
cmp ebp, 1
jne 0x54d887
call fcn.0054d4b0
mov dword [esp + 0x20], eax
cmp dword [0x5f8a48], ebx
je 0x54d862
lea edx, [esp + 0xc]
push edx
push ebp
jmp 0x54d868
lea eax, [esp + 0xc]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
mov esi, eax
cmp esi, ebx
je 0x54d931
mov dword [0x5f8a48], 1
jmp 0x54d931
cmp ebp, 2
jne 0x54d8a3
lea ecx, [esp + 0xc]
push ecx
push ebp
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
mov dword [0x5f8a48], ebx
jmp 0x54d92f
cmp ebp, 7
jne 0x54d8b7
lea edx, [esp + 0xc]
mov dword [esp + 0x18], 4
push edx
jmp 0x54d927
mov ecx, dword [0x5f92ec]
call fcn.0048b570
test eax, eax
je 0x54d8fb
mov ecx, dword [0x5f92ec]
push 0x3c
lea eax, [esp + 0x28]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [esp + 0x24]
mov byte [esp + 0x60], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x54d8e5
sub eax, edx
cmp eax, 0x37
jbe 0x54d8fb
mov dword [esp + 0x5b], 0x2e2e2e
cmp ebp, 3
jne 0x54d913
mov edx, dword [0x5f92e8]
push 0x10
push edx
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [esp + 0x20], eax
cmp dword [esp + 0x20], ebx
jne 0x54d922
call fcn.0054d4b0
mov dword [esp + 0x20], eax
lea eax, [esp + 0xc]
push eax
push 1
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
mov esi, eax
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x54d940
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
xor eax, eax
cmp esi, ebx
pop esi
pop ebp
setne al
pop ebx
add esp, 0xa0
ret
pop ebp
xor eax, eax
pop ebx
add esp, 0xa0
ret