Function at 0x4a6bf0
Capabilities:
Link many functions at runtime

Disassembly:
sub esp, 0x114
push ebx
push ebp
push esi
push edi
mov ebx, ecx
lea edi, [ebx + 0x1c]
push edi
mov dword [edi], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x4a6c2e
push 0x114
push eax
lea eax, [esp + 0x18]
push eax
call fcn.0051d400
mov ecx, 0x45
lea esi, [esp + 0x1c]
add esp, 0xc
rep movsd dword es:[edi], dword [esi]
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.user32.dll
call edi
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x4a6c63
push str.ChangeWindowMessageFilter
push esi
call ebp
push str.CalculatePopupWindowPosition
push esi
mov dword [ebx + 0x130], eax
call ebp
mov dword [ebx + 0x15c], eax
push str.shell32.dll
call edi
mov edi, eax
test edi, edi
je 0x4a6deb
push str.SetCurrentProcessExplicitAppUserModelID
push edi
call ebp
push str.Shell_NotifyIconGetRect
push edi
mov dword [ebx + 0x134], eax
call ebp
push str.SHCreateItemFromParsingName
push edi
mov dword [ebx + 0x138], eax
call ebp
mov dword [ebx + 0x13c], eax
mov eax, dword [ebx + 4]
mov edx, dword [eax - 8]
lea esi, [ebx + 4]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
sub edx, 0x3ff
or ecx, edx
jge 0x4a6cc8
push 0x3ff
mov ecx, esi
call fcn.00402650
mov eax, dword [esi]
push 0x400
push eax
push 0x150a
push edi
call dword [sym.imp.USER32.dll_LoadStringW]
mov eax, dword [esi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x4a6cf7
push ecx
push eax
call fcn.0051d859
add esp, 8
test eax, eax
jl 0x4a6e6b
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x4a6e6b
mov dword [ecx - 0xc], eax
mov ecx, dword [esi]
xor edx, edx
mov word [ecx + eax*2], dx
mov eax, dword [ebx + 0xc]
mov edx, dword [eax - 8]
lea esi, [ebx + 0xc]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
sub edx, 0x3ff
or ecx, edx
jge 0x4a6d37
push 0x3ff
mov ecx, esi
call fcn.00402650
mov eax, dword [esi]
push 0x400
push eax
push 0x1505
push edi
call dword [sym.imp.USER32.dll_LoadStringW]
mov eax, dword [esi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x4a6d66
push ecx
push eax
call fcn.0051d859
add esp, 8
test eax, eax
jl 0x4a6e6b
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x4a6e6b
mov dword [ecx - 0xc], eax
mov ecx, dword [esi]
xor edx, edx
mov word [ecx + eax*2], dx
mov eax, dword [ebx + 0x14]
mov edx, dword [eax - 8]
lea esi, [ebx + 0x14]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
sub edx, 0x3ff
or ecx, edx
jge 0x4a6da6
push 0x3ff
mov ecx, esi
call fcn.00402650
mov eax, dword [esi]
push 0x400
push eax
push 0x1506
push edi
call dword [sym.imp.USER32.dll_LoadStringW]
mov eax, dword [esi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x4a6dd5
push ecx
push eax
call fcn.0051d859
add esp, 8
test eax, eax
jl 0x4a6e6b
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x4a6e6b
mov dword [ecx - 0xc], eax
mov ecx, dword [esi]
xor edx, edx
mov word [ecx + eax*2], dx
push str.dwmapi.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
test esi, esi
je 0x4a6e5e
push str.DwmSetIconicThumbnail
push esi
call ebp
push str.DwmSetIconicLivePreviewBitmap
push esi
mov dword [ebx + 0x140], eax
call ebp
push str.DwmInvalidateIconicBitmaps
push esi
mov dword [ebx + 0x144], eax
call ebp
push str.DwmSetWindowAttribute
push esi
mov dword [ebx + 0x148], eax
call ebp
push str.DwmGetWindowAttribute
push esi
mov dword [ebx + 0x14c], eax
call ebp
push str.DwmIsCompositionEnabled
push esi
mov dword [ebx + 0x150], eax
call ebp
push str.DwmExtendFrameIntoClientArea
push esi
mov dword [ebx + 0x154], eax
call ebp
mov dword [ebx + 0x158], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x114
ret 4
push 0x80070057
call fcn.00401300
int3