Function at 0x48968d
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xdc
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 4]
push edi
lea ecx, [esp + 0xa8]
push ecx
xor ebx, ebx
push eax
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 + 0x1c], eax
je 0x489a7e
lea eax, [esp + 0xc]
push eax
push dword [esi + 4]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
call dword [sym.imp.USER32.dll_GetWindowRect]
test byte [0x50fcd0], 1
mov edi, dword [esp + 0x14]
jne 0x489718
or dword [0x50fcd0], 1
mov eax, edi
sub eax, dword [esp + 0xc]
mov dword [0x50fccc], eax
test byte [0x50fcd0], 2
mov ecx, dword [esp + 0x18]
jne 0x489737
or dword [0x50fcd0], 2
mov eax, ecx
sub eax, dword [esp + 0x10]
mov dword [0x50fcc8], eax
cmp dword [ebp + 0xc], ebx
jne 0x489740
xor eax, eax
jmp 0x48974c
mov eax, edi
sub eax, dword [esp + 0xc]
push 0x12
cdq
pop esi
idiv esi
sub edi, eax
sub edi, dword [esp + 0xc]
cmp dword [ebp + 0xc], ebx
mov dword [esp + 0x28], edi
jne 0x48975f
xor eax, eax
jmp 0x48976b
mov eax, ecx
sub eax, dword [esp + 0x10]
push 0x12
cdq
pop esi
idiv esi
sub ecx, eax
sub ecx, dword [esp + 0x10]
push 0x28
lea eax, [esp + 0x7c]
push ebx
push eax
mov esi, ecx
mov dword [esp + 0x60], ebx
call fcn.00495180
add esp, 0xc
push ebx
push ebx
lea eax, [esp + 0x5c]
push eax
push ebx
lea eax, [esp + 0x88]
push eax
push ebx
mov dword [esp + 0x90], 0x28
mov dword [esp + 0x94], edi
mov dword [esp + 0x98], esi
mov word [esp + 0x9c], 1
mov word [esp + 0x9e], 0x20
mov dword [esp + 0xa0], ebx
call dword [sym.imp.GDI32.dll_CreateDIBSection]
push eax
push dword [esp + 0x20]
mov dword [esp + 0x28], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x14]
sub eax, dword [esp + 0xc]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x10]
test byte [0x50fcd0], 4
mov dword [esp + 0x30], ebx
mov dword [esp + 0x38], eax
jne 0x489837
mov ecx, dword [esp + 0xa0]
or dword [0x50fcd0], 4
lea edx, [esp + 0x2c]
mov ebx, 0x50fca8
call fcn.0044a8e0
push 0x4d2fb6
call fcn.00494c94
pop ecx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
jne 0x489969
push ebx
push 0x4ead38
push ebx
push ebx
call dword [sym.imp.USER32.dll_FindWindowExW]
lea ecx, [esp + 0x3c]
push ecx
push eax
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
call dword [sym.imp.USER32.dll_GetWindowRect]
push ebx
lea eax, [esp + 0x30]
push eax
push ebx
push 0x30
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov eax, dword [esp + 0x2c]
cmp dword [esp + 0x44], eax
mov ecx, dword [esp + 0x38]
mov dword [0x50faf4], ebx
mov dword [0x50faf8], ebx
jne 0x4898a9
cmp dword [esp + 0x48], ecx
je 0x4898b9
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x3c], eax
jne 0x4898ca
cmp dword [esp + 0x48], ecx
jne 0x4898ca
sub eax, dword [esp + 0xc]
push 0x12
cdq
pop ecx
idiv ecx
mov dword [0x50faf4], eax
jmp 0x4898f1
cmp dword [esp + 0x44], eax
jne 0x4898f1
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x48], eax
je 0x4898e2
cmp dword [esp + 0x40], ecx
jne 0x4898f1
mov eax, ecx
sub eax, dword [esp + 0x10]
push 0x12
cdq
pop ecx
idiv ecx
mov dword [0x50faf8], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x30]
push eax
mov dword [esp + 0x50], eax
call dword [sym.imp.USER32.dll_GetDC]
push 0xcc0020
mov edi, dword [sym.imp.GDI32.dll_BitBlt]
push ebx
push ebx
push eax
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x20]
push eax
push ebx
push ebx
push dword [esp + 0x3c]
call edi
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x10]
push 0xcc0020
push ebx
push ebx
push dword [esp + 0x64]
push eax
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x20]
push eax
push ebx
push ebx
push dword [0x50fca8]
call edi
push dword [esp + 0x58]
push dword [esp + 0x50]
call dword [sym.imp.USER32.dll_ReleaseDC]
mov edi, dword [esp + 0x28]
jmp 0x489996
cmp dword [ebp + 0xc], 0x12
jg 0x489996
push 0xcc0020
push dword [0x50fcc8]
push dword [0x50fccc]
push ebx
push ebx
push dword [0x50fca8]
push esi
push edi
push ebx
push ebx
push dword [esp + 0x44]
call dword [sym.imp.GDI32.dll_StretchBlt]
mov eax, dword [esp + 0x14]
sub eax, dword [esp + 0xc]
push 0x12
sub eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, dword [esp + 0x10]
pop ecx
add eax, dword [0x50faf4]
push 0x64
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x14]
mov dword [esp + 0x6c], ebx
sub eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, dword [esp + 0x14]
mov dword [esp + 0x70], ebx
add eax, dword [0x50faf8]
mov dword [esp + 0x74], edi
mov dword [esp + 0x68], eax
mov eax, dword [ebp + 0xc]
imul eax, eax, 0x50
cdq
idiv ecx
pop ecx
mov dword [esp + 0x74], esi
mov byte [esp + 0x24], bl
mov byte [esp + 0x25], bl
mov byte [esp + 0x27], 1
sub ecx, eax
mov dword [esp + 0x28], ecx
fild dword [esp + 0x28]
fmul qword [str.ffffff]
call fcn.004cb7b6
push 2
mov byte [esp + 0x2a], al
lea eax, [esp + 0x28]
push eax
push ebx
lea eax, [esp + 0x74]
push eax
push dword [esp + 0x2c]
lea eax, [esp + 0x84]
push eax
lea eax, [esp + 0x78]
push eax
push dword [esp + 0xbc]
mov eax, dword [ebp + 8]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_UpdateLayeredWindow]
push dword [esp + 0x50]
push dword [esp + 0x20]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [esp + 0x20]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
call esi
test eax, eax
je 0x489a68
mov dword [esp + 0x20], ebx
cmp dword [esp + 0x20], ebx
je 0x489a74
push dword [esp + 0x20]
call esi
push dword [esp + 0x1c]
call dword [sym.imp.GDI32.dll_DeleteDC]
lea eax, [esp + 0xa8]
push eax
push dword [esp + 0xa8]
call dword [sym.imp.USER32.dll_EndPaint]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8