Function at 0x1400b9cf0
Capabilities:
Set registry value

Disassembly:
push rsi
push rdi
sub rsp, 0x528
mov rax, qword [0x1401560c0]
xor rax, rsp
mov qword [rsp + 0x518], rax
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.1400bae00
mov qword [rsp + 0x50], rax
movzx eax, byte [rsp + 0x68]
mov byte [rsp + 0x69], al
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x4a0], rax
xor eax, eax
imul rax, rax, 2
mov rcx, qword [rsp + 0x4a0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x128]
movzx eax, word [rax]
xor rax, 0x251
mov word [rsp + 0xc0], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x130], rax
mov eax, 1
imul rax, rax, 2
mov rcx, qword [rsp + 0x130]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x138]
movzx eax, word [rax]
xor rax, 0x251
mov word [rsp + 0xc2], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x140], rax
mov eax, 2
imul rax, rax, 2
mov rcx, qword [rsp + 0x140]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x148], rax
mov rax, qword [rsp + 0x148]
movzx eax, word [rax]
xor rax, 0x251
mov word [rsp + 0xc4], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x150], rax
mov eax, 3
imul rax, rax, 2
mov rcx, qword [rsp + 0x150]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x158], rax
mov rax, qword [rsp + 0x158]
movzx eax, word [rax]
xor rax, 0x251
mov word [rsp + 0xc6], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x160], rax
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rsp + 0x160]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x168], rax
mov rax, qword [rsp + 0x168]
movzx eax, word [rax]
xor rax, 0x251
mov word [rsp + 0xc8], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x170], rax
mov eax, 5
imul rax, rax, 2
mov rcx, qword [rsp + 0x170]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x178], rax
mov rax, qword [rsp + 0x178]
movzx eax, word [rax]
xor rax, 0x251
mov word [rsp + 0xca], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x180], rax
mov eax, 6
imul rax, rax, 2
mov rcx, qword [rsp + 0x180]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x188], rax
mov rax, qword [rsp + 0x188]
movzx eax, word [rax]
xor rax, 0x251
mov word [rsp + 0xcc], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x498], rax
mov eax, 7
imul rax, rax, 2
mov rcx, qword [rsp + 0x498]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x190], rax
mov rax, qword [rsp + 0x190]
movzx eax, word [rax]
xor rax, 0x251
mov word [rsp + 0xce], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x198], rax
mov eax, 8
imul rax, rax, 2
mov rcx, qword [rsp + 0x198]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x1a0], rax
mov rax, qword [rsp + 0x1a0]
movzx eax, word [rax]
xor rax, 0x251
mov word [rsp + 0xd0], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x1a8], rax
mov eax, 9
imul rax, rax, 2
mov rcx, qword [rsp + 0x1a8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x1b0], rax
mov rax, qword [rsp + 0x1b0]
movzx eax, word [rax]
xor rax, 0x251
mov word [rsp + 0xd2], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x1b8], rax
mov eax, 0xa
imul rax, rax, 2
mov rcx, qword [rsp + 0x1b8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x1c0], rax
mov rax, qword [rsp + 0x1c0]
movzx eax, word [rax]
xor rax, 0x251
mov word [rsp + 0xd4], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x1c8], rax
mov eax, ntohl
imul rax, rax, 2
mov rcx, qword [rsp + 0x1c8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x1d0], rax
mov rax, qword [rsp + 0x1d0]
movzx eax, word [rax]
xor rax, 0x251
mov word [rsp + 0xd6], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x1d8], rax
mov eax, ntohl
imul rax, rax, 2
mov rcx, qword [rsp + 0x1d8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x1e0], rax
mov rax, qword [rsp + 0x1e0]
movzx eax, word [rax]
xor rax, 0x251
mov word [rsp + 0xd8], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x1e8], rax
mov eax, reloc.WS2_32.dll_listen
imul rax, rax, 2
mov rcx, qword [rsp + 0x1e8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x1f0], rax
mov rax, qword [rsp + 0x1f0]
movzx eax, word [rax]
xor rax, 0x251
mov word [rsp + 0xda], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x1f8], rax
mov eax, reloc.WS2_32.dll_ntohl
imul rax, rax, 2
mov rcx, qword [rsp + 0x1f8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x200], rax
mov rax, qword [rsp + 0x200]
movzx eax, word [rax]
xor rax, 0x251
mov word [rsp + 0xdc], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x208], rax
mov eax, reloc.WS2_32.dll_ntohs
imul rax, rax, 2
mov rcx, qword [rsp + 0x208]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x210], rax
mov rax, qword [rsp + 0x210]
movzx eax, word [rax]
xor rax, 0x251
mov word [rsp + 0xde], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x218], rax
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 2
mov rcx, qword [rsp + 0x218]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x220], rax
mov rax, qword [rsp + 0x220]
movzx eax, word [rax]
xor rax, 0x251
mov word [rsp + 0xe0], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x228], rax
mov eax, reloc.WS2_32.dll_recvfrom
imul rax, rax, 2
mov rcx, qword [rsp + 0x228]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x230], rax
mov rax, qword [rsp + 0x230]
movzx eax, word [rax]
xor rax, 0x251
mov word [rsp + 0xe2], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x238], rax
mov eax, reloc.WS2_32.dll_select
imul rax, rax, 2
mov rcx, qword [rsp + 0x238]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x240], rax
mov rax, qword [rsp + 0x240]
movzx eax, word [rax]
xor rax, 0x251
mov word [rsp + 0xe4], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x248], rax
mov eax, reloc.WS2_32.dll_send
imul rax, rax, 2
mov rcx, qword [rsp + 0x248]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x250], rax
mov rax, qword [rsp + 0x250]
movzx eax, word [rax]
xor rax, 0x251
mov word [rsp + 0xe6], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x258], rax
mov eax, reloc.WS2_32.dll_sendto
imul rax, rax, 2
mov rcx, qword [rsp + 0x258]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x260], rax
mov rax, qword [rsp + 0x260]
movzx eax, word [rax]
xor rax, 0x251
mov word [rsp + 0xe8], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x268], rax
mov eax, reloc.WS2_32.dll_setsockopt
imul rax, rax, 2
mov rcx, qword [rsp + 0x268]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x270], rax
mov rax, qword [rsp + 0x270]
movzx eax, word [rax]
xor rax, 0x251
mov word [rsp + 0xea], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x278], rax
mov eax, reloc.WLDAP32.dll_Ordinal_22
imul rax, rax, 2
mov rcx, qword [rsp + 0x278]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x280], rax
mov rax, qword [rsp + 0x280]
movzx eax, word [rax]
xor rax, 0x251
mov word [rsp + 0xec], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x288], rax
mov eax, reloc.WS2_32.dll_socket
imul rax, rax, 2
mov rcx, qword [rsp + 0x288]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x290], rax
mov rax, qword [rsp + 0x290]
movzx eax, word [rax]
xor rax, 0x251
mov word [rsp + 0xee], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x298], rax
mov eax, Ordinal_27
imul rax, rax, 2
mov rcx, qword [rsp + 0x298]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x2a0], rax
mov rax, qword [rsp + 0x2a0]
movzx eax, word [rax]
xor rax, 0x251
mov word [rsp + 0xf0], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x2a8], rax
mov eax, Ordinal_27
imul rax, rax, 2
mov rcx, qword [rsp + 0x2a8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x2b0], rax
mov rax, qword [rsp + 0x2b0]
movzx eax, word [rax]
xor rax, 0x251
mov word [rsp + 0xf2], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x2b8], rax
mov eax, reloc.WLDAP32.dll_Ordinal_26
imul rax, rax, 2
mov rcx, qword [rsp + 0x2b8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x2c0], rax
mov rax, qword [rsp + 0x2c0]
movzx eax, word [rax]
xor rax, 0x251
mov word [rsp + 0xf4], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x2c8], rax
mov eax, reloc.WLDAP32.dll_Ordinal_27
imul rax, rax, 2
mov rcx, qword [rsp + 0x2c8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x2d0], rax
mov rax, qword [rsp + 0x2d0]
movzx eax, word [rax]
xor rax, 0x251
mov word [rsp + 0xf6], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x2d8], rax
mov eax, Ordinal_32
imul rax, rax, 2
mov rcx, qword [rsp + 0x2d8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x2e0], rax
mov rax, qword [rsp + 0x2e0]
movzx eax, word [rax]
xor rax, 0x251
mov word [rsp + 0xf8], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x2e8], rax
mov eax, Ordinal_32
imul rax, rax, 2
mov rcx, qword [rsp + 0x2e8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x2f0], rax
mov rax, qword [rsp + 0x2f0]
movzx eax, word [rax]
xor rax, 0x251
mov word [rsp + 0xfa], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x2f8], rax
mov eax, reloc.WLDAP32.dll_Ordinal_30
imul rax, rax, 2
mov rcx, qword [rsp + 0x2f8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x300], rax
mov rax, qword [rsp + 0x300]
movzx eax, word [rax]
xor rax, 0x251
mov word [rsp + 0xfc], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x308], rax
mov eax, Ordinal_35
imul rax, rax, 2
mov rcx, qword [rsp + 0x308]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x310], rax
mov rax, qword [rsp + 0x310]
movzx eax, word [rax]
xor rax, 0x251
mov word [rsp + 0xfe], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x318], rax
mov eax, reloc.WLDAP32.dll_Ordinal_32
imul rax, rax, 2
mov rcx, qword [rsp + 0x318]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x320], rax
mov rax, qword [rsp + 0x320]
movzx eax, word [rax]
xor rax, 0x251
mov word [rsp + 0x100], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x328], rax
mov eax, reloc.WLDAP32.dll_Ordinal_33
imul rax, rax, 2
mov rcx, qword [rsp + 0x328]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x330], rax
mov rax, qword [rsp + 0x330]
movzx eax, word [rax]
xor rax, 0x251
mov word [rsp + 0x102], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x338], rax
mov eax, Ordinal_35
imul rax, rax, 2
mov rcx, qword [rsp + 0x338]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x340], rax
mov rax, qword [rsp + 0x340]
movzx eax, word [rax]
xor rax, 0x251
mov word [rsp + 0x104], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x348], rax
mov eax, reloc.WLDAP32.dll_Ordinal_35
imul rax, rax, 2
mov rcx, qword [rsp + 0x348]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x350], rax
mov rax, qword [rsp + 0x350]
movzx eax, word [rax]
xor rax, 0x251
mov word [rsp + 0x106], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x358], rax
mov eax, 0x24
imul rax, rax, 2
mov rcx, qword [rsp + 0x358]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x360], rax
mov rax, qword [rsp + 0x360]
movzx eax, word [rax]
xor rax, 0x251
mov word [rsp + 0x108], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x368], rax
mov eax, Ordinal_41
imul rax, rax, 2
mov rcx, qword [rsp + 0x368]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x370], rax
mov rax, qword [rsp + 0x370]
movzx eax, word [rax]
xor rax, 0x251
mov word [rsp + 0x10a], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x378], rax
mov eax, Ordinal_41
imul rax, rax, 2
mov rcx, qword [rsp + 0x378]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x380], rax
mov rax, qword [rsp + 0x380]
movzx eax, word [rax]
xor rax, 0x251
mov word [rsp + 0x10c], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x388], rax
mov eax, Ordinal_41
imul rax, rax, 2
mov rcx, qword [rsp + 0x388]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x390], rax
mov rax, qword [rsp + 0x390]
movzx eax, word [rax]
xor rax, 0x251
mov word [rsp + 0x10e], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x398], rax
mov eax, Ordinal_41
imul rax, rax, 2
mov rcx, qword [rsp + 0x398]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x3a0], rax
mov rax, qword [rsp + 0x3a0]
movzx eax, word [rax]
xor rax, 0x251
mov word [rsp + 0x110], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x3a8], rax
mov eax, reloc.WLDAP32.dll_Ordinal_41
imul rax, rax, 2
mov rcx, qword [rsp + 0x3a8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x3b0], rax
mov rax, qword [rsp + 0x3b0]
movzx eax, word [rax]
xor rax, 0x251
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 + 0x3b8], rax
mov rax, qword [rsp + 0x3b8]
mov qword [rsp + 0x480], rax
lea rax, [rsp + 0x6a]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
mov eax, 0x201
mov word [rsp + 0x90], ax
mov eax, 0x23b
mov word [rsp + 0x92], ax
mov eax, 0x23c
mov word [rsp + 0x94], ax
mov eax, 0x23b
mov word [rsp + 0x96], ax
mov eax, 0x221
mov word [rsp + 0x98], ax
mov eax, 0x226
mov word [rsp + 0x9a], ax
mov eax, 0x237
mov word [rsp + 0x9c], ax
mov eax, 0x220
mov word [rsp + 0x9e], ax
mov eax, 0x252
mov word [rsp + 0xa0], ax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x60], rax
movzx eax, byte [rsp + 0x6b]
mov byte [rsp + 0x6c], al
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x3c0], rax
xor eax, eax
imul rax, rax, 2
mov rcx, qword [rsp + 0x3c0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x3c8], rax
mov rax, qword [rsp + 0x3c8]
movzx eax, word [rax]
xor rax, 0x252
mov word [rsp + 0xa8], ax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x3d0], rax
mov eax, 1
imul rax, rax, 2
mov rcx, qword [rsp + 0x3d0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x3d8], rax
mov rax, qword [rsp + 0x3d8]
movzx eax, word [rax]
xor rax, 0x252
mov word [rsp + 0xaa], ax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x3e0], rax
mov eax, 2
imul rax, rax, 2
mov rcx, qword [rsp + 0x3e0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x3e8], rax
mov rax, qword [rsp + 0x3e8]
movzx eax, word [rax]
xor rax, 0x252
mov word [rsp + 0xac], ax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x3f0], rax
mov eax, 3
imul rax, rax, 2
mov rcx, qword [rsp + 0x3f0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x3f8], rax
mov rax, qword [rsp + 0x3f8]
movzx eax, word [rax]
xor rax, 0x252
mov word [rsp + 0xae], ax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x400], rax
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rsp + 0x400]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x408], rax
mov rax, qword [rsp + 0x408]
movzx eax, word [rax]
xor rax, 0x252
mov word [rsp + 0xb0], ax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x410], rax
mov eax, 5
imul rax, rax, 2
mov rcx, qword [rsp + 0x410]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x418], rax
mov rax, qword [rsp + 0x418]
movzx eax, word [rax]
xor rax, 0x252
mov word [rsp + 0xb2], ax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x420], rax
mov eax, 6
imul rax, rax, 2
mov rcx, qword [rsp + 0x420]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x428], rax
mov rax, qword [rsp + 0x428]
movzx eax, word [rax]
xor rax, 0x252
mov word [rsp + 0xb4], ax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x430], rax
mov eax, 7
imul rax, rax, 2
mov rcx, qword [rsp + 0x430]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x438], rax
mov rax, qword [rsp + 0x438]
movzx eax, word [rax]
xor rax, 0x252
mov word [rsp + 0xb6], ax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x440], rax
mov eax, 8
imul rax, rax, 2
mov rcx, qword [rsp + 0x440]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x448], rax
mov rax, qword [rsp + 0x448]
movzx eax, word [rax]
xor rax, 0x252
mov word [rsp + 0xb8], ax
lea rax, [rsp + 0xa8]
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 + 0x450], rax
mov rax, qword [rsp + 0x450]
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, 0x262
mov word [rsp + 0x70], ax
mov eax, 0x253
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 + 0x458], rax
xor eax, eax
imul rax, rax, 2
mov rcx, qword [rsp + 0x458]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x460], rax
mov rax, qword [rsp + 0x460]
movzx eax, word [rax]
xor rax, 0x253
mov word [rsp + 0x74], ax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x468], rax
mov eax, 1
imul rax, rax, 2
mov rcx, qword [rsp + 0x468]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x470], rax
mov rax, qword [rsp + 0x470]
movzx eax, word [rax]
xor rax, 0x253
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 + 0x478], rax
mov rax, qword [rsp + 0x478]
mov qword [rsp + 0x120], 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 + 0x480]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [rsp + 0x78], eax
cmp dword [rsp + 0x78], 0
jne 0x1400badd9
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x488], rax
mov qword [rsp + 0x88], 0xffffffffffffffff
inc qword [rsp + 0x88]
mov rax, qword [rsp + 0x488]
mov rcx, qword [rsp + 0x88]
cmp word [rax + rcx*2], 0
jne 0x1400bad6b
mov rax, qword [rsp + 0x88]
lea rax, [rax + rax + 2]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rdx, qword [rsp + 0x490]
mov rcx, qword [rsp + 0x510]
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.140126100
add rsp, 0x528
pop rdi
pop rsi
ret