Function at 0x4025c0
Capabilities:
Create process on windows
Get common file path
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x250
mov eax, dword [0x422044]
xor eax, esp
mov dword [esp + 0x248], eax
push ebx
push ebp
push esi
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x52]
push ecx
mov word [esp + 0x54], ax
call fcn.0040f900
xor edx, edx
add esp, 0xc
xor eax, eax
mov dword [esp + 0x22], eax
mov dword [esp + 0x26], eax
mov dword [esp + 0x2a], eax
mov dword [esp + 0x2e], eax
mov dword [esp + 0x32], eax
mov dword [esp + 0x36], eax
mov dword [esp + 0x3a], eax
mov dword [esp + 0x3e], eax
mov dword [esp + 0x42], eax
mov word [esp + 0x46], ax
mov eax, 0x425038
mov word [esp + 0x20], dx
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0x104
lea edx, [eax + 2]
jmp 0x402640
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x402640
mov esi, dword [sym.imp.KERNEL32.DLL_OpenEventW]
sub eax, edx
sar eax, 1
je 0x40266d
push 0x425038
push 0
push 0x20000
call esi
test eax, eax
jne 0x402828
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [esp + 0x10]
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftWindows_NTCurrentVersionWindows
push closesocket
call ebx
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x4026de
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x1c]
push eax
push 0
push str.TrayKey
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4026d7
lea edx, [esp + 0x20]
push edx
push eax
push 0x20000
call esi
test eax, eax
je 0x4026d7
mov eax, dword [esp + 0x10]
push eax
call ebp
jmp 0x402828
mov ecx, dword [esp + 0x10]
push ecx
call ebp
lea edx, [esp + 0x48]
push edx
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
mov eax, 0x425058
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4026f6
sub eax, edx
sar eax, 1
jne 0x402736
push str.yafu
lea eax, [esp + 0x4c]
push 0x104
push eax
call fcn.0040a6eb
add esp, 0xc
xor eax, eax
movzx ecx, word [eax + str.yafu]
mov word [esp + eax + 0x20], cx
add eax, 2
test cx, cx
jne 0x402720
jmp 0x402764
push 0x425058
lea ecx, [esp + 0x4c]
push 0x104
push ecx
call fcn.0040a6eb
add esp, 0xc
xor eax, eax
nop
movzx ecx, word [eax + 0x425058]
mov word [esp + eax + 0x20], cx
add eax, 2
test cx, cx
jne 0x402750
push str..exe
lea edx, [esp + 0x4c]
push 0x104
push edx
call fcn.0040a6eb
add esp, 0xc
call fcn.00402510
lea eax, [esp + 0x48]
push eax
call fcn.00402c20
mov eax, dword [0x425150]
add esp, 4
test eax, eax
je 0x4027a9
push eax
call fcn.0040a967
add esp, 4
mov dword [0x425150], 0
push 0x64
call dword [sym.imp.KERNEL32.DLL_Sleep]
push 1
push 0
push 0x41ddb0
lea ecx, [esp + 0x54]
push ecx
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea edx, [esp + 0x10]
push edx
push 3
push 0
push str.SoftwareMicrosoftWindows_NTCurrentVersionWindows
push closesocket
call ebx
test eax, eax
jne 0x402828
lea eax, [esp + 0x20]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4027f0
sub eax, edx
mov edx, dword [esp + 0x10]
sar eax, 1
lea eax, [eax + eax + 2]
push eax
lea ecx, [esp + 0x24]
push ecx
push 1
push 0
push str.TrayKey
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x402828
mov eax, dword [esp + 0x10]
push eax
call ebp
mov ecx, dword [esp + 0x254]
pop esi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0040a6dc
add esp, 0x250
ret