Function at 0x14006ba70
Capabilities:
Set registry value

Disassembly:
push rsi
push rdi
sub rsp, 0x528
mov rax, qword [0x1400fd0c0]
xor rax, rsp
mov qword [rsp + 0x518], rax
movzx eax, byte [section..data]
test eax, eax
je 0x14006cb4d
mov qword [rsp + 0x510], 0
lea rax, [rsp + 0x58]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x4b0]
lea rcx, [rsp + 0x58]
call fcn.14004af40
mov qword [rsp + 0x50], rax
movzx eax, byte [rsp + 0x68]
mov byte [rsp + 0x69], al
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x4a8], rax
xor eax, eax
imul rax, rax, 2
mov rcx, qword [rsp + 0x4a8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x130], rax
mov rax, qword [rsp + 0x130]
movzx eax, word [rax]
xor rax, 0x39c
mov word [rsp + 0xc0], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x138], rax
mov eax, 1
imul rax, rax, 2
mov rcx, qword [rsp + 0x138]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x140], rax
mov rax, qword [rsp + 0x140]
movzx eax, word [rax]
xor rax, 0x39c
mov word [rsp + 0xc2], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x148], rax
mov eax, 2
imul rax, rax, 2
mov rcx, qword [rsp + 0x148]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x150], rax
mov rax, qword [rsp + 0x150]
movzx eax, word [rax]
xor rax, 0x39c
mov word [rsp + 0xc4], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x158], rax
mov eax, 3
imul rax, rax, 2
mov rcx, qword [rsp + 0x158]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x160], rax
mov rax, qword [rsp + 0x160]
movzx eax, word [rax]
xor rax, 0x39c
mov word [rsp + 0xc6], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x168], rax
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rsp + 0x168]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x170], rax
mov rax, qword [rsp + 0x170]
movzx eax, word [rax]
xor rax, 0x39c
mov word [rsp + 0xc8], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x178], rax
mov eax, 5
imul rax, rax, 2
mov rcx, qword [rsp + 0x178]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x180], rax
mov rax, qword [rsp + 0x180]
movzx eax, word [rax]
xor rax, 0x39c
mov word [rsp + 0xca], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x188], rax
mov eax, 6
imul rax, rax, 2
mov rcx, qword [rsp + 0x188]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x190], rax
mov rax, qword [rsp + 0x190]
movzx eax, word [rax]
xor rax, 0x39c
mov word [rsp + 0xcc], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x4a0], rax
mov eax, 7
imul rax, rax, 2
mov rcx, qword [rsp + 0x4a0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x198], rax
mov rax, qword [rsp + 0x198]
movzx eax, word [rax]
xor rax, 0x39c
mov word [rsp + 0xce], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x1a0], rax
mov eax, 8
imul rax, rax, 2
mov rcx, qword [rsp + 0x1a0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x1a8], rax
mov rax, qword [rsp + 0x1a8]
movzx eax, word [rax]
xor rax, 0x39c
mov word [rsp + 0xd0], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x1b0], rax
mov eax, 9
imul rax, rax, 2
mov rcx, qword [rsp + 0x1b0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x1b8], rax
mov rax, qword [rsp + 0x1b8]
movzx eax, word [rax]
xor rax, 0x39c
mov word [rsp + 0xd2], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x1c0], rax
mov eax, 0xa
imul rax, rax, 2
mov rcx, qword [rsp + 0x1c0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x1c8], rax
mov rax, qword [rsp + 0x1c8]
movzx eax, word [rax]
xor rax, 0x39c
mov word [rsp + 0xd4], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x1d0], rax
mov eax, listen
imul rax, rax, 2
mov rcx, qword [rsp + 0x1d0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x1d8], rax
mov rax, qword [rsp + 0x1d8]
movzx eax, word [rax]
xor rax, 0x39c
mov word [rsp + 0xd6], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x1e0], rax
mov eax, listen
imul rax, rax, 2
mov rcx, qword [rsp + 0x1e0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x1e8], rax
mov rax, qword [rsp + 0x1e8]
movzx eax, word [rax]
xor rax, 0x39c
mov word [rsp + 0xd8], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x1f0], rax
mov eax, reloc.WS2_32.dll_listen
imul rax, rax, 2
mov rcx, qword [rsp + 0x1f0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x1f8], rax
mov rax, qword [rsp + 0x1f8]
movzx eax, word [rax]
xor rax, 0x39c
mov word [rsp + 0xda], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x200], rax
mov eax, reloc.WS2_32.dll_ntohl
imul rax, rax, 2
mov rcx, qword [rsp + 0x200]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x208], rax
mov rax, qword [rsp + 0x208]
movzx eax, word [rax]
xor rax, 0x39c
mov word [rsp + 0xdc], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x210], rax
mov eax, reloc.WS2_32.dll_ntohs
imul rax, rax, 2
mov rcx, qword [rsp + 0x210]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x218], rax
mov rax, qword [rsp + 0x218]
movzx eax, word [rax]
xor rax, 0x39c
mov word [rsp + 0xde], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x220], rax
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 2
mov rcx, qword [rsp + 0x220]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x228], rax
mov rax, qword [rsp + 0x228]
movzx eax, word [rax]
xor rax, 0x39c
mov word [rsp + 0xe0], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x230], rax
mov eax, reloc.WS2_32.dll_recvfrom
imul rax, rax, 2
mov rcx, qword [rsp + 0x230]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x238], rax
mov rax, qword [rsp + 0x238]
movzx eax, word [rax]
xor rax, 0x39c
mov word [rsp + 0xe2], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x240], rax
mov eax, reloc.WS2_32.dll_select
imul rax, rax, 2
mov rcx, qword [rsp + 0x240]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x248], rax
mov rax, qword [rsp + 0x248]
movzx eax, word [rax]
xor rax, 0x39c
mov word [rsp + 0xe4], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x250], rax
mov eax, reloc.WS2_32.dll_send
imul rax, rax, 2
mov rcx, qword [rsp + 0x250]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x258], rax
mov rax, qword [rsp + 0x258]
movzx eax, word [rax]
xor rax, 0x39c
mov word [rsp + 0xe6], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x260], rax
mov eax, reloc.WS2_32.dll_sendto
imul rax, rax, 2
mov rcx, qword [rsp + 0x260]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x268], rax
mov rax, qword [rsp + 0x268]
movzx eax, word [rax]
xor rax, 0x39c
mov word [rsp + 0xe8], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x270], rax
mov eax, reloc.WS2_32.dll_setsockopt
imul rax, rax, 2
mov rcx, qword [rsp + 0x270]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x278], rax
mov rax, qword [rsp + 0x278]
movzx eax, word [rax]
xor rax, 0x39c
mov word [rsp + 0xea], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x280], rax
mov eax, reloc.WLDAP32.dll_Ordinal_22
imul rax, rax, 2
mov rcx, qword [rsp + 0x280]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x288], rax
mov rax, qword [rsp + 0x288]
movzx eax, word [rax]
xor rax, 0x39c
mov word [rsp + 0xec], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x290], rax
mov eax, reloc.WS2_32.dll_socket
imul rax, rax, 2
mov rcx, qword [rsp + 0x290]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x298], rax
mov rax, qword [rsp + 0x298]
movzx eax, word [rax]
xor rax, 0x39c
mov word [rsp + 0xee], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x2a0], rax
mov eax, Ordinal_26
imul rax, rax, 2
mov rcx, qword [rsp + 0x2a0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x2a8], rax
mov rax, qword [rsp + 0x2a8]
movzx eax, word [rax]
xor rax, 0x39c
mov word [rsp + 0xf0], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x2b0], rax
mov eax, Ordinal_26
imul rax, rax, 2
mov rcx, qword [rsp + 0x2b0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x2b8], rax
mov rax, qword [rsp + 0x2b8]
movzx eax, word [rax]
xor rax, 0x39c
mov word [rsp + 0xf2], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x2c0], rax
mov eax, reloc.WLDAP32.dll_Ordinal_26
imul rax, rax, 2
mov rcx, qword [rsp + 0x2c0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x2c8], rax
mov rax, qword [rsp + 0x2c8]
movzx eax, word [rax]
xor rax, 0x39c
mov word [rsp + 0xf4], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x2d0], rax
mov eax, reloc.WLDAP32.dll_Ordinal_27
imul rax, rax, 2
mov rcx, qword [rsp + 0x2d0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x2d8], rax
mov rax, qword [rsp + 0x2d8]
movzx eax, word [rax]
xor rax, 0x39c
mov word [rsp + 0xf6], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x2e0], rax
mov eax, Ordinal_32
imul rax, rax, 2
mov rcx, qword [rsp + 0x2e0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x2e8], rax
mov rax, qword [rsp + 0x2e8]
movzx eax, word [rax]
xor rax, 0x39c
mov word [rsp + 0xf8], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x2f0], rax
mov eax, Ordinal_32
imul rax, rax, 2
mov rcx, qword [rsp + 0x2f0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x2f8], rax
mov rax, qword [rsp + 0x2f8]
movzx eax, word [rax]
xor rax, 0x39c
mov word [rsp + 0xfa], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x300], rax
mov eax, reloc.WLDAP32.dll_Ordinal_30
imul rax, rax, 2
mov rcx, qword [rsp + 0x300]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x308], rax
mov rax, qword [rsp + 0x308]
movzx eax, word [rax]
xor rax, 0x39c
mov word [rsp + 0xfc], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x310], rax
mov eax, Ordinal_32
imul rax, rax, 2
mov rcx, qword [rsp + 0x310]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x318], rax
mov rax, qword [rsp + 0x318]
movzx eax, word [rax]
xor rax, 0x39c
mov word [rsp + 0xfe], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x320], rax
mov eax, reloc.WLDAP32.dll_Ordinal_32
imul rax, rax, 2
mov rcx, qword [rsp + 0x320]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x328], rax
mov rax, qword [rsp + 0x328]
movzx eax, word [rax]
xor rax, 0x39c
mov word [rsp + 0x100], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x330], rax
mov eax, reloc.WLDAP32.dll_Ordinal_33
imul rax, rax, 2
mov rcx, qword [rsp + 0x330]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x338], rax
mov rax, qword [rsp + 0x338]
movzx eax, word [rax]
xor rax, 0x39c
mov word [rsp + 0x102], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x340], rax
mov eax, Ordinal_35
imul rax, rax, 2
mov rcx, qword [rsp + 0x340]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x348], rax
mov rax, qword [rsp + 0x348]
movzx eax, word [rax]
xor rax, 0x39c
mov word [rsp + 0x104], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x350], rax
mov eax, reloc.WLDAP32.dll_Ordinal_35
imul rax, rax, 2
mov rcx, qword [rsp + 0x350]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x358], rax
mov rax, qword [rsp + 0x358]
movzx eax, word [rax]
xor rax, 0x39c
mov word [rsp + 0x106], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x360], rax
mov eax, 0x24
imul rax, rax, 2
mov rcx, qword [rsp + 0x360]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x368], rax
mov rax, qword [rsp + 0x368]
movzx eax, word [rax]
xor rax, 0x39c
mov word [rsp + 0x108], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x370], rax
mov eax, Ordinal_41
imul rax, rax, 2
mov rcx, qword [rsp + 0x370]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x378], rax
mov rax, qword [rsp + 0x378]
movzx eax, word [rax]
xor rax, 0x39c
mov word [rsp + 0x10a], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x380], rax
mov eax, Ordinal_41
imul rax, rax, 2
mov rcx, qword [rsp + 0x380]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x388], rax
mov rax, qword [rsp + 0x388]
movzx eax, word [rax]
xor rax, 0x39c
mov word [rsp + 0x10c], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x390], rax
mov eax, Ordinal_41
imul rax, rax, 2
mov rcx, qword [rsp + 0x390]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x398], rax
mov rax, qword [rsp + 0x398]
movzx eax, word [rax]
xor rax, 0x39c
mov word [rsp + 0x10e], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x3a0], rax
mov eax, Ordinal_41
imul rax, rax, 2
mov rcx, qword [rsp + 0x3a0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x3a8], rax
mov rax, qword [rsp + 0x3a8]
movzx eax, word [rax]
xor rax, 0x39c
mov word [rsp + 0x110], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x3b0], rax
mov eax, reloc.WLDAP32.dll_Ordinal_41
imul rax, rax, 2
mov rcx, qword [rsp + 0x3b0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x3b8], rax
mov rax, qword [rsp + 0x3b8]
movzx eax, word [rax]
xor rax, 0x39c
mov word [rsp + 0x112], ax
lea rax, [rsp + 0xc0]
mov rdi, qword [rsp + 0x50]
mov rsi, rax
mov ecx, 0x54
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x3c0], rax
mov rax, qword [rsp + 0x3c0]
mov qword [rsp + 0x488], rax
lea rax, [rsp + 0x6a]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
mov eax, 0x3ce
mov word [rsp + 0x88], ax
mov eax, 0x3f4
mov word [rsp + 0x8a], ax
mov eax, 0x3f3
mov word [rsp + 0x8c], ax
mov eax, 0x3f4
mov word [rsp + 0x8e], ax
mov eax, 0x3ee
mov word [rsp + 0x90], ax
mov eax, 0x3e9
mov word [rsp + 0x92], ax
mov eax, 0x3f8
mov word [rsp + 0x94], ax
mov eax, 0x3ef
mov word [rsp + 0x96], ax
mov eax, 0x39d
mov word [rsp + 0x98], ax
lea rax, [rsp + 0x88]
mov qword [rsp + 0x60], rax
movzx eax, byte [rsp + 0x6b]
mov byte [rsp + 0x6c], al
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x3c8], rax
xor eax, eax
imul rax, rax, 2
mov rcx, qword [rsp + 0x3c8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x3d0], rax
mov rax, qword [rsp + 0x3d0]
movzx eax, word [rax]
xor rax, 0x39d
mov word [rsp + 0xa0], ax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x3d8], rax
mov eax, 1
imul rax, rax, 2
mov rcx, qword [rsp + 0x3d8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x3e0], rax
mov rax, qword [rsp + 0x3e0]
movzx eax, word [rax]
xor rax, 0x39d
mov word [rsp + 0xa2], ax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x3e8], rax
mov eax, 2
imul rax, rax, 2
mov rcx, qword [rsp + 0x3e8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x3f0], rax
mov rax, qword [rsp + 0x3f0]
movzx eax, word [rax]
xor rax, 0x39d
mov word [rsp + 0xa4], ax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x3f8], rax
mov eax, 3
imul rax, rax, 2
mov rcx, qword [rsp + 0x3f8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x400], rax
mov rax, qword [rsp + 0x400]
movzx eax, word [rax]
xor rax, 0x39d
mov word [rsp + 0xa6], ax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x408], rax
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rsp + 0x408]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x410], rax
mov rax, qword [rsp + 0x410]
movzx eax, word [rax]
xor rax, 0x39d
mov word [rsp + 0xa8], ax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x418], rax
mov eax, 5
imul rax, rax, 2
mov rcx, qword [rsp + 0x418]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x420], rax
mov rax, qword [rsp + 0x420]
movzx eax, word [rax]
xor rax, 0x39d
mov word [rsp + 0xaa], ax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x428], rax
mov eax, 6
imul rax, rax, 2
mov rcx, qword [rsp + 0x428]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x430], rax
mov rax, qword [rsp + 0x430]
movzx eax, word [rax]
xor rax, 0x39d
mov word [rsp + 0xac], ax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x438], rax
mov eax, 7
imul rax, rax, 2
mov rcx, qword [rsp + 0x438]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x440], rax
mov rax, qword [rsp + 0x440]
movzx eax, word [rax]
xor rax, 0x39d
mov word [rsp + 0xae], ax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x448], rax
mov eax, 8
imul rax, rax, 2
mov rcx, qword [rsp + 0x448]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x450], rax
mov rax, qword [rsp + 0x450]
movzx eax, word [rax]
xor rax, 0x39d
mov word [rsp + 0xb0], ax
lea rax, [rsp + 0xa0]
mov rdi, qword [rsp + 0x60]
mov rsi, rax
mov ecx, reloc.WS2_32.dll_select
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x458], rax
mov rax, qword [rsp + 0x458]
mov qword [rsp + 0x490], rax
lea rax, [rsp + 0x6d]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
mov eax, 0x3af
mov word [rsp + 0x70], ax
mov eax, 0x39e
mov word [rsp + 0x72], ax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x80], rax
movzx eax, byte [rsp + 0x6e]
mov byte [rsp + 0x6f], al
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x460], rax
xor eax, eax
imul rax, rax, 2
mov rcx, qword [rsp + 0x460]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x468], rax
mov rax, qword [rsp + 0x468]
movzx eax, word [rax]
xor rax, 0x39e
mov word [rsp + 0x74], ax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x470], rax
mov eax, 1
imul rax, rax, 2
mov rcx, qword [rsp + 0x470]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x478], rax
mov rax, qword [rsp + 0x478]
movzx eax, word [rax]
xor rax, 0x39e
mov word [rsp + 0x76], ax
mov rax, qword [rsp + 0x80]
mov ecx, dword [rsp + 0x74]
mov dword [rax], ecx
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x480], rax
mov rax, qword [rsp + 0x480]
mov qword [rsp + 0x128], rax
mov qword [rsp + 0x40], 0
lea rax, [rsp + 0x510]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x488]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [rsp + 0x78], eax
cmp dword [rsp + 0x78], 0
jne 0x14006cb4d
mov rcx, qword [rsp + 0x128]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
lea rax, [rax + rax + 2]
mov dword [rsp + 0x120], eax
mov rax, qword [rsp + 0x510]
mov qword [rsp + 0x498], rax
mov eax, dword [rsp + 0x120]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rdx, qword [rsp + 0x490]
mov rcx, qword [rsp + 0x498]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rsp + 0x78], eax
mov rcx, qword [rsp + 0x510]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x518]
xor rcx, rsp
call fcn.1400d33d0
add rsp, 0x528
pop rdi
pop rsi
ret