Function at 0x404be0
Capabilities:
Create process on windows
Encode data using xor
Hash data using fnv
Query or enumerate registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4119cd
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x2d0
mov eax, dword [0x41b00c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x240], ecx
mov edi, dword [ebx + 8]
call fcn.00401a70
mov ecx, eax
test ecx, ecx
je 0x40560e
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x24c], eax
push edi
lea ecx, [ebp - 0x24c]
mov dword [ebp - 4], 0
call fcn.00401180
test al, al
jne 0x404c8c
test edi, edi
jne 0x404c68
xor ecx, ecx
jmp 0x404c7f
mov ecx, edi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x404c70
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x24c]
call fcn.004014c0
mov dword [ebp - 4], 1
mov esi, dword [ebp - 0x24c]
push esi
push 0x28a
push str.c:workspacechromasdkRC3.36CoreSDKServiceChromaSDKService.cpp
push 3
call fcn.0040ba10
push eax
call fcn.0040bed0
add esp, 0x14
call fcn.00401a70
mov ecx, eax
test ecx, ecx
je 0x405618
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x254], eax
push str.SoftwareRazer_Chroma_SDKServicesRzSDKService.exeRzSvcHost_
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 2
call fcn.00401180
test al, al
jne 0x404cfd
push 0x3e
push str.SoftwareRazer_Chroma_SDKServicesRzSDKService.exeRzSvcHost_
lea ecx, [ebp - 0x254]
call fcn.004014c0
mov byte [ebp - 4], 3
test edi, edi
jne 0x404d09
xor ecx, ecx
jmp 0x404d1f
mov ecx, edi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x404d10
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x254]
call fcn.00407020
push dword [ebp - 0x254]
push 0x28f
push str.c:workspacechromasdkRC3.36CoreSDKServiceChromaSDKService.cpp
push 3
call fcn.0040ba10
push eax
call fcn.0040bed0
add esp, 0x14
lea eax, [ebp - 0x220]
push 0x208
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x268], 0x208
call fcn.00401a70
mov ecx, eax
test ecx, ecx
je 0x405622
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [ebp - 0x258], edi
lea eax, [ebp - 0x268]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x220]
push eax
push 0
push 0x20020002
push str.Filename
push dword [ebp - 0x254]
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x4055bc
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x404dd0
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x258]
call fcn.004014c0
call fcn.00401a70
mov ecx, eax
test ecx, ecx
je 0x40562c
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x26c], eax
lea eax, [ebp - 0x268]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x220]
mov dword [ebp - 0x268], 0x208
push eax
push 0
push 0x20020002
push 0x415718
push 0x4136c8
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x4054f8
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x404e60
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x26c]
call fcn.004014c0
mov eax, dword [ebp - 0x26c]
add eax, 0xfffffff0
mov ecx, eax
mov dword [ebp - 0x244], eax
call fcn.004013c0
add eax, 0x10
mov dword [ebp - 0x23c], eax
push str._bin_
lea edx, [ebp - 0x23c]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x280]
call fcn.004069f0
add esp, 4
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 7
push ecx
mov edx, eax
lea ecx, [ebp - 0x274]
call fcn.00406bb0
add esp, 4
mov byte [ebp - 4], 9
or edi, 0xffffffff
mov edx, dword [ebp - 0x280]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x404efd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xa
mov eax, edi
mov edx, dword [ebp - 0x23c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x404f1e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x244]
call fcn.004013c0
add eax, 0x10
mov dword [ebp - 0x23c], eax
push str._bin_
lea edx, [ebp - 0x23c]
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x284]
call fcn.004069f0
add esp, 4
lea ecx, [ebp - 0x258]
mov byte [ebp - 4], 0xc
push ecx
mov edx, eax
lea ecx, [ebp - 0x270]
call fcn.00406bb0
add esp, 4
mov byte [ebp - 4], 0xe
mov eax, edi
mov edx, dword [ebp - 0x284]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x404f8b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xf
mov eax, edi
mov edx, dword [ebp - 0x23c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x404fac
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00401a70
mov ecx, eax
test ecx, ecx
je 0x405636
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x250], eax
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0x250]
push dword [ebp - 0x270]
push esi
push str._svc___s___f___s_
push eax
call fcn.00401620
mov edi, dword [ebp - 0x250]
add esp, 0x10
push edi
push 0x2c9
push str.c:workspacechromasdkRC3.36CoreSDKServiceChromaSDKService.cpp
push 3
call fcn.0040ba10
push eax
call fcn.0040bed0
xorps xmm0, xmm0
mov dword [ebp - 0x2e0], 0x44
xor eax, eax
movlpd qword [ebp - 0x2dc], xmm0
mov word [ebp - 0x29e], ax
add esp, 0x14
mov eax, 1
movlpd qword [ebp - 0x2d4], xmm0
movlpd qword [ebp - 0x2cc], xmm0
movlpd qword [ebp - 0x2c4], xmm0
movlpd qword [ebp - 0x2bc], xmm0
movlpd qword [ebp - 0x2ae], xmm0
movlpd qword [ebp - 0x2a6], xmm0
mov dword [ebp - 0x2b4], 1
mov word [ebp - 0x2b0], ax
movups xmmword [ebp - 0x294], xmm0
cmp dword [edi - 4], eax
jle 0x40508f
push dword [edi - 0xc]
lea ecx, [ebp - 0x250]
call fcn.004012a0
mov edi, dword [ebp - 0x250]
lea eax, [ebp - 0x294]
push eax
lea eax, [ebp - 0x2e0]
push eax
push 0
push 0
push 0
push 1
push 0
push 0
push edi
push dword [ebp - 0x274]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp eax, 1
jne 0x405477
mov ecx, esi
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 7
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4050e2
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x238]
call fcn.00401c30
cmp dword [ebp - 0x224], 8
lea eax, [ebp - 0x238]
mov edx, 0x811c9dc5
cmovae eax, dword [ebp - 0x238]
setae byte [ebp - 0x245]
mov dword [ebp - 0x244], eax
xor ecx, ecx
mov eax, dword [ebp - 0x228]
add eax, eax
je 0x405155
mov edi, dword [ebp - 0x244]
mov esi, eax
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x405138
mov esi, dword [ebp - 0x24c]
mov edi, dword [ebp - 0x250]
mov ecx, dword [ebp - 0x240]
lea eax, [ebp - 0x238]
push edx
push eax
lea eax, [ebp - 0x264]
push eax
lea ecx, [ecx + 0x38]
call fcn.00407560
mov eax, dword [eax + 4]
mov dword [ebp - 0x23c], eax
test eax, eax
jne 0x40518e
mov ecx, dword [ebp - 0x240]
mov eax, dword [ecx + 0x3c]
mov dword [ebp - 0x23c], eax
cmp byte [ebp - 0x245], 0
je 0x4051d4
mov ecx, dword [ebp - 0x224]
mov edx, dword [ebp - 0x238]
mov eax, edx
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x4051ca
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4051ca
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004102e6
add esp, 8
mov ecx, dword [ebp - 0x240]
mov eax, dword [ebp - 0x23c]
cmp eax, dword [ecx + 0x3c]
jne 0x40546b
lea eax, [ebp - 0x294]
push eax
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x264]
push eax
lea ecx, [ecx + 0x38]
call fcn.00407250
cmp byte [ebp - 0x260], 1
jne 0x40546b
push 0x14
call fcn.00410317
add esp, 4
mov dword [ebp - 0x23c], eax
add eax, 0xc
mov dword [ebp - 0x244], eax
call fcn.00401a70
mov ecx, eax
test ecx, ecx
je 0x40560e
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov ecx, dword [ebp - 0x23c]
add eax, 0x10
mov dword [ecx + 0xc], eax
call fcn.00401a70
mov ecx, eax
test ecx, ecx
je 0x40560e
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov edx, dword [ebp - 0x23c]
mov esi, dword [ebp - 0x240]
lea ecx, [eax + 0x10]
mov dword [edx + 0x10], ecx
add ecx, 0xfffffff0
mov eax, dword [esi + 4]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x294]
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x258]
mov dword [edx], esi
mov dword [ebp - 0x260], ecx
lea esi, [eax - 0x10]
mov dword [ebp - 0x25c], esi
cmp esi, ecx
mov esi, dword [ebp - 0x24c]
je 0x40531c
cmp dword [ecx + 0xc], 0
lea edi, [ecx + 0xc]
mov dword [ebp - 0x278], edi
mov edi, dword [ebp - 0x250]
jl 0x405310
mov edx, dword [eax - 0x10]
cmp edx, dword [ecx]
jne 0x40530a
mov ecx, dword [ebp - 0x25c]
call fcn.004013c0
mov dword [ebp - 0x25c], eax
or ecx, 0xffffffff
mov eax, dword [ebp - 0x278]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4052f6
mov eax, dword [ebp - 0x260]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [ebp - 0x23c]
mov eax, dword [ebp - 0x25c]
add eax, 0x10
mov dword [ecx + 0x10], eax
jmp 0x40531c
mov edx, dword [ebp - 0x23c]
push dword [eax - 0xc]
lea ecx, [edx + 0x10]
push eax
call fcn.004014c0
mov eax, dword [ebp - 0x244]
lea edx, [esi - 0x10]
mov ecx, dword [eax]
sub ecx, 0x10
mov dword [ebp - 0x278], ecx
cmp edx, ecx
je 0x4053a1
cmp dword [ecx + 0xc], 0
lea edi, [ecx + 0xc]
mov dword [ebp - 0x260], edi
mov edi, dword [ebp - 0x250]
jl 0x405396
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x405390
mov ecx, edx
call fcn.004013c0
mov dword [ebp - 0x25c], eax
or ecx, 0xffffffff
mov eax, dword [ebp - 0x260]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40537c
mov eax, dword [ebp - 0x278]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [ebp - 0x23c]
mov eax, dword [ebp - 0x25c]
add eax, 0x10
mov dword [ecx + 0xc], eax
jmp 0x4053a1
mov eax, dword [ebp - 0x244]
push dword [esi - 0xc]
mov ecx, eax
push esi
call fcn.004014c0
sub esp, 0x30
mov dword [ebp - 0x244], esp
call fcn.0040b520
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x4053ba
lock inc dword [ecx + 4]
mov edx, dword [ebp - 0x244]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [edx + 4], 0
mov dword [edx], ecx
mov dword [edx + 4], eax
mov dword [edx + 8], ecx
mov dword [edx + 0xc], 0
lea ecx, [edx + 0x10]
mov byte [ebp - 4], 0x12
mov dword [ebp - 0x260], ecx
call dword [sym.imp.MSVCP140.dll_private:_void___thiscall_Concurrency::task_continuation_context::constructor_void_]
mov eax, dword [ebp - 0x244]
lea ecx, [ebp - 0x27c]
mov byte [ebp - 4], 0x10
push dword [ebp - 0x23c]
push dword [ebp - 0x240]
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 0
mov dword [eax + 0x28], 0
mov dword [eax + 0x1c], 0
mov byte [eax + 0x18], 0
mov word [eax + 0x2c], 0
call fcn.004074c0
mov ecx, dword [ebp - 0x278]
add esp, 0x38
mov dword [ebp - 0x260], ecx
test ecx, ecx
je 0x40546b
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x40546b
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x260]
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
jne 0x40546b
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 0x240], 0
jmp 0x405496
push 0x2f6
push ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0040ba10
mov ecx, eax
call fcn.0040b350
mov dword [ebp - 0x240], eax
lea edx, [edi - 0x10]
mov byte [ebp - 4], 0xf
or edi, 0xffffffff
mov ecx, edi
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x4054b4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xa
mov eax, edi
mov edx, dword [ebp - 0x270]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4054d5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
mov eax, edi
mov edx, dword [ebp - 0x274]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x405514
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x405514
push 0x2bd
push ecx
push eax
call fcn.0040ba10
mov ecx, eax
call fcn.0040b350
mov dword [ebp - 0x240], eax
or edi, 0xffffffff
mov byte [ebp - 4], 4
mov eax, edi
mov edx, dword [ebp - 0x26c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x405535
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x258]
lea edx, [edi - 0x10]
mov byte [ebp - 4], 3
or edi, 0xffffffff
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x405559
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov eax, edi
mov edx, dword [ebp - 0x254]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40557a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x405596
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x240]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004102d8
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
cmp eax, 2
jne 0x4055f0
push esi
push str.Cannot_find_filename_of_Service_Module__s
push 0x2a4
push str.c:workspacechromasdkRC3.36CoreSDKServiceChromaSDKService.cpp
push 1
call fcn.0040ba10
push eax
call fcn.0040bed0
add esp, 0x18
mov dword [ebp - 0x240], 2
jmp 0x40553b
push 0x2a9
push ecx
push eax
call fcn.0040ba10
mov ecx, eax
call fcn.0040b350
mov dword [ebp - 0x240], eax
jmp 0x40553b
push 0x80004005
call fcn.00401b70
push 0x80004005
call fcn.00401b70
push 0x80004005
call fcn.00401b70
push 0x80004005
call fcn.00401b70
push 0x80004005
call fcn.00401b70
int3