Function at 0x40a9b0
Capabilities:
Check os version
Extract resource via kernel32 functions
Find taskbar
Get common file path

Disassembly:
mov eax, 0x45fca2
call fcn.00444db8
sub esp, 0x91c
mov eax, dword [0x4688c0]
push ebx
xor ebx, ebx
push esi
cmp eax, 0xffffffff
push edi
jne 0x40a9eb
push 0x1003
push 0x5000
call fcn.0040a238
cmp eax, ebx
mov dword [0x4688c0], eax
jl 0x40b029
push 0x888
push eax
call fcn.0040a287
mov esi, eax
cmp esi, ebx
je 0x40b029
push 1
lea eax, [ebp - 0x3c]
pop edi
mov dword [ebp - 0x38], ebx
push ebx
push eax
lea eax, [esi + 0x884]
mov dword [ebp - 0x3c], edi
push eax
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
call sub.gdiplus.dll_GdiplusStartup
push 0xef1
push dword [0x4688c0]
call fcn.0040a287
mov dword [esi + 0x77c], eax
mov dword [eax + 0x1c], edi
mov eax, dword [esi + 0x77c]
mov dword [eax + 0x28], ebx
mov eax, dword [esi + 0x77c]
mov dword [eax + 0x2c], edi
mov edi, 0x94
push edi
lea eax, [ebp - 0xe4]
push ebx
push eax
call fcn.004447a0
add esp, 0xc
lea eax, [ebp - 0xe4]
mov dword [ebp - 0xe4], edi
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [ebp - 0xe0]
push 3
pop ecx
sub eax, ecx
je 0x40ab11
dec eax
je 0x40aac9
dec eax
jne 0x40ab44
cmp dword [ebp - 0xdc], ebx
jne 0x40aaac
mov eax, dword [esi + 0x77c]
mov dword [eax + 0xee4], 2
jmp 0x40ab44
push 1
pop eax
cmp dword [ebp - 0xdc], eax
jne 0x40ab44
mov ecx, dword [esi + 0x77c]
mov dword [ecx + 0xee4], eax
jmp 0x40ab44
cmp dword [ebp - 0xdc], ebx
jne 0x40aadf
mov eax, dword [esi + 0x77c]
mov dword [eax + 0xee4], ebx
jmp 0x40ab44
cmp dword [ebp - 0xdc], 0xa
jne 0x40aafa
mov eax, dword [esi + 0x77c]
mov dword [eax + 0xee4], 4
jmp 0x40ab44
cmp dword [ebp - 0xdc], 0x5a
jne 0x40ab44
mov eax, dword [esi + 0x77c]
mov dword [eax + 0xee4], ecx
jmp 0x40ab44
cmp dword [ebp - 0xdc], 0x33
jne 0x40ab2c
mov eax, dword [esi + 0x77c]
mov dword [eax + 0xee4], 5
jmp 0x40ab44
cmp dword [ebp - 0xdc], ebx
jne 0x40ab44
mov eax, dword [esi + 0x77c]
mov dword [eax + 0xee4], 6
push dword [ebp + 8]
lea eax, [esi + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x77c]
mov dword [esi + 0x128], eax
mov eax, dword [ebp + 0x14]
add ecx, 0x2c
mov dword [esi + 0x12c], eax
mov eax, dword [ebp + 0x18]
push ecx
push eax
mov dword [esi + 4], eax
call fcn.00407802
mov eax, dword [ebp + 0x1c]
push ebx
push 0xfffe
mov dword [esi + 8], eax
call fcn.00413384
lea edi, [esi + 0x780]
mov dword [esi + 0xc], eax
push edi
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
movzx eax, ax
push eax
call fcn.00409e37
lea eax, [esi + 0x781]
push 4
push eax
push edi
call fcn.00445320
mov eax, dword [esi + 0x77c]
add eax, 0x2c
push eax
push dword [esi + 8]
push ebx
push 2
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00405388
add esp, 0x2c
cmp eax, ebx
mov dword [esi + 0x14], eax
je 0x40b01d
lea ecx, [ebp - 0x1c]
push ecx
push str.SECRET_NATIVE_RECT
push eax
call fcn.00405790
add esp, 0xc
cmp dword [ebp - 0x1c], 0xc
mov edi, eax
mov dword [ebp + 0xc], edi
jbe 0x40ac17
sub dword [ebp - 0x1c], 0xc
lea eax, [ebp - 0x1c]
push eax
lea eax, [edi + 0xc]
push eax
push dword [esi + 0xc]
call fcn.0041351a
test eax, eax
je 0x40b006
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x928]
push eax
push 0x3c
push dword [esi + 0xc]
call fcn.00413750
cmp dword [ebp - 0x10], 0xf
jb 0x40ac96
push 6
xor edi, edi
pop ecx
lea eax, [esi + 0x144]
mov dword [ebp + 0x1c], ecx
mov edx, dword [ebp + edi - 0x928]
add edi, 4
mov dword [eax], edx
add eax, 4
dec dword [ebp + 0x1c]
jne 0x40ac40
lea eax, [esi + 0x15c]
mov dword [ebp - 0x14], ecx
mov dword [ebp + 0x1c], eax
lea eax, [ebp + edi - 0x928]
push eax
push dword [ebp + 0x1c]
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push dword [ebp + 0x1c]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push dword [ebp + 0x1c]
lea edi, [edi + eax + 1]
call fcn.0040c491
add dword [ebp + 0x1c], 0x105
dec dword [ebp - 0x14]
pop ecx
jne 0x40ac60
mov edi, dword [ebp + 0xc]
push 1
push dword [esi + 0x14]
call fcn.004054f3
push 1
push dword [esi + 0x14]
call fcn.0040cb14
lea eax, [ebp - 0x928]
push ebx
push eax
push dword [esi + 0x14]
call fcn.004054e1
push 0x44
call fcn.00444e5b
add esp, 0x20
mov dword [ebp + 0x1c], eax
cmp eax, ebx
mov dword [ebp - 4], ebx
je 0x40ace2
push dword [ebp + 8]
lea ecx, [ebp - 0x928]
push ecx
push esi
mov ecx, eax
call fcn.0040f271
jmp 0x40ace4
xor eax, eax
or dword [ebp - 4], 0xffffffff
push 0x46f7a4
mov dword [esi + 0x140], eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x40ad0f
push 0x46f7a4
push 0xc
push esi
call fcn.0040b548
jmp 0x40aeaf
lea eax, [ebp - 0x10]
push eax
push ebx
push 0x3d
push dword [esi + 0xc]
call fcn.00413750
cmp dword [ebp - 0x10], 1
jne 0x40aeaf
mov edi, dword [sym.imp.KERNEL32.dll_FindResourceA]
push 5
push 0x65
push ebx
call edi
push 0x46fb08
push str.Shell_TrayWnd
mov dword [ebp + 0x1c], eax
call dword [sym.imp.USER32.dll_FindWindowA]
cmp eax, ebx
je 0x40ad67
push 0xffffffffffffffec
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, 0x400000
je 0x40ad67
push 5
push 0x66
push ebx
call edi
mov edi, eax
jmp 0x40ad6a
mov edi, dword [ebp + 0x1c]
cmp edi, ebx
je 0x40aeac
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebx
mov dword [ebp - 0x2c], eax
je 0x40aeac
push edi
push ebx
mov byte [ebp + 0x1f], bl
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp eax, ebx
mov dword [ebp - 0x18], eax
je 0x40ae81
mov edi, dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
call edi
cmp eax, ebx
mov dword [ebp - 0x14], eax
je 0x40ae73
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push eax
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
push dword [ebp - 0x14]
call fcn.00444e70
add esp, 0xc
lea ecx, [ebp - 0x28]
push dword [ebp - 0x14]
call fcn.004126e9
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
movzx eax, ax
sub eax, 0x404
je 0x40ae2c
sub eax, 0xd
je 0x40ae23
dec eax
je 0x40ae1a
sub eax, 0x3f2
je 0x40ae11
push 8
push str.MS_Sans_Serif
jmp 0x40ae33
push 9
push 0x46894c
jmp 0x40ae33
push 9
push 0x468944
jmp 0x40ae33
push 9
push 0x468934
jmp 0x40ae33
push 9
push 0x46892c
lea ecx, [ebp - 0x28]
call fcn.00412894
push esi
push 0x4129ae
push ebx
push dword [ebp - 0x28]
call edi
push eax
push dword [0x46f8a8]
call dword [sym.imp.USER32.dll_DialogBoxIndirectParamA]
push dword [ebp - 0x14]
dec eax
neg eax
sbb al, al
inc al
mov byte [ebp + 0x1f], al
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00412778
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp byte [ebp + 0x1f], bl
jne 0x40aeac
mov eax, dword [0x46f738]
cmp eax, ebx
je 0x40aea1
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40aea1
push dword [0x46f738]
call dword [sym.imp.USER32.dll_DestroyWindow]
push ebx
push 0x2b
push dword [ebp + 0xc]
jmp 0x40b00a
mov edi, dword [ebp + 0xc]
push dword [esi + 0x77c]
mov ecx, dword [esi + 0x140]
push esi
call fcn.00410ab5
push ebx
push dword [esi + 0x14]
call fcn.004054b2
pop ecx
cmp ax, 0x3d0b
pop ecx
lea eax, [ebp - 0x10]
push eax
jbe 0x40afa9
lea eax, [ebp - 0x1e8]
push eax
push 0x69
push dword [esi + 0xc]
call fcn.00413750
cmp dword [ebp - 0x10], ebx
je 0x40afcb
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x1e8]
push eax
call fcn.00456719
mov edi, eax
cmp edi, 0xffffffff
jne 0x40af2b
lea eax, [ebp - 0x1e8]
push eax
lea eax, [ebp - 0x928]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edi, dword [ebp + 0xc]
jmp 0x40afcb
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x2ec]
push eax
call fcn.004568cb
lea eax, [edi + 1]
push eax
lea eax, [ebp - 0x1e8]
push eax
lea eax, [ebp - 0x928]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
lea eax, [ebp - 0x2ec]
push eax
lea eax, [ebp - 0x928]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, dword [ebp - 0x18]
push ebx
add eax, edi
push ebx
lea eax, [ebp + eax - 0x1e8]
push eax
call fcn.00456719
mov ecx, dword [ebp - 0x18]
cmp eax, 0xffffffff
je 0x40af8e
add eax, ecx
add eax, edi
mov byte [ebp + eax - 0x1e8], bl
add ecx, edi
lea eax, [ebp + ecx - 0x1e8]
push eax
lea eax, [ebp - 0x928]
push eax
call fcn.00456678
jmp 0x40af23
push ebx
push 0x1e
push dword [esi + 0xc]
call fcn.00413750
cmp dword [ebp - 0x10], ebx
je 0x40afcb
lea eax, [ebp - 0x928]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push dword [ebp + 8]
lea eax, [ebp - 0x928]
push eax
call fcn.0040f017
mov dword [esi + 0x13c], eax
mov dword [0x46f520], esi
push dword [esi + 0x77c]
push dword [edi]
push dword [ebp + 0x14]
push 0xb
push dword [ebp + 0x18]
push esi
call fcn.004398e0
cmp eax, ebx
mov dword [esi + 0x134], eax
jne 0x40b030
push ebx
push 0x2b
push edi
push dword [esi + 0x14]
call fcn.004057c8
push dword [esi + 0x14]
call fcn.00405481
add esp, 0x14
push esi
push dword [0x4688c0]
call fcn.0040a362
xor eax, eax
jmp 0x40b1de
movzx ecx, word [edi + 4]
push dword [esi + 0x77c]
mov dword [esi + 0x120], ecx
mov ecx, dword [edi + 4]
shr ecx, 0x10
push esi
mov dword [esi + 0x124], ecx
push dword [edi + 8]
push eax
call fcn.0043b436
push eax
mov dword [esi + 0x130], eax
push dword [esi + 0x134]
call fcn.0043a01c
lea eax, [ebp - 0x10]
mov dword [esi + 0x138], ebx
push eax
push ebx
push 0x14
push dword [esi + 0xc]
call fcn.00413750
cmp dword [ebp - 0x10], 1
jne 0x40b1cd
lea eax, [esi + 0x144]
mov edi, str.Global
push eax
push ebx
push str.Number1
push edi
push dword [esi + 0x13c]
call fcn.0040f148
lea eax, [esi + 0x148]
push eax
push ebx
push str.Number2
push edi
push dword [esi + 0x13c]
call fcn.0040f148
lea eax, [esi + 0x14c]
push eax
push ebx
push str.Number3
push edi
push dword [esi + 0x13c]
call fcn.0040f148
lea eax, [esi + 0x150]
push eax
push ebx
push str.Number4
push edi
push dword [esi + 0x13c]
call fcn.0040f148
lea eax, [esi + 0x154]
push eax
push ebx
push str.Number5
push edi
push dword [esi + 0x13c]
call fcn.0040f148
lea eax, [esi + 0x158]
push eax
push ebx
push str.Number6
push edi
push dword [esi + 0x13c]
call fcn.0040f148
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x15c]
push eax
push str.String1
push edi
push dword [esi + 0x13c]
call fcn.0040f148
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x261]
push eax
push str.String2
push edi
push dword [esi + 0x13c]
call fcn.0040f148
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x366]
push eax
push str.String3
push edi
push dword [esi + 0x13c]
call fcn.0040f148
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x46b]
push eax
push str.String4
push edi
push dword [esi + 0x13c]
call fcn.0040f148
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x570]
push eax
push str.String5
push edi
push dword [esi + 0x13c]
call fcn.0040f148
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x675]
push eax
push str.String6
push edi
push dword [esi + 0x13c]
call fcn.0040f148
mov edi, dword [ebp + 0xc]
push ebx
push 0x2b
push edi
push dword [esi + 0x14]
call fcn.004057c8
add esp, 0x10
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x18