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

Disassembly:
sub esp, 0x45c
mov eax, dword [0x422044]
xor eax, esp
mov dword [esp + 0x454], eax
push ebx
push ebp
push esi
push edi
xor edi, edi
push 0x206
lea eax, [esp + 0x56]
push edi
push eax
mov word [esp + 0x5c], di
call fcn.0040f550
add esp, 0xc
push 0x206
lea ecx, [esp + 0x25e]
push edi
push ecx
mov word [esp + 0x264], di
call fcn.0040f550
add esp, 0xc
xor eax, 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 dword [esp + 0x46], eax
mov dword [esp + 0x4a], eax
mov word [esp + 0x4e], ax
mov eax, 0x4250a0
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], 0x104
mov word [esp + 0x28], di
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x402a44
mov esi, dword [sym.imp.KERNEL32.DLL_OpenEventW]
sub eax, edx
sar eax, 1
je 0x402a70
push 0x4250a0
push edi
push 0x20000
call esi
test eax, eax
jne 0x402c73
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea edx, [esp + 0x14]
push edx
push 0xf003f
push edi
push str.SoftwareMicrosoftWindows_NTCurrentVersionWindows
push connect
call ebx
test eax, eax
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jne 0x402adf
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x24]
push edx
push edi
push str.TrayKey
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x402ad8
lea ecx, [esp + 0x28]
push ecx
push edi
push 0x20000
call esi
test eax, eax
je 0x402ad8
mov edx, dword [esp + 0x14]
push edx
call ebp
jmp 0x402c73
mov eax, dword [esp + 0x14]
push eax
call ebp
mov esi, dword [sym.imp.KERNEL32.DLL_GetTempPathW]
lea ecx, [esp + 0x258]
push ecx
push 0x104
call esi
push str.gbp.ini
lea edx, [esp + 0x25c]
push 0x104
push edx
call fcn.0040aca1
mov eax, dword [0x424e0a]
mov ecx, dword [0x424e06]
add esp, 0xc
push eax
push ecx
mov edx, 0x424e0e
lea ecx, [esp + 0x260]
call fcn.004025d0
add esp, 8
lea edx, [esp + 0x50]
push edx
push 0x104
mov dword [esp + 0x20], edi
call esi
mov eax, 0x4250c0
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x402b47
sub eax, edx
sar eax, 1
jne 0x402b87
push str.secu
lea eax, [esp + 0x54]
push 0x104
push eax
call fcn.0040aca1
add esp, 0xc
xor eax, eax
movzx ecx, word [eax + str.secu]
mov word [esp + eax + 0x28], cx
add eax, 2
cmp cx, di
jne 0x402b71
jmp 0x402bb4
push 0x4250c0
lea ecx, [esp + 0x54]
push 0x104
push ecx
call fcn.0040aca1
add esp, 0xc
xor eax, eax
movzx ecx, word [eax + 0x4250c0]
mov word [esp + eax + 0x28], cx
add eax, 2
cmp cx, di
jne 0x402ba0
push str..exe
lea edx, [esp + 0x54]
push 0x104
push edx
call fcn.0040aca1
lea eax, [esp + 0x24]
add esp, 0xc
push eax
call fcn.004031d0
mov esi, eax
add esp, 4
cmp esi, edi
je 0x402c73
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x50]
push esi
push ecx
call fcn.00402700
add esp, 8
push 0x3e8
call dword [sym.imp.KERNEL32.DLL_Sleep]
push 1
push edi
push 0x41ddcc
lea edx, [esp + 0x5c]
push edx
push edi
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea eax, [esp + 0x14]
push eax
push 3
push edi
push str.SoftwareMicrosoftWindows_NTCurrentVersionWindows
push connect
call ebx
test eax, eax
jne 0x402c6a
lea eax, [esp + 0x28]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x402c33
sub eax, edx
sar eax, 1
lea ecx, [eax + eax + 2]
mov eax, dword [esp + 0x14]
push ecx
lea edx, [esp + 0x2c]
push edx
push 1
push edi
push str.TrayKey
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x402c6a
mov ecx, dword [esp + 0x14]
push ecx
call ebp
push esi
call fcn.0040b8fe
add esp, 4
mov ecx, dword [esp + 0x464]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0040ac62
add esp, 0x45c
ret