Function at 0x404ad7
Capabilities:
Get common file path
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x800
push ebx
push esi
push edi
mov esi, ecx
push 1
xor ebx, ebx
pop edi
lea eax, [esi + 0x98]
push eax
mov dword [esi], 0x4062b8
mov dword [esi + 0x90], ebx
mov dword [esi + 0xf8], edi
mov dword [esi + 0xf4], ebx
mov dword [esi + 8], 0x1a
mov dword [esi + 0x94], ebx
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
fld qword [0x4062b0]
mov eax, 0x200
push 0x64
fstp qword [esi + 0x18]
mov dword [esi + 0xd4], eax
mov dword [esi + 0xd8], eax
pop eax
mov dword [esi + 0xb4], ebx
mov dword [esi + 0x88], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0xb8], ebx
mov dword [esi + 0x8c], ebx
mov dword [esi + 0xb0], ebx
mov dword [esi + 0x28], edi
mov dword [esi + 0xf0], ebx
mov dword [esi + 0xbc], ebx
mov dword [esi + 0xc0], ebx
mov dword [esi + 0xec], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov eax, dword [0x416b94]
mov dword [ebp - 0x800], eax
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x7fc]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x800]
mov word [0x416f78], bx
push eax
push 0x104
mov word [0x417778], bx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x800]
push eax
push 0x416f78
call edi
push str.pointer_stik_tmp1.png
push 0x416f78
call edi
lea eax, [ebp - 0x800]
push eax
push 0x417778
call edi
push str.pointer_stik_tmp2.png
push 0x417778
call edi
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push ebx
call edi
push 1
mov dword [esi + 0xc4], eax
call edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0xc8], eax
mov dword [esi + 0xe8], 0x40000000
mov eax, dword [0x418178]
cmp eax, ebx
jne 0x404c47
push str.Magnification.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, ebx
mov dword [0x418178], eax
je 0x404c92
cmp dword [0x416f6c], ebx
jne 0x404c92
push str.MagSetWindowTransform
push eax
call edi
push str.MagInitialize
mov dword [0x416f6c], eax
push dword [0x418178]
call edi
push str.MagUninitialize
mov dword [0x416f64], eax
push dword [0x418178]
call edi
push str.MagSetWindowSource
mov dword [0x416f60], eax
push dword [0x418178]
call edi
mov dword [0x416f68], eax
mov eax, dword [0x41817c]
cmp eax, ebx
jne 0x404caf
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, ebx
mov dword [0x41817c], eax
je 0x404cd6
cmp dword [0x416f70], ebx
jne 0x404cd6
push str.SetLayeredWindowAttributes
push eax
call edi
push str.UpdateLayeredWindow
mov dword [0x416f70], eax
push dword [0x41817c]
call edi
mov dword [0x416f74], eax
mov eax, dword [0x418180]
cmp eax, ebx
jne 0x404cf3
push str.dwmapi.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, ebx
mov dword [0x418180], eax
je 0x404d1a
cmp dword [0x416f58], ebx
jne 0x404d1a
push str.DwmIsCompositionEnabled
push eax
call edi
push str.DwmEnableComposition
mov dword [0x416f58], eax
push dword [0x418180]
call edi
mov dword [0x416f5c], eax
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret