Function at 0x14017e590
Capabilities:
Set registry value

Disassembly:
push rsi
push rdi
sub rsp, 0x5b8
mov rax, qword [0x140280480]
xor rax, rsp
mov qword [rsp + 0x5a8], rax
mov qword [rsp + 0x5a0], 0
lea rax, [rsp + 0x58]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x540]
lea rcx, [rsp + 0x58]
call fcn.14015d9a0
mov qword [rsp + 0x50], rax
movzx eax, byte [rsp + 0xd8]
mov byte [rsp + 0xd9], al
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x528], rax
xor eax, eax
imul rax, rax, 2
mov rcx, qword [rsp + 0x528]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x530], rax
mov rax, qword [rsp + 0x530]
movzx eax, word [rax]
xor rax, 0x26e
mov word [rsp + 0x6e], ax
movzx eax, word [rsp + 0x6e]
mov word [rsp + 0x120], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x190], rax
mov eax, 1
imul rax, rax, 2
mov rcx, qword [rsp + 0x190]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x198], rax
mov rax, qword [rsp + 0x198]
movzx eax, word [rax]
xor rax, 0x26e
mov word [rsp + 0x70], ax
movzx eax, word [rsp + 0x70]
mov word [rsp + 0x122], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x1a0], rax
mov eax, 2
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, 0x26e
mov word [rsp + 0x72], ax
movzx eax, word [rsp + 0x72]
mov word [rsp + 0x124], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x1b0], rax
mov eax, 3
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, 0x26e
mov word [rsp + 0x74], ax
movzx eax, word [rsp + 0x74]
mov word [rsp + 0x126], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x1c0], rax
mov eax, 4
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, 0x26e
mov word [rsp + 0x76], ax
movzx eax, word [rsp + 0x76]
mov word [rsp + 0x128], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x1d0], rax
mov eax, 5
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, 0x26e
mov word [rsp + 0x78], ax
movzx eax, word [rsp + 0x78]
mov word [rsp + 0x12a], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x1e0], rax
mov eax, 6
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, 0x26e
mov word [rsp + 0x7a], ax
movzx eax, word [rsp + 0x7a]
mov word [rsp + 0x12c], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x1f0], rax
mov eax, 7
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, 0x26e
mov word [rsp + 0x7c], ax
movzx eax, word [rsp + 0x7c]
mov word [rsp + 0x12e], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x200], rax
mov eax, 8
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, 0x26e
mov word [rsp + 0x7e], ax
movzx eax, word [rsp + 0x7e]
mov word [rsp + 0x130], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x210], rax
mov eax, 9
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, 0x26e
mov word [rsp + 0x80], ax
movzx eax, word [rsp + 0x80]
mov word [rsp + 0x132], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x220], rax
mov eax, 0xa
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, 0x26e
mov word [rsp + 0x82], ax
movzx eax, word [rsp + 0x82]
mov word [rsp + 0x134], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x230], rax
mov eax, ntohs
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, 0x26e
mov word [rsp + 0x84], ax
movzx eax, word [rsp + 0x84]
mov word [rsp + 0x136], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x240], rax
mov eax, ntohs
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, 0x26e
mov word [rsp + 0x86], ax
movzx eax, word [rsp + 0x86]
mov word [rsp + 0x138], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x250], rax
mov eax, reloc.WS2_32.dll_listen
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, 0x26e
mov word [rsp + 0x88], ax
movzx eax, word [rsp + 0x88]
mov word [rsp + 0x13a], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x260], rax
mov eax, reloc.WS2_32.dll_ntohl
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, 0x26e
mov word [rsp + 0x8a], ax
movzx eax, word [rsp + 0x8a]
mov word [rsp + 0x13c], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x270], rax
mov eax, reloc.WS2_32.dll_ntohs
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, 0x26e
mov word [rsp + 0x8c], ax
movzx eax, word [rsp + 0x8c]
mov word [rsp + 0x13e], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x280], rax
mov eax, reloc.WS2_32.dll_recv
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, 0x26e
mov word [rsp + 0x8e], ax
movzx eax, word [rsp + 0x8e]
mov word [rsp + 0x140], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x290], rax
mov eax, reloc.WS2_32.dll_recvfrom
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, 0x26e
mov word [rsp + 0x90], ax
movzx eax, word [rsp + 0x90]
mov word [rsp + 0x142], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x2a0], rax
mov eax, reloc.WS2_32.dll_select
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, 0x26e
mov word [rsp + 0x92], ax
movzx eax, word [rsp + 0x92]
mov word [rsp + 0x144], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x2b0], rax
mov eax, reloc.WS2_32.dll_send
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, 0x26e
mov word [rsp + 0x94], ax
movzx eax, word [rsp + 0x94]
mov word [rsp + 0x146], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x2c0], rax
mov eax, reloc.WS2_32.dll_sendto
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, 0x26e
mov word [rsp + 0x96], ax
movzx eax, word [rsp + 0x96]
mov word [rsp + 0x148], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x2d0], rax
mov eax, reloc.WS2_32.dll_setsockopt
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, 0x26e
mov word [rsp + 0x98], ax
movzx eax, word [rsp + 0x98]
mov word [rsp + 0x14a], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x2e0], rax
mov eax, reloc.WLDAP32.dll_Ordinal_22
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, 0x26e
mov word [rsp + 0x9a], ax
movzx eax, word [rsp + 0x9a]
mov word [rsp + 0x14c], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x2f0], rax
mov eax, reloc.WS2_32.dll_socket
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, 0x26e
mov word [rsp + 0x9c], ax
movzx eax, word [rsp + 0x9c]
mov word [rsp + 0x14e], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x300], rax
mov eax, Ordinal_26
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, 0x26e
mov word [rsp + 0x9e], ax
movzx eax, word [rsp + 0x9e]
mov word [rsp + 0x150], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x310], rax
mov eax, Ordinal_26
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, 0x26e
mov word [rsp + 0xa0], ax
movzx eax, word [rsp + 0xa0]
mov word [rsp + 0x152], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x320], rax
mov eax, reloc.WLDAP32.dll_Ordinal_26
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, 0x26e
mov word [rsp + 0xa2], ax
movzx eax, word [rsp + 0xa2]
mov word [rsp + 0x154], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x330], rax
mov eax, reloc.WLDAP32.dll_Ordinal_27
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, 0x26e
mov word [rsp + 0xa4], ax
movzx eax, word [rsp + 0xa4]
mov word [rsp + 0x156], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x340], rax
mov eax, Ordinal_30
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, 0x26e
mov word [rsp + 0xa6], ax
movzx eax, word [rsp + 0xa6]
mov word [rsp + 0x158], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x350], rax
mov eax, Ordinal_33
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, 0x26e
mov word [rsp + 0xa8], ax
movzx eax, word [rsp + 0xa8]
mov word [rsp + 0x15a], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x360], rax
mov eax, reloc.WLDAP32.dll_Ordinal_30
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, 0x26e
mov word [rsp + 0xaa], ax
movzx eax, word [rsp + 0xaa]
mov word [rsp + 0x15c], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x370], rax
mov eax, Ordinal_33
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, 0x26e
mov word [rsp + 0xac], ax
movzx eax, word [rsp + 0xac]
mov word [rsp + 0x15e], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x380], rax
mov eax, reloc.WLDAP32.dll_Ordinal_32
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, 0x26e
mov word [rsp + 0xae], ax
movzx eax, word [rsp + 0xae]
mov word [rsp + 0x160], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x390], rax
mov eax, reloc.WLDAP32.dll_Ordinal_33
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, 0x26e
mov word [rsp + 0xb0], ax
movzx eax, word [rsp + 0xb0]
mov word [rsp + 0x162], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x3a0], rax
mov eax, Ordinal_35
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, 0x26e
mov word [rsp + 0xb2], ax
movzx eax, word [rsp + 0xb2]
mov word [rsp + 0x164], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x3b0], rax
mov eax, reloc.WLDAP32.dll_Ordinal_35
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, 0x26e
mov word [rsp + 0xb4], ax
movzx eax, word [rsp + 0xb4]
mov word [rsp + 0x166], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x3c0], rax
mov eax, 0x24
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, 0x26e
mov word [rsp + 0xb6], ax
movzx eax, word [rsp + 0xb6]
mov word [rsp + 0x168], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x3d0], rax
mov eax, Ordinal_41
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, 0x26e
mov word [rsp + 0xb8], ax
movzx eax, word [rsp + 0xb8]
mov word [rsp + 0x16a], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x3e0], rax
mov eax, Ordinal_41
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, 0x26e
mov word [rsp + 0xba], ax
movzx eax, word [rsp + 0xba]
mov word [rsp + 0x16c], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x3f0], rax
mov eax, Ordinal_41
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, 0x26e
mov word [rsp + 0xbc], ax
movzx eax, word [rsp + 0xbc]
mov word [rsp + 0x16e], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x400], rax
mov eax, Ordinal_41
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, 0x26e
mov word [rsp + 0xbe], ax
movzx eax, word [rsp + 0xbe]
mov word [rsp + 0x170], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x410], rax
mov eax, reloc.WLDAP32.dll_Ordinal_41
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, 0x26e
mov word [rsp + 0xc0], ax
movzx eax, word [rsp + 0xc0]
mov word [rsp + 0x172], ax
lea rax, [rsp + 0x120]
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 + 0x420], rax
mov rax, qword [rsp + 0x420]
mov qword [rsp + 0x428], rax
mov rax, qword [rsp + 0x428]
mov qword [rsp + 0x510], rax
lea rax, [rsp + 0x68]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
mov eax, 0x23c
mov word [rsp + 0xf0], ax
mov eax, 0x206
mov word [rsp + 0xf2], ax
mov eax, 0x201
mov word [rsp + 0xf4], ax
mov eax, 0x206
mov word [rsp + 0xf6], ax
mov eax, 0x21c
mov word [rsp + 0xf8], ax
mov eax, 0x21b
mov word [rsp + 0xfa], ax
mov eax, 0x20a
mov word [rsp + 0xfc], ax
mov eax, 0x21d
mov word [rsp + 0xfe], ax
mov eax, 0x26f
mov word [rsp + 0x100], ax
lea rax, [rsp + 0xf0]
mov qword [rsp + 0x430], rax
mov rax, qword [rsp + 0x430]
mov qword [rsp + 0x60], rax
movzx eax, byte [rsp + 0x69]
mov byte [rsp + 0x6a], al
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x438], rax
xor eax, eax
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, 0x26f
mov word [rsp + 0xc2], ax
movzx eax, word [rsp + 0xc2]
mov word [rsp + 0x108], ax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x448], rax
mov eax, 1
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, 0x26f
mov word [rsp + 0xc4], ax
movzx eax, word [rsp + 0xc4]
mov word [rsp + 0x10a], ax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x458], rax
mov eax, 2
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, 0x26f
mov word [rsp + 0xc6], ax
movzx eax, word [rsp + 0xc6]
mov word [rsp + 0x10c], ax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x468], rax
mov eax, 3
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, 0x26f
mov word [rsp + 0xc8], ax
movzx eax, word [rsp + 0xc8]
mov word [rsp + 0x10e], ax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x478], rax
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rsp + 0x478]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x480], rax
mov rax, qword [rsp + 0x480]
movzx eax, word [rax]
xor rax, 0x26f
mov word [rsp + 0xca], ax
movzx eax, word [rsp + 0xca]
mov word [rsp + 0x110], ax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x488], rax
mov eax, 5
imul rax, rax, 2
mov rcx, qword [rsp + 0x488]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x490], rax
mov rax, qword [rsp + 0x490]
movzx eax, word [rax]
xor rax, 0x26f
mov word [rsp + 0xcc], ax
movzx eax, word [rsp + 0xcc]
mov word [rsp + 0x112], ax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x498], rax
mov eax, 6
imul rax, rax, 2
mov rcx, qword [rsp + 0x498]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x4a0], rax
mov rax, qword [rsp + 0x4a0]
movzx eax, word [rax]
xor rax, 0x26f
mov word [rsp + 0xce], ax
movzx eax, word [rsp + 0xce]
mov word [rsp + 0x114], ax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x4a8], rax
mov eax, 7
imul rax, rax, 2
mov rcx, qword [rsp + 0x4a8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x4b0], rax
mov rax, qword [rsp + 0x4b0]
movzx eax, word [rax]
xor rax, 0x26f
mov word [rsp + 0xd0], ax
movzx eax, word [rsp + 0xd0]
mov word [rsp + 0x116], ax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x4b8], rax
mov eax, 8
imul rax, rax, 2
mov rcx, qword [rsp + 0x4b8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x4c0], rax
mov rax, qword [rsp + 0x4c0]
movzx eax, word [rax]
xor rax, 0x26f
mov word [rsp + 0xd2], ax
movzx eax, word [rsp + 0xd2]
mov word [rsp + 0x118], ax
lea rax, [rsp + 0x108]
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 + 0x4c8], rax
mov rax, qword [rsp + 0x4c8]
mov qword [rsp + 0x4d0], rax
mov rax, qword [rsp + 0x4d0]
mov qword [rsp + 0x518], rax
lea rax, [rsp + 0x6b]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
mov eax, 0x241
mov word [rsp + 0xe0], ax
mov eax, 0x270
mov word [rsp + 0xe2], ax
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x4d8], rax
mov rax, qword [rsp + 0x4d8]
mov qword [rsp + 0xe8], rax
movzx eax, byte [rsp + 0x6c]
mov byte [rsp + 0x6d], al
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x4e0], rax
xor eax, eax
imul rax, rax, 2
mov rcx, qword [rsp + 0x4e0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x4e8], rax
mov rax, qword [rsp + 0x4e8]
movzx eax, word [rax]
xor rax, 0x270
mov word [rsp + 0xd4], ax
movzx eax, word [rsp + 0xd4]
mov word [rsp + 0xe4], ax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x4f0], rax
mov eax, 1
imul rax, rax, 2
mov rcx, qword [rsp + 0x4f0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x4f8], rax
mov rax, qword [rsp + 0x4f8]
movzx eax, word [rax]
xor rax, 0x270
mov word [rsp + 0xd6], ax
movzx eax, word [rsp + 0xd6]
mov word [rsp + 0xe6], ax
mov rax, qword [rsp + 0xe8]
mov ecx, dword [rsp + 0xe4]
mov dword [rax], ecx
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x500], rax
mov rax, qword [rsp + 0x500]
mov qword [rsp + 0x508], rax
mov rax, qword [rsp + 0x508]
mov qword [rsp + 0x188], rax
mov qword [rsp + 0x40], 0
lea rax, [rsp + 0x5a0]
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 + 0x510]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [rsp + 0xdc], eax
cmp dword [rsp + 0xdc], 0
jne 0x14017f9ea
mov rcx, qword [rsp + 0x188]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
lea rax, [rax + rax + 2]
mov dword [rsp + 0x180], eax
mov rax, qword [rsp + 0x5a0]
mov qword [rsp + 0x520], rax
mov eax, dword [rsp + 0x180]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x188]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rdx, qword [rsp + 0x518]
mov rcx, qword [rsp + 0x520]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rsp + 0xdc], eax
mov rcx, qword [rsp + 0x5a0]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rcx, qword [rsp + 0x5a8]
xor rcx, rsp
call fcn.140183e40
add rsp, 0x5b8
pop rdi
pop rsi
ret