Function at 0x50d634
Capabilities:
Find taskbar
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
mov ebx, 0x58b194
push dword [0x55b3c8]
call fcn.00476e1b
test eax, eax
jne 0x50d658
xor eax, eax
mov dword [0x55adb8], eax
mov edx, esi
cmp edx, 8
ja case.default.0x50d663
jmp dword [edx*4 + 0x50d66a]
cmp dword [0x556164], 0
jne 0x50d813
xor eax, eax
jmp 0x50daac
cmp dword [0x55ad88], 0
jne 0x50d6b2
xor eax, eax
jmp 0x50daac
cmp dword [0x55ad8c], 0
je 0x50d6c5
mov eax, 1
jmp 0x50daac
cmp dword [0x55adb8], 0
je 0x50d813
mov eax, 1
jmp 0x50daac
cmp dword [0x55ad88], 0
jne 0x50d6ec
xor eax, eax
jmp 0x50daac
cmp dword [0x55ad8c], 0
jne 0x50d6ff
mov eax, 1
jmp 0x50daac
cmp dword [0x55ad94], 0
je 0x50d813
mov eax, 1
jmp 0x50daac
cmp dword [0x55ad88], 0
jne 0x50d726
xor eax, eax
jmp 0x50daac
cmp dword [0x55ad8c], 0
jne 0x50d739
mov eax, 1
jmp 0x50daac
mov dword [0x55adb8], 1
jmp 0x50d813
cmp dword [0x55ad88], 0
jne 0x50d758
xor eax, eax
jmp 0x50daac
cmp dword [0x55ad8c], 0
jne 0x50d768
xor eax, eax
jmp 0x50daac
xor edx, edx
mov dword [0x55adb8], edx
jmp 0x50d813
cmp dword [0x55ad88], 0
jne 0x50d785
xor eax, eax
jmp 0x50daac
cmp dword [0x55ad8c], 0
jne 0x50d795
xor eax, eax
jmp 0x50daac
cmp dword [0x55adb8], 0
je 0x50d7a8
mov eax, 1
jmp 0x50daac
mov esi, 1
jmp 0x50d813
cmp dword [0x55ad88], 0
jne 0x50d7bf
xor eax, eax
jmp 0x50daac
cmp dword [0x55ad8c], 0
jne 0x50d7d2
mov eax, 1
jmp 0x50daac
mov esi, 2
jmp 0x50d813
cmp dword [0x55ad88], 0
jne 0x50d7e9
xor eax, eax
jmp 0x50daac
cmp dword [0x55ad8c], 0
jne 0x50d813
mov eax, 1
jmp 0x50daac
cmp dword [0x55ad88], 0
jne 0x50d813
xor eax, eax
jmp 0x50daac
xor eax, eax
jmp 0x50daac
mov edi, dword [0x556184]
test edi, edi
jne 0x50d824
xor eax, eax
jmp 0x50daac
cmp dword [0x55ad84], 0
jne 0x50d867
cmp dword [0x55adbc], 0
je 0x50d83d
xor eax, eax
jmp 0x50daac
mov dword [0x55adbc], 1
push str.Shell_NotifyIcon
push edi
call sub.KERNEL32.dll_GetProcAddress
mov dword [0x55ad84], eax
cmp dword [0x55ad84], 0
jne 0x50d867
xor eax, eax
jmp 0x50daac
cmp dword [0x55adac], 0
jne 0x50d881
push 0
push str.Shell_TrayWnd
call sub.USER32.dll_FindWindowA
mov dword [0x55adac], eax
test esi, esi
jne 0x50d88f
mov eax, 1
jmp 0x50daac
cmp esi, 8
jne 0x50d8e3
mov dword [ebx], 0x58
mov edx, dword [0x55b3c8]
mov dword [ebx + 4], edx
mov dword [ebx + 8], 5
mov dword [ebx + 0xc], 1
mov dword [ebx + 0x10], 0x441
xor ecx, ecx
mov dword [ebx + 0x14], ecx
push ebx
push 1
call dword [0x55ad84]
mov esi, eax
mov dword [0x58b234], esi
test esi, esi
je 0x50d8dc
mov eax, 1
jmp 0x50daac
xor eax, eax
jmp 0x50daac
mov dword [ebx], 0x58
mov edx, dword [0x55b3c8]
mov dword [ebx + 4], edx
mov dword [ebx + 8], 5
mov dword [ebx + 0xc], 7
mov dword [ebx + 0x10], 0x441
xor ecx, ecx
mov dword [ebx + 0x14], ecx
cmp byte [0x57f650], 0
je 0x50d98f
push str.mIRC32
lea eax, [ebx + 0x18]
push eax
call sub.KERNEL32.dll_lstrcpyA
push 0x55ae14
lea edx, [ebx + 0x18]
push edx
call sub.KERNEL32.dll_lstrcatA
lea ecx, [ebx + 0x18]
push ecx
call sub.KERNEL32.dll_lstrlenA
mov edi, 0x3c
sub edi, eax
mov dword [0x58b238], edi
push edi
push 0x57f650
push 0x58b1ec
call sub.KERNEL32.dll_lstrcpynA
mov eax, dword [0x58b238]
mov byte [eax + 0x58b1ec], 0
push 0x58b1ec
lea edx, [ebx + 0x18]
push edx
call sub.KERNEL32.dll_lstrcatA
lea ecx, [ebx + 0x18]
push ecx
call sub.KERNEL32.dll_lstrlenA
cmp eax, 0x37
jle 0x50d99d
push 0x55ae17
lea eax, [ebx + 0x4f]
push eax
call sub.KERNEL32.dll_lstrcpyA
jmp 0x50d99d
push str.mIRC32
lea edx, [ebx + 0x18]
push edx
call sub.KERNEL32.dll_lstrcpyA
cmp esi, 1
jne 0x50d9ed
call fcn.0050d50b
mov dword [ebx + 0x14], eax
cmp dword [0x55ad8c], 0
je 0x50d9c3
push ebx
push 1
call dword [0x55ad84]
mov dword [0x58b234], eax
jmp 0x50d9d1
push ebx
push 0
call dword [0x55ad84]
mov dword [0x58b234], eax
cmp dword [0x58b234], 0
je 0x50da9a
mov dword [0x55ad8c], 1
jmp 0x50da9a
cmp esi, 2
jne 0x50da0d
push ebx
push 2
call dword [0x55ad84]
mov dword [0x58b234], eax
xor ecx, ecx
mov dword [0x55ad8c], ecx
jmp 0x50da9a
cmp esi, 7
jne 0x50da29
mov dword [ebx + 0xc], 4
push ebx
push 1
call dword [0x55ad84]
mov dword [0x58b234], eax
jmp 0x50da9a
push dword [0x55b3c8]
call fcn.00476e1b
test eax, eax
je 0x50da69
push 0x3c
lea eax, [ebx + 0x18]
push eax
push dword [0x55b3c8]
call sub.USER32.dll_GetWindowTextA
mov byte [ebx + 0x54], 0
lea edx, [ebx + 0x18]
push edx
call sub.KERNEL32.dll_lstrlenA
cmp eax, 0x37
jle 0x50da69
push 0x55ae1c
lea ecx, [ebx + 0x4f]
push ecx
call sub.KERNEL32.dll_lstrcpyA
cmp esi, 3
jne 0x50da7e
push 0x11
push dword [0x55b3c4]
call sub.USER32.dll_LoadIconA
mov dword [ebx + 0x14], eax
cmp dword [ebx + 0x14], 0
jne 0x50da8c
call fcn.0050d50b
mov dword [ebx + 0x14], eax
push ebx
push 1
call dword [0x55ad84]
mov dword [0x58b234], eax
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x50daa7
push eax
call sub.USER32.dll_DestroyIcon
mov eax, dword [0x58b234]
pop edi
pop esi
pop ebx
pop ebp
ret 4