Function at 0x4cf5a0
Capabilities:
Find taskbar
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xe4
mov eax, dword [0x5d7050]
xor eax, esp
mov dword [esp + 0xe0], eax
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 4]
push edi
lea ecx, [esp + 0xa8]
push ecx
xor ebx, ebx
push eax
mov dword [esp + 0x4c], esi
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], eax
call dword [sym.imp.USER32.dll_BeginPaint]
push eax
mov dword [esp + 0xa4], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
cmp eax, ebx
mov dword [esp + 0x28], eax
je 0x4cfa6f
mov eax, dword [esi + 4]
lea edx, [esp + 0x10]
push edx
push eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [0x61a41c]
test al, 1
mov esi, dword [esp + 0x18]
jne 0x4cf63f
or eax, 1
mov ecx, esi
sub ecx, dword [esp + 0x10]
mov dword [0x61a41c], eax
mov dword [0x61a418], ecx
test al, 2
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
jne 0x4cf65d
or eax, 2
mov edx, ecx
sub edx, edi
mov dword [0x61a41c], eax
mov dword [0x61a414], edx
cmp dword [ebp + 8], ebx
jne 0x4cf666
xor eax, eax
jmp 0x4cf67d
mov edx, esi
sub edx, dword [esp + 0x10]
mov eax, 0x38e38e39
imul edx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
sub esi, dword [esp + 0x10]
cmp dword [ebp + 8], ebx
mov dword [esp + 0x24], esi
jne 0x4cf690
xor eax, eax
jmp 0x4cf6a5
mov edx, ecx
sub edx, edi
mov eax, 0x38e38e39
imul edx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
xor eax, eax
push ebx
mov dword [esp + 0x70], eax
push ebx
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
sub ecx, edi
lea eax, [esp + 0x64]
push eax
mov edi, ecx
push ebx
lea ecx, [esp + 0x70]
push ecx
push ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], 0x28
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], edi
mov word [esp + 0x84], 1
mov word [esp + 0x86], 0x20
mov dword [esp + 0x88], ebx
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov edx, dword [esp + 0x28]
push eax
push edx
mov dword [esp + 0x48], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x1c]
sub ecx, dword [esp + 0x14]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x10]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x38], eax
mov eax, 4
test byte [0x61a41c], al
mov dword [esp + 0x34], ebx
mov dword [esp + 0x3c], ecx
jne 0x4cf794
or dword [0x61a41c], eax
mov ecx, dword [esp + 0xa0]
lea eax, [esp + 0x30]
mov esi, 0x61a3f4
call fcn.0049e5e0
push 0x580c50
call fcn.0056a011
mov esi, dword [esp + 0x28]
add esp, 4
mov ecx, dword [ebp + 8]
cmp ecx, ebx
jne 0x4cf918
push ebx
push 0x59f98c
push ebx
push ebx
call dword [sym.imp.USER32.dll_FindWindowExW]
lea edx, [esp + 0x30]
push edx
push eax
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
call dword [sym.imp.USER32.dll_GetWindowRect]
push ebx
lea eax, [esp + 0x4c]
push eax
push ebx
push 0x30
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x48]
cmp edx, eax
mov esi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x54]
mov dword [0x619cb0], ebx
mov dword [0x619cb4], ebx
jne 0x4cf82b
cmp esi, ecx
jne 0x4cf82b
sub eax, dword [esp + 0x10]
mov ecx, eax
mov eax, 0x38e38e39
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [0x619cb0], ecx
jmp 0x4cf8a2
mov eax, dword [esp + 0x50]
cmp dword [esp + 0x30], eax
jne 0x4cf857
cmp esi, ecx
jne 0x4cf857
sub eax, dword [esp + 0x10]
mov ecx, eax
mov eax, 0x38e38e39
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [0x619cb0], eax
jmp 0x4cf8a2
cmp edx, eax
jne 0x4cf8a2
mov eax, dword [esp + 0x4c]
cmp esi, eax
jne 0x4cf882
sub eax, dword [esp + 0x14]
mov ecx, eax
mov eax, 0x38e38e39
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [0x619cb4], ecx
jmp 0x4cf8a2
cmp dword [esp + 0x34], ecx
jne 0x4cf8a2
sub ecx, dword [esp + 0x14]
mov eax, 0x38e38e39
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [0x619cb4], eax
mov ecx, dword [esp + 0x44]
mov eax, dword [ecx + 0x24]
push eax
mov dword [esp + 0x24], eax
call dword [sym.imp.USER32.dll_GetDC]
mov edx, dword [esp + 0x1c]
sub edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
push 0xcc0020
push ebx
push ebx
mov esi, eax
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x1c]
push esi
push edx
push eax
push ebx
push ebx
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [esp + 0x1c]
sub edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x10]
mov ecx, dword [0x61a3f4]
push 0xcc0020
push ebx
push ebx
push esi
push edx
push eax
push ebx
push ebx
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [esp + 0x20]
push esi
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov esi, dword [esp + 0x24]
jmp 0x4cf947
cmp ecx, 0x12
jg 0x4cf94a
mov eax, dword [0x61a414]
mov ecx, dword [0x61a418]
mov edx, dword [0x61a3f4]
push 0xcc0020
push eax
mov eax, dword [esp + 0x30]
push ecx
push ebx
push ebx
push edx
push edi
push esi
push ebx
push ebx
push eax
call dword [sym.imp.GDI32.dll_StretchBlt]
mov ecx, dword [ebp + 8]
mov eax, dword [esp + 0x18]
fnstcw word [esp + 0x24]
sub eax, dword [esp + 0x10]
lea ecx, [ecx + ecx*4]
sub eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, dword [esp + 0x10]
shl ecx, 4
add eax, dword [0x619cb0]
push 2
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x18]
mov dword [esp + 0x9c], esi
sub eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, dword [esp + 0x18]
mov esi, dword [esp + 0x2c]
add eax, dword [0x619cb4]
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x98], eax
mov eax, 0x38e38e39
imul ecx
movzx eax, word [esp + 0x28]
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, 0x64
sub edx, ecx
mov dword [esp + 0x24], edx
or eax, 0xc00
lea ecx, [esp + 0x30]
fild dword [esp + 0x24]
mov dword [esp + 0x24], eax
push ecx
push ebx
fmul qword [0x5b28e8]
lea edx, [esp + 0x94]
fldcw word [esp + 0x2c]
push edx
mov edx, dword [esp + 0xb0]
push esi
lea ecx, [esp + 0xa4]
mov dword [esp + 0xa0], ebx
fistp dword [esp + 0x34]
mov dword [esp + 0xb0], edi
mov al, byte [esp + 0x34]
mov byte [esp + 0x42], al
lea eax, [esp + 0xac]
push eax
mov eax, dword [esp + 0x5c]
fldcw word [esp + 0x3c]
push ecx
mov ecx, dword [eax + 4]
push edx
push ecx
mov byte [esp + 0x50], bl
mov byte [esp + 0x51], bl
mov byte [esp + 0x53], 1
call dword [sym.imp.USER32.dll_UpdateLayeredWindow]
mov edx, dword [esp + 0x58]
push edx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x40]
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
push eax
call edi
test eax, eax
jne 0x4cfa68
mov eax, dword [esp + 0x40]
cmp eax, ebx
je 0x4cfa68
push eax
call edi
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov edx, dword [esp + 0xa4]
lea ecx, [esp + 0xa8]
push ecx
push edx
call dword [sym.imp.USER32.dll_EndPaint]
mov ecx, dword [esp + 0xec]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00569ed6
mov esp, ebp
pop ebp
ret 4