Function at 0x14015b4e0
Capabilities:
Set registry value

Disassembly:
push rsi
push rdi
sub rsp, 0x468
mov rax, qword [0x14033ee00]
xor rax, rsp
mov qword [rsp + 0x450], rax
mov dword [rsp + 0x8c], 0
lea rax, [rsp + 0x6c]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x1c0]
lea rcx, [0x1402119c8]
mov rdi, rax
mov rsi, rcx
mov ecx, Ordinal_50
rep movsb byte [rdi], byte [rsi]
mov eax, 2
imul rax, rax, 0x17
movzx eax, word [rsp + rax + 0x1c0]
test eax, eax
je 0x14015b553
mov dword [rsp + 0x74], 1
jmp 0x14015b55b
mov dword [rsp + 0x74], 0
movzx eax, byte [rsp + 0x74]
test eax, eax
je 0x14015b5be
mov dword [rsp + 0x58], 0
jmp 0x14015b578
mov eax, dword [rsp + 0x58]
inc eax
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0x18
jge 0x14015b5be
movsxd rax, dword [rsp + 0x58]
movzx eax, word [rsp + rax*2 + 0x1c0]
mov dword [rsp + 0xb0], eax
mov eax, dword [rsp + 0x58]
cdq
mov ecx, Ordinal_60
idiv ecx
mov eax, edx
add eax, 0x32
mov ecx, dword [rsp + 0xb0]
xor ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x58]
mov word [rsp + rcx*2 + 0x1c0], ax
jmp 0x14015b56e
lea rax, [rsp + 0x1c0]
mov qword [rsp + 0xd8], rax
lea rax, [rsp + 0x6d]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0xb8]
lea rcx, [0x1402119f8]
mov rdi, rax
mov rsi, rcx
mov ecx, ntohl
rep movsb byte [rdi], byte [rsi]
mov eax, 2
imul rax, rax, 5
movzx eax, word [rsp + rax + 0xb8]
test eax, eax
je 0x14015b61a
mov dword [rsp + 0x78], 1
jmp 0x14015b622
mov dword [rsp + 0x78], 0
movzx eax, byte [rsp + 0x78]
test eax, eax
je 0x14015b685
mov dword [rsp + 0x5c], 0
jmp 0x14015b63f
mov eax, dword [rsp + 0x5c]
inc eax
mov dword [rsp + 0x5c], eax
cmp dword [rsp + 0x5c], 6
jge 0x14015b685
movsxd rax, dword [rsp + 0x5c]
movzx eax, word [rsp + rax*2 + 0xb8]
mov dword [rsp + 0xb4], eax
mov eax, dword [rsp + 0x5c]
cdq
mov ecx, Ordinal_60
idiv ecx
mov eax, edx
add eax, 0x32
mov ecx, dword [rsp + 0xb4]
xor ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x5c]
mov word [rsp + rcx*2 + 0xb8], ax
jmp 0x14015b635
lea rax, [rsp + 0xb8]
mov qword [rsp + 0xe8], rax
lea rax, [rsp + 0x6e]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x230]
lea rcx, [0x140211a10]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x46
rep movsb byte [rdi], byte [rsi]
mov eax, 2
imul rax, rax, 0x22
movzx eax, word [rsp + rax + 0x230]
test eax, eax
je 0x14015b6e1
mov dword [rsp + 0x7c], 1
jmp 0x14015b6e9
mov dword [rsp + 0x7c], 0
movzx eax, byte [rsp + 0x7c]
test eax, eax
je 0x14015b74c
mov dword [rsp + 0x60], 0
jmp 0x14015b706
mov eax, dword [rsp + 0x60]
inc eax
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0x23
jge 0x14015b74c
movsxd rax, dword [rsp + 0x60]
movzx eax, word [rsp + rax*2 + 0x230]
mov dword [rsp + 0xa0], eax
mov eax, dword [rsp + 0x60]
cdq
mov ecx, Ordinal_60
idiv ecx
mov eax, edx
add eax, 0x32
mov ecx, dword [rsp + 0xa0]
xor ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x60]
mov word [rsp + rcx*2 + 0x230], ax
jmp 0x14015b6fc
lea rax, [rsp + 0x230]
mov qword [rsp + 0xc8], rax
mov qword [rsp + 0x40], 0
lea rax, [rsp + 0x300]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0xd8]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14015b834
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0xe0], rax
mov qword [rsp + 0x90], 0xffffffffffffffff
inc qword [rsp + 0x90]
mov rax, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0x90]
cmp word [rax + rcx*2], 0
jne 0x14015b7ca
mov rax, qword [rsp + 0x90]
lea rax, [rax + rax + 2]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rdx, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0x300]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x300]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [rsp + 0x308]
mov rdi, rax
xor eax, eax
mov ecx, Ordinal_26
rep stosb byte [rdi], al
lea rax, [rsp + 0x6f]
mov qword [rsp + 0xf0], rax
lea rax, [rsp + 0x72]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x190]
lea rcx, [0x140211a58]
mov rdi, rax
mov rsi, rcx
mov ecx, Ordinal_46
rep movsb byte [rdi], byte [rsi]
mov eax, 1
imul rax, rax, 0x2a
movsx eax, byte [rsp + rax + 0x190]
test eax, eax
je 0x14015b8a4
mov dword [rsp + 0x80], 1
jmp 0x14015b8af
mov dword [rsp + 0x80], 0
movzx eax, byte [rsp + 0x80]
test eax, eax
je 0x14015b914
mov dword [rsp + 0x64], 0
jmp 0x14015b8cf
mov eax, dword [rsp + 0x64]
inc eax
mov dword [rsp + 0x64], eax
cmp dword [rsp + 0x64], 0x2b
jge 0x14015b914
movsxd rax, dword [rsp + 0x64]
movsx eax, byte [rsp + rax + 0x190]
mov dword [rsp + 0xa4], eax
mov eax, dword [rsp + 0x64]
cdq
mov ecx, Ordinal_60
idiv ecx
mov eax, edx
add eax, 0x32
mov ecx, dword [rsp + 0xa4]
xor ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x64]
mov byte [rsp + rcx + 0x190], al
jmp 0x14015b8c5
lea rax, [rsp + 0x190]
mov rdx, rax
lea rcx, [rsp + 0x290]
call fcn.140080970
nop
lea rax, [rsp + 0x70]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x1f0]
lea rcx, [0x140211a88]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x3e
rep movsb byte [rdi], byte [rsi]
mov eax, 1
imul rax, rax, 0x3d
movsx eax, byte [rsp + rax + 0x1f0]
test eax, eax
je 0x14015b97c
mov dword [rsp + 0x84], 1
jmp 0x14015b987
mov dword [rsp + 0x84], 0
movzx eax, byte [rsp + 0x84]
test eax, eax
je 0x14015b9ec
mov dword [rsp + 0x54], 0
jmp 0x14015b9a7
mov eax, dword [rsp + 0x54]
inc eax
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0x3e
jge 0x14015b9ec
movsxd rax, dword [rsp + 0x54]
movsx eax, byte [rsp + rax + 0x1f0]
mov dword [rsp + 0xa8], eax
mov eax, dword [rsp + 0x54]
cdq
mov ecx, Ordinal_60
idiv ecx
mov eax, edx
add eax, 0x32
mov ecx, dword [rsp + 0xa8]
xor ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x54]
mov byte [rsp + rcx + 0x1f0], al
jmp 0x14015b99d
lea rax, [rsp + 0x1f0]
mov rdx, rax
lea rcx, [rsp + 0x2b0]
call fcn.140080970
nop
lea rax, [rsp + 0x71]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x160]
lea rcx, [0x140211ac8]
mov rdi, rax
mov rsi, rcx
mov ecx, Ordinal_46
rep movsb byte [rdi], byte [rsi]
mov eax, 1
imul rax, rax, 0x29
movsx eax, byte [rsp + rax + 0x160]
test eax, eax
je 0x14015ba54
mov dword [rsp + 0x88], 1
jmp 0x14015ba5f
mov dword [rsp + 0x88], 0
movzx eax, byte [rsp + 0x88]
test eax, eax
je 0x14015bac4
mov dword [rsp + 0x68], 0
jmp 0x14015ba7f
mov eax, dword [rsp + 0x68]
inc eax
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x68], 0x2a
jge 0x14015bac4
movsxd rax, dword [rsp + 0x68]
movsx eax, byte [rsp + rax + 0x160]
mov dword [rsp + 0xac], eax
mov eax, dword [rsp + 0x68]
cdq
mov ecx, Ordinal_60
idiv ecx
mov eax, edx
add eax, 0x32
mov ecx, dword [rsp + 0xac]
xor ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x68]
mov byte [rsp + rcx + 0x160], al
jmp 0x14015ba75
lea rax, [rsp + 0x160]
mov rdx, rax
lea rcx, [rsp + 0x2d0]
call fcn.140080970
nop
lea rax, [rsp + 0x290]
mov qword [rsp + 0x108], rax
lea rax, [rsp + 0x2f0]
mov qword [rsp + 0x110], rax
lea rax, [rsp + 0x118]
lea rcx, [rsp + 0x108]
mov rdi, rax
mov rsi, rcx
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x130]
lea rcx, [rsp + 0x118]
mov rdi, rax
mov rsi, rcx
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov r8, qword [rsp + 0xf0]
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x308]
call fcn.14015b070
nop
lea r9, [fcn.1400808a0]
mov r8d, 3
mov edx, reloc.WLDAP32.dll_Ordinal_32
lea rcx, [rsp + 0x290]
call fcn.1401df9a4
lea rax, [rsp + 0x308]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax + 8]
mov qword [rsp + 0xf8], rax
jmp 0x14015bbc1
mov rax, qword [rsp + 0x98]
add rax, 0x20
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0xf8]
cmp qword [rsp + 0x98], rax
je 0x14015bcf6
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x100], rax
lea rdx, [rsp + 0x280]
mov rcx, qword [rsp + 0x100]
call fcn.14015b430
lea rcx, [rsp + 0x140]
mov rdi, rcx
mov rsi, rax
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
movaps xmm0, xmmword [rsp + 0x140]
movdqa xmmword [rsp + 0x150], xmm0
lea rdx, [rsp + 0x150]
lea rcx, [rsp + 0x320]
call fcn.14015a450
mov eax, dword [rsp + 0x8c]
or eax, 1
mov dword [rsp + 0x8c], eax
lea rax, [rsp + 0x340]
mov rdi, rax
xor eax, eax
mov ecx, 0x108
rep stosb byte [rdi], al
mov dword [rsp + 0x20], 1
mov r9d, 0x40
mov r8d, 2
lea rdx, [rsp + 0x320]
lea rcx, [rsp + 0x340]
call fcn.14007ff80
nop
cmp qword [rsp + 0x3c8], 0
je 0x14015bc98
mov byte [rsp + 0x50], 1
jmp 0x14015bc9d
mov byte [rsp + 0x50], 0
movzx eax, byte [rsp + 0x50]
mov byte [rsp + 0x51], al
movzx eax, byte [rsp + 0x51]
mov byte [rsp + 0x52], al
movzx eax, byte [rsp + 0x52]
lea rcx, [rsp + 0x340]
call fcn.14007fe90
nop
lea rax, [rsp + 0x3e8]
mov rcx, rax
call fcn.14007fef0
lea rax, [rsp + 0x3e8]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x320]
call fcn.140081e70
jmp 0x14015bbad
lea rcx, [rsp + 0x308]
call fcn.1400de944
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.1401e0060
add rsp, 0x468
pop rdi
pop rsi
ret