Function at 0x10017000
Capabilities:
Hash data using fnv
Set 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 0x100dcf9d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x8a8
mov eax, dword [0x1010a080]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x890], edi
mov esi, dword [ebx + 8]
mov ecx, dword [esi + 8]
mov eax, dword [esi]
lea edx, [ecx + 4]
cmp edx, dword [eax + 0xc]
ja 0x10017064
mov eax, dword [eax + 8]
mov eax, dword [ecx + eax]
mov dword [esi + 8], edx
jmp 0x1001706a
mov eax, dword [ebp - 0x89c]
dec eax
cmp eax, 0xfe
ja case.0x1001707d.7
movzx eax, byte [eax + 0x10017a74]
jmp dword [eax*4 + 0x10017a1c]
xorps xmm0, xmm0
mov dword [ebp - 0x820], 0
movups xmmword [ebp - 0x830], xmm0
mov dword [ebp - 0x81c], 0xf
mov byte [ebp - 0x830], 0
lea eax, [ebp - 0x8a4]
mov dword [ebp - 4], 0
push eax
mov ecx, esi
call fcn.10018cf0
lea eax, [ebp - 0x830]
mov ecx, esi
push eax
call fcn.1001e960
push 0
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
add esp, 4
lea ecx, [ebp - 0x868]
push edx
push eax
push dword [ebp - 0x8a4]
lea eax, [ebp - 0x830]
push eax
call fcn.10009960
lea eax, [ebp - 0x868]
mov byte [ebp - 4], 1
push eax
mov ecx, edi
call fcn.1000fbc0
cmp byte [edi + 0xed], 0
jne 0x1001719e
cmp byte [edi + 0x164], 0
je 0x1001719e
cmp dword [ebp - 0x838], 0xf
lea eax, [ebp - 0x84c]
lea ecx, [edi + 8]
cmova eax, dword [ebp - 0x84c]
cmp dword [ecx + 0x14], 0xf
jbe 0x1001713c
mov ecx, dword [ecx]
push eax
mov eax, dword [ebp - 0x834]
and eax, 0xffffff
push eax
push ecx
lea eax, [ebp - 0x818]
push str.__s___06x_s
push eax
call fcn.10018d20
lea ecx, [ebp - 0x818]
add esp, 0x14
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10017167
sub ecx, edx
lea eax, [ebp - 0x818]
push ecx
push eax
lea ecx, [ebp - 0x84c]
call fcn.10003a40
mov ecx, dword [0x1010b25c]
lea edx, [ebp - 0x868]
mov eax, dword [edi + 0x20]
mov dword [ebp - 0x834], eax
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x868]
call fcn.10002ed0
mov ecx, dword [ebp - 0x81c]
cmp ecx, 0xf
jbe case.0x1001707d.7
mov edx, dword [ebp - 0x830]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100171df
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100171df
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100dad65
add esp, 8
jmp case.0x1001707d.7
xorps xmm0, xmm0
mov dword [ebp - 0x820], 0
movups xmmword [ebp - 0x830], xmm0
mov dword [ebp - 0x81c], 0xf
mov byte [ebp - 0x830], 0
lea eax, [ebp - 0x89c]
mov dword [ebp - 4], 2
push eax
mov ecx, esi
mov byte [ebp - 0x892], 0
mov byte [ebp - 0x891], 0
call fcn.10018cf0
mov ecx, dword [esi + 8]
mov eax, dword [esi]
lea edx, [ecx + 8]
cmp edx, dword [eax + 0xc]
ja 0x10017264
mov eax, dword [eax + 8]
mov edi, dword [ecx + eax]
mov eax, dword [ecx + eax + 4]
mov dword [ebp - 0x8ac], edi
mov edi, dword [ebp - 0x890]
mov dword [ebp - 0x8a4], eax
mov dword [esi + 8], edx
jmp 0x1001727c
mov eax, dword [ebp - 0x89c]
mov dword [ebp - 0x8a4], eax
mov eax, dword [ebp - 0x8a0]
mov dword [ebp - 0x8ac], eax
lea eax, [ebp - 0x8b0]
mov ecx, esi
push eax
call fcn.10018cf0
lea eax, [ebp - 0x830]
mov ecx, esi
push eax
call fcn.1001e960
lea eax, [ebp - 0x892]
mov ecx, esi
push eax
call fcn.10018d40
lea eax, [ebp - 0x891]
mov ecx, esi
push eax
call fcn.10018d40
xorps xmm0, xmm0
mov dword [ebp - 0x83c], 0
movups xmmword [ebp - 0x84c], xmm0
mov dword [ebp - 0x838], 0xf
mov byte [ebp - 0x84c], 0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x830]
cmp dword [ebp - 0x81c], 0xf
mov esi, dword [ebp - 0x820]
cmova eax, dword [ebp - 0x830]
mov dword [ebp - 0x8a8], eax
cmp esi, 0xf
ja 0x10017320
push esi
push eax
lea eax, [ebp - 0x84c]
mov dword [ebp - 0x83c], esi
push eax
call sub.VCRUNTIME140.dll_memmove
mov byte [ebp + esi - 0x84c], 0
jmp 0x10017391
cmp esi, 0x7fffffff
ja 0x10017a14
mov eax, esi
or eax, 0xf
cmp eax, 0x7fffffff
jbe 0x1001733f
mov eax, closesocket
jmp 0x10017349
mov ecx, 0x16
cmp eax, ecx
cmovb eax, ecx
lea edx, [ebp - 0x890]
mov dword [ebp - 0x890], eax
call fcn.10004720
mov ecx, dword [ebp - 0x890]
mov esi, eax
mov eax, dword [ebp - 0x820]
push eax
push dword [ebp - 0x8a8]
mov dword [ebp - 0x83c], eax
push esi
mov dword [ebp - 0x838], ecx
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x820]
mov byte [esi + eax], 0
mov dword [ebp - 0x84c], esi
mov eax, dword [ebp - 0x8b0]
add esp, 0xc
mov dword [ebp - 0x834], eax
mov eax, dword [ebp - 0x8ac]
mov dword [ebp - 0x860], eax
mov eax, dword [ebp - 0x8a4]
mov dword [ebp - 0x85c], eax
lea eax, [ebp - 0x860]
push eax
lea eax, [ebp - 0x88c]
push eax
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64_s]
push dword [ebp - 0x88c]
lea eax, [ebp - 0x858]
push dword [ebp - 0x888]
push dword [ebp - 0x884]
push str.__02d:_02d:_02d_
push eax
call fcn.1000b1d0
mov eax, dword [ebp - 0x89c]
add esp, 0x1c
mov dword [ebp - 0x868], eax
lea eax, [ebp - 0x868]
mov byte [ebp - 4], 4
push eax
mov ecx, edi
call fcn.1000fbc0
cmp byte [edi + 0xed], 0
jne 0x100174d1
cmp byte [ebp - 0x891], 0
je 0x100174b8
cmp byte [edi + 0x164], 0
je 0x100174b8
cmp dword [ebp - 0x838], 0xf
lea eax, [ebp - 0x84c]
lea ecx, [edi + 8]
cmova eax, dword [ebp - 0x84c]
cmp dword [ecx + 0x14], 0xf
jbe 0x10017456
mov ecx, dword [ecx]
push eax
mov eax, dword [ebp - 0x834]
and eax, 0xffffff
push eax
push ecx
lea eax, [ebp - 0x818]
push str.__s___06x_s
push eax
call fcn.10018d20
lea ecx, [ebp - 0x818]
add esp, 0x14
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10017481
sub ecx, edx
lea eax, [ebp - 0x818]
push ecx
push eax
lea ecx, [ebp - 0x84c]
call fcn.10003a40
mov ecx, dword [0x1010b25c]
lea edx, [ebp - 0x868]
mov eax, dword [edi + 0x20]
mov dword [ebp - 0x834], eax
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x892], 0
je 0x100174d1
cmp byte [edi + 0x165], 0
je 0x100174d1
mov ecx, edi
call fcn.10018430
lea ecx, [ebp - 0x868]
call fcn.10002ed0
mov eax, dword [ebp - 0x81c]
cmp eax, 0xf
jbe case.0x1001707d.7
mov edx, dword [ebp - 0x830]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x100171df
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100171df
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
xorps xmm0, xmm0
mov dword [ebp - 0x820], 0
movups xmmword [ebp - 0x830], xmm0
mov dword [ebp - 0x81c], 0xf
mov byte [ebp - 0x830], 0
lea eax, [ebp - 0x830]
mov dword [ebp - 4], 5
push eax
mov ecx, esi
call fcn.1001e960
cmp dword [ebp - 0x81c], 0xf
lea eax, [ebp - 0x830]
mov ecx, edi
cmova eax, dword [ebp - 0x830]
push eax
call fcn.10010260
add edi, 8
cmp dword [edi + 0x14], 0xf
jbe 0x1001757d
mov edi, dword [edi]
push edi
lea eax, [ebp - 0x118]
push str.__s__
push eax
call fcn.10010c20
add esp, 0xc
lea eax, [ebp - 0x830]
cmp dword [ebp - 0x81c], 0xf
cmova eax, dword [ebp - 0x830]
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.100103d0
jmp 0x100171a9
lea eax, [ebp - 0x89c]
mov ecx, esi
push eax
call fcn.10018cf0
mov esi, dword [ebp - 0x89c]
mov ecx, edi
push esi
call fcn.10010330
mov ecx, dword [0x1010b25c]
push esi
mov eax, dword [ecx]
call dword [eax + 0x2c]
jmp case.0x1001707d.7
xorps xmm0, xmm0
mov dword [ebp - 0x820], 0
movups xmmword [ebp - 0x830], xmm0
mov dword [ebp - 0x81c], 0xf
mov byte [ebp - 0x830], 0
lea eax, [ebp - 0x89c]
mov dword [ebp - 4], 6
push eax
mov ecx, esi
call fcn.10018cf0
lea eax, [ebp - 0x830]
mov ecx, esi
push eax
call fcn.1001e960
lea eax, [ebp - 0x830]
push eax
lea eax, [ebp - 0x89c]
push eax
lea eax, [ebp - 0x8b4]
lea ecx, [edi + 0xc4]
push eax
call fcn.10018de0
jmp 0x100171a9
lea eax, [ebp - 0x890]
mov ecx, esi
push eax
call fcn.10018cf0
mov edx, dword [ebp - 0x890]
movzx eax, dl
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, dh
xor ecx, eax
movzx eax, byte [ebp - 0x88e]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [ebp - 0x88d]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
lea ecx, [edi + 0xc4]
push eax
mov dword [ebp - 0x89c], eax
lea eax, [ebp - 0x890]
push eax
lea eax, [ebp - 0x8b4]
push eax
call fcn.10018fc0
mov esi, dword [eax + 4]
test esi, esi
je case.0x1001707d.7
mov ecx, dword [edi + 0xdc]
and ecx, dword [ebp - 0x89c]
mov eax, dword [edi + 0xd0]
lea ecx, [eax + ecx*8]
mov eax, dword [ecx]
cmp dword [ecx + 4], esi
jne 0x100176fd
cmp eax, esi
jne 0x100176f5
mov eax, dword [edi + 0xc8]
mov dword [ecx], eax
mov dword [ecx + 4], eax
jmp 0x10017705
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
jmp 0x10017705
cmp eax, esi
jne 0x10017705
mov eax, dword [esi]
mov dword [ecx], eax
mov ecx, dword [esi]
dec dword [edi + 0xcc]
mov eax, dword [esi + 4]
mov dword [eax], ecx
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
mov ecx, dword [esi + 0x20]
cmp ecx, 0xf
jbe 0x1001774c
mov eax, dword [esi + 0xc]
inc ecx
cmp ecx, 0x1000
jb 0x10017742
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100171d9
mov eax, edx
push ecx
push eax
call fcn.100dad65
add esp, 8
push 0x24
push esi
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0xf
mov byte [esi + 0xc], 0
call fcn.100dad65
add esp, 8
jmp case.0x1001707d.7
xorps xmm0, xmm0
mov dword [ebp - 0x820], 0
movups xmmword [ebp - 0x830], xmm0
mov dword [ebp - 0x81c], 0xf
mov byte [ebp - 0x830], 0
lea eax, [ebp - 0x830]
mov dword [ebp - 4], 7
push eax
mov ecx, esi
call fcn.1001e960
cmp dword [edi + 0x5c], 0
je 0x100171a9
cmp dword [edi + 0x74], 0
je 0x100171a9
cmp dword [edi + 0x60], 7
lea eax, [edi + 0x4c]
mov dword [ebp - 0x890], 0
jbe 0x100177d1
mov eax, dword [eax]
push 0
lea ecx, [ebp - 0x890]
push ecx
push 0
push 0x2001f
push 0
push 0
push 0
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x100171a9
cmp dword [ebp - 0x81c], 0xf
lea eax, [ebp - 0x830]
cmova eax, dword [ebp - 0x830]
add edi, 0x64
cmp dword [edi + 0x14], 7
jbe 0x1001781a
mov edi, dword [edi]
push dword [ebp - 0x820]
push eax
push 3
push 0
push edi
push dword [ebp - 0x890]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x890]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x100171a9
lea eax, [edi + 0x24]
mov ecx, esi
push eax
call fcn.10018cf0
jmp case.0x1001707d.7
mov ecx, edi
call fcn.10018430
jmp case.0x1001707d.7
push esi
mov ecx, edi
call fcn.100184d0
jmp case.0x1001707d.7
push esi
mov ecx, edi
call fcn.10018560
jmp case.0x1001707d.7
mov eax, dword [edi + 0xf8]
mov esi, dword [edi + 0xf4]
cmp esi, eax
je 0x100178a5
mov edi, eax
nop dword [eax + eax]
push dword [esi]
call dword [sym.imp.bass.dll_BASS_SampleFree]
add esi, 4
cmp esi, edi
jne 0x10017890
mov edi, dword [ebp - 0x890]
mov eax, dword [edi + 0xf4]
cmp eax, dword [edi + 0xf8]
je case.0x1001707d.7
mov dword [edi + 0xf8], eax
jmp case.0x1001707d.7
lea eax, [edi + 0x7c]
mov ecx, esi
push eax
call fcn.1001e960
jmp case.0x1001707d.7
lea eax, [edi + 0x94]
mov ecx, esi
push eax
call fcn.1001e960
jmp case.0x1001707d.7
mov ecx, edi
call fcn.1000a460
jmp case.0x1001707d.7
lea eax, [ebp - 0x8a8]
mov ecx, esi
push eax
call fcn.10018cf0
lea eax, [ebp - 0x89c]
mov ecx, esi
push eax
call fcn.10018cf0
lea eax, [ebp - 0x8b0]
mov ecx, esi
push eax
call fcn.10018cf0
mov ecx, edi
call fcn.10018610
mov ecx, dword [ebp - 0x89c]
mov edx, dword [ebp - 0x8b0]
mov eax, dword [ebp - 0x8a8]
mov dword [edi + 0x104], eax
mov dword [edi + 0x108], ecx
mov dword [edi + 0x10c], edx
jmp case.0x1001707d.7
mov ecx, edi
call fcn.10018610
jmp case.0x1001707d.7
lea eax, [ebp - 0x89c]
mov ecx, esi
push eax
call fcn.10018cf0
mov esi, dword [ebp - 0x89c]
mov ecx, edi
push esi
call fcn.10018970
push dword [edi + 0x10c]
mov ecx, edi
push dword [edi + 0x108]
push dword [edi + 0x104]
push esi
call fcn.100186d0
jmp case.0x1001707d.7
lea eax, [ebp - 0x89c]
mov ecx, esi
push eax
call fcn.10018cf0
mov ecx, dword [esi]
mov eax, dword [ecx + 0xc]
sub eax, dword [esi + 8]
push eax
mov eax, dword [ecx + 8]
mov ecx, edi
add eax, dword [esi + 8]
push eax
push dword [ebp - 0x89c]
call fcn.10018820
jmp case.0x1001707d.7
lea eax, [ebp - 0x89c]
mov ecx, esi
push eax
call fcn.10018cf0
push dword [ebp - 0x89c]
mov ecx, edi
call fcn.10018970
jmp case.0x1001707d.7
lea eax, [ebp - 0x89c]
mov ecx, esi
push eax
call fcn.10018cf0
push dword [ebp - 0x89c]
mov ecx, edi
call fcn.10017b80
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.100daa0d
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.10002a40
nop dword [eax]
outsb dx, byte [esi]
ja 268532256
adc byte [eax + esi*2 + 0x71ee1001], al
add dword [eax], edx
test byte [eax + 1], dh
adc dh, ch
jno 0x10017a28
adc byte [ebx + 0x78], al
add dword [eax], edx
inc ebx
js 268532268
adc byte [esi*2 + 0x75b81001], bl
add dword [eax], edx
push ebx
sbb al, 0x75
add dword [eax], edx
mov eax, 0x53100175
js 0x10017a38
adc byte [edi + 0x78], bl
add dword [eax], edx
pop edi
js 268532284
adc byte [eax + edi*2 + 1], ch
insb byte es:[edi], dx
js 268532288
adc byte [ecx + 0x78], bh
jns 0x10017aba
add dword [eax], edx
ret 0x178
adc eax, 0x15151515
adc eax, 353703189
adc eax, 353703189
adc eax, 353703189
adc eax, 353703189
adc eax, 353703189
adc eax, 353703189
adc eax, 353703189
adc eax, 353703189
adc eax, 353703189
adc eax, 353703189
adc eax, 353703189
adc eax, 353703189
adc eax, 353703189
adc eax, 353703189
adc eax, 353703189
adc eax, 353703189
adc eax, 353703189
adc eax, 353703189
adc eax, 353703189
adc eax, 353703189
adc eax, 353703189
adc eax, 353703189
adc eax, 353703189
adc eax, 353703189
adc eax, 253039893
adc byte [ecx], dl
adc dl, byte [353703187]
adc eax, 353703189
adc eax, 353703189
adc eax, 353703189
adc eax, 353703189
adc eax, 353703189
adc eax, 353703189
adc eax, 353703189
adc eax, 353703189
adc eax, 353703189
adc eax, -858993644
int3