Function at 0x4572c0
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cd9b5
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x5091d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x54], edi
call fcn.004618e0
mov esi, dword [0x6d9fe0]
mov edx, dword fs:[0x2c]
mov ecx, dword [0x517fec]
mov dword [ebp - 0x64], eax
mov esi, dword [edx + esi*4]
cmp ecx, dword [esi + 4]
jg 0x457808
mov eax, dword [0x517ff4]
cmp eax, dword [esi + 4]
jg 0x45783f
call fcn.0049af10
mov esi, eax
call sub.USER32.dll_GetForegroundWindow
mov dword [ebp - 0x60], 0
test eax, eax
je 0x45738d
cmp eax, dword [0x517fe8]
je 0x45738d
cmp eax, dword [0x517ff0]
je 0x45738d
lea ecx, [ebp - 0x60]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test eax, eax
je 0x4573ab
mov eax, dword [edi + 4]
mov eax, dword [eax + 0x5c]
cmp eax, dword [ebp - 0x60]
je 0x4573ab
push eax
push 1
mov ecx, esi
call fcn.00499fc0
mov ecx, dword [edi + 4]
mov eax, dword [ebp - 0x60]
mov dword [ecx + 0x5c], eax
mov ecx, esi
push dword [ebp - 0x60]
push 0
call fcn.00499fc0
jmp 0x4573ab
mov eax, dword [edi + 4]
mov eax, dword [eax + 0x5c]
test eax, eax
je 0x4573ab
push eax
push 1
mov ecx, esi
call fcn.00499fc0
mov eax, dword [edi + 4]
mov dword [eax + 0x5c], 0
mov ecx, dword [edi + 4]
add ecx, 0x54
call fcn.00450090
mov ecx, dword [edi + 4]
add ecx, 0x4c
call fcn.00488890
test al, al
je 0x457680
mov eax, dword [edi + 4]
push 0
push 0
push 0
push 2
push dword [eax + 0x28]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebx, eax
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 4], 0
test ebx, ebx
je 0x457680
mov ecx, ebx
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0xf
mov byte [ebp - 0x50], 0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x457410
sub ecx, edx
push ecx
push ebx
lea ecx, [ebp - 0x50]
call fcn.00402f40
cmp dword [ebp - 0x40], 0
mov byte [ebp - 4], 1
je 0x457633
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.00452780
add esp, 8
mov ebx, dword [ebp - 0x7c]
mov esi, dword [ebp - 0x80]
mov dword [ebp - 0x58], ebx
cmp esi, ebx
je 0x45759b
mov ecx, dword [esi + 4]
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
test ecx, ecx
je 0x45746e
lock inc dword [ecx + 4]
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], ecx
mov ecx, dword [ebp - 0x64]
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 4], 3
call fcn.004611e0
mov edi, dword [ebp - 0x68]
test edi, edi
je 0x4574ae
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x4574ae
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x4574ae
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
add esi, 8
cmp esi, ebx
jne 0x457452
mov ebx, dword [ebp - 0x7c]
mov esi, dword [ebp - 0x80]
mov dword [ebp - 0x58], ebx
cmp esi, ebx
je 0x45759b
mov edi, dword [esi + 4]
test edi, edi
je 0x4574d4
lock inc dword [edi + 4]
mov edi, dword [esi + 4]
mov ecx, dword [esi]
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x70], edi
mov eax, dword [ecx]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov eax, dword [eax + 8]
mov byte [ebp - 0x28], 0
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 5
push edx
push 1
call eax
mov bl, al
mov cl, bl
and cl, 1
je 0x457525
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax + 4]
mov ecx, dword [ecx + 0x24]
test ecx, ecx
je 0x457882
mov eax, dword [ecx]
call dword [eax + 8]
test bl, 2
je 0x457532
mov ecx, dword [ebp - 0x54]
call fcn.00456d20
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 4
cmp edx, 0x10
jb 0x45756a
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x457560
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45787d
push edx
push ecx
call fcn.0049f81a
add esp, 8
test edi, edi
je 0x45758f
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x45758f
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x45758f
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
add esi, 8
cmp esi, dword [ebp - 0x58]
jne 0x4574c6
mov eax, dword [ebp - 0x54]
mov ebx, dword [ebp - 0x5c]
mov eax, dword [eax + 4]
push dword [eax + 0x44]
push 0
push ebx
call fcn.004a1860
mov edi, dword [ebp - 0x80]
add esp, 0xc
mov byte [ebp - 4], 1
test edi, edi
je 0x457630
mov ebx, dword [ebp - 0x7c]
cmp edi, ebx
je 0x4575f6
mov esi, dword [edi + 4]
test esi, esi
je 0x4575ec
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x4575ec
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x4575ec
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
add edi, 8
cmp edi, ebx
jne 0x4575c4
mov edi, dword [ebp - 0x80]
mov eax, dword [ebp - 0x78]
sub eax, edi
sar eax, 3
lea ecx, [eax*8]
mov eax, edi
cmp ecx, 0x1000
jb 0x457623
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45787d
push ecx
push edi
call fcn.0049f81a
mov ebx, dword [ebp - 0x5c]
add esp, 8
mov edi, dword [ebp - 0x54]
mov edx, dword [ebp - 0x3c]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x45766b
mov ecx, dword [ebp - 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x457661
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x457887
push edx
push ecx
call fcn.0049f81a
add esp, 8
push ebx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
nop dword [eax]
nop word [eax + eax]
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0
push 1
mov dword [ebp - 4], 6
call fcn.00469d20
mov ecx, dword [ebp - 0x64]
movzx eax, al
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.00461e70
test al, al
je 0x4577a9
mov ecx, dword [ebp - 0x74]
mov eax, dword [ecx]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov eax, dword [eax + 8]
mov byte [ebp - 0x28], 0
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 7
push edx
push dword [ebp - 0x68]
call eax
mov bl, al
mov cl, bl
and cl, 1
je 0x457702
mov ecx, dword [edi + 4]
mov ecx, dword [ecx + 0x24]
test ecx, ecx
je 0x457882
mov eax, dword [ecx]
call dword [eax + 8]
test bl, 2
je 0x45770e
mov ecx, edi
call fcn.00456d20
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 6
cmp edx, 0x10
jb 0x457746
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x45773c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45787d
push edx
push ecx
call fcn.0049f81a
add esp, 8
call fcn.0045ec20
mov edi, eax
lea eax, [ebp - 0x38]
push eax
mov ecx, edi
call fcn.0045f3b0
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x38]
call fcn.00454ff0
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x38]
call fcn.00455360
mov esi, dword [ebp - 0x58]
cmp esi, dword [ebp - 0x5c]
je 0x4577a1
movzx eax, word [esi + 8]
mov ecx, edi
push eax
call fcn.0045eff0
test al, al
jne 0x457794
movzx eax, word [esi + 8]
mov ecx, edi
push eax
call fcn.0045fb40
mov esi, dword [ebp - 0x58]
mov esi, dword [esi]
mov dword [ebp - 0x58], esi
cmp esi, dword [ebp - 0x5c]
jne 0x457778
lea ecx, [ebp - 0x38]
call fcn.00454890
mov esi, dword [ebp - 0x70]
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x4577d8
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x4577d8
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x4577d8
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0x64]
call fcn.00461ca0
test al, al
jne 0x4577ec
mov edi, dword [ebp - 0x54]
jmp 0x457680
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049f836
mov esp, ebp
pop ebp
ret
push 0x517fec
call fcn.0049fd00
add esp, 4
cmp dword [0x517fec], 0xffffffff
jne 0x45731a
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push 0x517fec
mov dword [0x517fe8], eax
call fcn.0049fcb6
add esp, 4
jmp 0x45731a
push 0x517ff4
call fcn.0049fd00
add esp, 4
cmp dword [0x517ff4], 0xffffffff
jne 0x45732b
push 0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowA]
push 0x517ff4
mov dword [0x517ff0], eax
call fcn.0049fcb6
add esp, 4
jmp 0x45732b
call fcn.004a48ef
call fcn.0049c555
call fcn.004a48ef
int3