Function at 0x42ea10
Capabilities:
Create process on windows
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x444274]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
mov dword [ebp - 0x41c], ecx
mov ecx, 0xe
mov esi, 0x43f29c
lea edi, [ebp - 0x90]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
push 0x3e
push 0
lea eax, [ebp - 0x56]
push eax
call fcn.00404a40
add esp, 0xc
mov dword [ebp - 0x170], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x1bc], 0
mov dword [ebp - 0x1c0], 0
mov byte [ebp - 0x169], 0
mov dword [ebp - 0xa0], 0
lea ecx, [ebp - 0x98]
push ecx
push 0xf003f
call dword [sym.imp.ADVAPI32.dll_RegOpenCurrentUser]
mov dword [ebp - 0x1c0], eax
cmp dword [ebp - 0x1c0], 0
je 0x42eaae
jmp 0x42ed35
lea edx, [ebp - 0x170]
push edx
lea eax, [ebp - 0x3c4]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
lea ecx, [ebp - 0x90]
push ecx
mov edx, dword [ebp - 0x98]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [ebp - 0x1c0], eax
cmp dword [ebp - 0x170], 1
je 0x42eb07
cmp dword [ebp - 0x170], 2
je 0x42eb07
mov eax, dword [ebp - 0x98]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x42ed35
mov byte [ebp - 0x169], 1
cmp dword [ebp + 8], 0x1c
jne 0x42eb1b
mov byte [ebp - 0x169], 3
cmp dword [ebp + 8], 0x1d
jne 0x42eb28
mov byte [ebp - 0x169], 4
cmp dword [ebp + 8], 0x1e
jne 0x42eb35
mov byte [ebp - 0x169], 1
cmp dword [ebp + 8], 0x1f
jne 0x42eb42
mov byte [ebp - 0x169], 2
movzx ecx, byte [ebp - 0x169]
push ecx
push 0x43f2d8
lea edx, [ebp - 0x418]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
mov dword [ebp - 0x94], 0xc8
mov eax, dword [ebp - 0x1bc]
push eax
push 0
lea ecx, [ebp - 0x168]
push ecx
call fcn.00404a40
add esp, 0xc
lea edx, [ebp - 0x94]
push edx
lea eax, [ebp - 0x168]
push eax
push 0
push 0
lea ecx, [ebp - 0x418]
push ecx
mov edx, dword [ebp - 0x3c4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x1c0], eax
lea eax, [ebp - 0x168]
push eax
call fcn.00405940
add esp, 4
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x1c0], 0
jne 0x42ebd4
cmp dword [ebp - 0x9c], 4
jge 0x42ec53
mov dword [ebp - 0x94], 0xc8
mov ecx, dword [ebp - 0x94]
push ecx
push 0
lea edx, [ebp - 0x3c0]
push edx
call fcn.00404a40
add esp, 0xc
lea eax, [ebp - 0x3c0]
push eax
movzx ecx, byte [ebp - 0x169]
push ecx
mov ecx, dword [ebp - 0x41c]
call fcn.0042c7d0
mov edx, dword [ebp - 0x94]
push edx
lea eax, [ebp - 0x3c0]
push eax
lea ecx, [ebp - 0x168]
push ecx
call fcn.004038f0
add esp, 0xc
mov edx, dword [ebp - 0x94]
push edx
lea eax, [ebp - 0x168]
push eax
push 1
push 0
lea ecx, [ebp - 0x418]
push ecx
mov edx, dword [ebp - 0x3c4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 0x3c4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x98]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [ebp - 0x168]
push edx
call fcn.00405940
add esp, 4
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 0
jne 0x42eca4
push 0
movzx eax, byte [ebp - 0x169]
push eax
push 5
call fcn.00431cc0
add esp, 0xc
jmp 0x42ed35
push 0x44
push 0
lea ecx, [ebp - 0x1b8]
push ecx
call fcn.00404a40
add esp, 0xc
push 0x10
push 0
lea edx, [ebp - 0x10]
push edx
call fcn.00404a40
add esp, 0xc
mov dword [ebp - 0x1b8], 0x44
mov dword [ebp - 0x18c], 1
mov eax, 5
mov word [ebp - 0x188], ax
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x1b8]
push edx
push 0
push 0
push 0x20
push 1
push 0
push 0
lea eax, [ebp - 0x168]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 0
jne 0x42ed35
lea ecx, [ebp - 0x168]
push ecx
movzx edx, byte [ebp - 0x169]
push edx
push 6
call fcn.00431cc0
add esp, 0xc
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004038e0
mov esp, ebp
pop ebp
ret 4