Function at 0x41b199
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff60
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
lea esi, [ebp - 0x58]
push dword [0x56cee8]
call fcn.00489f0f
test eax, eax
jne 0x41b1c1
xor eax, eax
mov dword [0x55d858], eax
mov edx, ebx
cmp edx, 8
ja case.default.0x41b1cc
jmp dword [edx*4 + 0x41b1d3]
cmp dword [0x55d828], 0
jne 0x41b20c
xor eax, eax
jmp 0x41b56e
cmp dword [0x55d82c], 0
je 0x41b21f
mov eax, 1
jmp 0x41b56e
cmp dword [0x55d858], 0
je case.0x41b1cc.0
mov eax, 1
jmp 0x41b56e
cmp dword [0x55d828], 0
jne 0x41b246
xor eax, eax
jmp 0x41b56e
cmp dword [0x55d82c], 0
jne 0x41b259
mov eax, 1
jmp 0x41b56e
cmp dword [0x55d834], 0
je case.0x41b1cc.0
mov eax, 1
jmp 0x41b56e
cmp dword [0x55d828], 0
jne 0x41b280
xor eax, eax
jmp 0x41b56e
cmp dword [0x55d82c], 0
jne 0x41b293
mov eax, 1
jmp 0x41b56e
mov dword [0x55d858], 1
jmp case.0x41b1cc.0
cmp dword [0x55d828], 0
jne 0x41b2b2
xor eax, eax
jmp 0x41b56e
cmp dword [0x55d82c], 0
jne 0x41b2c2
xor eax, eax
jmp 0x41b56e
xor edx, edx
mov dword [0x55d858], edx
jmp case.0x41b1cc.0
cmp dword [0x55d828], 0
jne 0x41b2df
xor eax, eax
jmp 0x41b56e
cmp dword [0x55d82c], 0
jne 0x41b2ef
xor eax, eax
jmp 0x41b56e
cmp dword [0x55d858], 0
je 0x41b302
mov eax, 1
jmp 0x41b56e
mov ebx, 1
jmp case.0x41b1cc.0
cmp dword [0x55d828], 0
jne 0x41b319
xor eax, eax
jmp 0x41b56e
cmp dword [0x55d82c], 0
jne 0x41b32c
mov eax, 1
jmp 0x41b56e
mov ebx, 2
jmp case.0x41b1cc.0
cmp dword [0x55d828], 0
jne 0x41b343
xor eax, eax
jmp 0x41b56e
cmp dword [0x55d82c], 0
jne case.0x41b1cc.0
mov eax, 1
jmp 0x41b56e
cmp dword [0x55d828], 0
jne case.0x41b1cc.0
xor eax, eax
jmp 0x41b56e
xor eax, eax
jmp 0x41b56e
test ebx, ebx
jne 0x41b37b
mov eax, 1
jmp 0x41b56e
cmp ebx, 8
jne 0x41b3c8
mov dword [esi], 0x58
mov edx, dword [0x56cee8]
mov dword [esi + 4], edx
mov dword [esi + 8], 5
mov dword [esi + 0xc], 1
mov dword [esi + 0x10], 0x8041
xor ecx, ecx
mov dword [esi + 0x14], ecx
push esi
push 1
call sub.SHELL32.dll_Shell_NotifyIconA
mov ebx, eax
test ebx, ebx
je 0x41b3c1
mov eax, 1
jmp 0x41b56e
xor eax, eax
jmp 0x41b56e
mov dword [esi], 0x58
mov edx, dword [0x56cee8]
mov dword [esi + 4], edx
mov dword [esi + 8], 5
mov dword [esi + 0xc], 7
mov dword [esi + 0x10], 0x8041
xor ecx, ecx
mov dword [esi + 0x14], ecx
cmp byte [0x583410], 0
je 0x41b46e
push str.mIRC
lea eax, [esi + 0x18]
push eax
call sub.KERNEL32.dll_lstrcpyA
push 0x55d895
lea edx, [esi + 0x18]
push edx
call sub.KERNEL32.dll_lstrcatA
lea ecx, [esi + 0x18]
push ecx
call sub.KERNEL32.dll_lstrlenA
mov edi, 0x3c
sub edi, eax
push edi
push 0x583410
lea eax, [ebp - 0xa0]
push eax
call sub.KERNEL32.dll_lstrcpynA
mov byte [ebp + edi - 0xa0], 0
lea edx, [ebp - 0xa0]
push edx
lea ecx, [esi + 0x18]
push ecx
call sub.KERNEL32.dll_lstrcatA
lea eax, [esi + 0x18]
push eax
call sub.KERNEL32.dll_lstrlenA
cmp eax, 0x37
jle 0x41b47c
push 0x55d898
lea edx, [esi + 0x4f]
push edx
call sub.KERNEL32.dll_lstrcpyA
jmp 0x41b47c
push str.mIRC
lea ecx, [esi + 0x18]
push ecx
call sub.KERNEL32.dll_lstrcpyA
cmp ebx, 1
jne 0x41b4bf
call fcn.0041b03b
mov dword [esi + 0x14], eax
cmp dword [0x55d82c], 0
je 0x41b49e
push esi
push 1
call sub.SHELL32.dll_Shell_NotifyIconA
mov ebx, eax
jmp 0x41b4a8
push esi
push 0
call sub.SHELL32.dll_Shell_NotifyIconA
mov ebx, eax
test ebx, ebx
je 0x41b55f
mov dword [0x55d82c], 1
jmp 0x41b55f
cmp ebx, 2
jne 0x41b4da
push esi
push 2
call sub.SHELL32.dll_Shell_NotifyIconA
mov ebx, eax
xor eax, eax
mov dword [0x55d82c], eax
jmp 0x41b55f
cmp ebx, 7
jne 0x41b4f2
mov dword [esi + 0xc], 4
push esi
push 1
call sub.SHELL32.dll_Shell_NotifyIconA
mov ebx, eax
jmp 0x41b55f
push dword [0x56cee8]
call fcn.00489f0f
test eax, eax
je 0x41b532
push 0x3c
lea eax, [esi + 0x18]
push eax
push dword [0x56cee8]
call sub.USER32.dll_GetWindowTextA
mov byte [esi + 0x54], 0
lea edx, [esi + 0x18]
push edx
call sub.KERNEL32.dll_lstrlenA
cmp eax, 0x37
jle 0x41b532
push 0x55d89d
lea ecx, [esi + 0x4f]
push ecx
call sub.KERNEL32.dll_lstrcpyA
cmp ebx, 3
jne 0x41b547
push 0x11
push dword [0x56cee4]
call sub.USER32.dll_LoadIconA
mov dword [esi + 0x14], eax
cmp dword [esi + 0x14], 0
jne 0x41b555
call fcn.0041b03b
mov dword [esi + 0x14], eax
push esi
push 1
call sub.SHELL32.dll_Shell_NotifyIconA
mov ebx, eax
mov eax, dword [esi + 0x14]
test eax, eax
je 0x41b56c
push eax
call sub.USER32.dll_DestroyIcon
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4