Function at 0x1400fe4d0
Capabilities:
Set registry value

Disassembly:
push rsi
push rdi
sub rsp, 0x4b8
mov rax, qword [0x140182840]
xor rax, rsp
mov qword [rsp + 0x4a8], rax
mov qword [rsp + 0x4a0], 0
lea rax, [rsp + 0x58]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x440]
lea rcx, [rsp + 0x58]
call fcn.1400ed630
mov qword [rsp + 0x50], rax
movzx eax, byte [rsp + 0x59]
mov byte [rsp + 0x5a], al
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x110], rax
xor eax, eax
imul rax, rax, 2
mov rcx, qword [rsp + 0x110]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x118], rax
mov rax, qword [rsp + 0x118]
movzx eax, word [rax]
xor rax, 0x26c
mov word [rsp + 0xa0], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x120], rax
mov eax, 1
imul rax, rax, 2
mov rcx, qword [rsp + 0x120]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x128]
movzx eax, word [rax]
xor rax, 0x26c
mov word [rsp + 0xa2], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x130], rax
mov eax, 2
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, 0x26c
mov word [rsp + 0xa4], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x140], rax
mov eax, 3
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, 0x26c
mov word [rsp + 0xa6], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x150], rax
mov eax, 4
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, 0x26c
mov word [rsp + 0xa8], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x160], rax
mov eax, 5
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, 0x26c
mov word [rsp + 0xaa], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x170], rax
mov eax, 6
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, 0x26c
mov word [rsp + 0xac], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x180], rax
mov eax, 7
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, 0x26c
mov word [rsp + 0xae], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x190], rax
mov eax, 8
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, 0x26c
mov word [rsp + 0xb0], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x1a0], rax
mov eax, 9
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, 0x26c
mov word [rsp + 0xb2], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x1b0], rax
mov eax, 0xa
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, 0x26c
mov word [rsp + 0xb4], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x1c0], rax
mov eax, ntohl
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, 0x26c
mov word [rsp + 0xb6], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x1d0], rax
mov eax, recv
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, 0x26c
mov word [rsp + 0xb8], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x1e0], rax
mov eax, reloc.WS2_32.dll_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, 0x26c
mov word [rsp + 0xba], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x1f0], rax
mov eax, reloc.WS2_32.dll_ntohl
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, 0x26c
mov word [rsp + 0xbc], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x200], rax
mov eax, reloc.WS2_32.dll_ntohs
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, 0x26c
mov word [rsp + 0xbe], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x210], rax
mov eax, reloc.WS2_32.dll_recv
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, 0x26c
mov word [rsp + 0xc0], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x220], rax
mov eax, reloc.WS2_32.dll_recvfrom
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, 0x26c
mov word [rsp + 0xc2], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x230], rax
mov eax, reloc.WS2_32.dll_select
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, 0x26c
mov word [rsp + 0xc4], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x240], rax
mov eax, reloc.WS2_32.dll_send
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, 0x26c
mov word [rsp + 0xc6], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x250], rax
mov eax, reloc.WS2_32.dll_sendto
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, 0x26c
mov word [rsp + 0xc8], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x260], rax
mov eax, reloc.WS2_32.dll_setsockopt
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, 0x26c
mov word [rsp + 0xca], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x270], rax
mov eax, reloc.WLDAP32.dll_Ordinal_22
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, 0x26c
mov word [rsp + 0xcc], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x280], rax
mov eax, reloc.WS2_32.dll_socket
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, 0x26c
mov word [rsp + 0xce], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x290], rax
mov eax, Ordinal_27
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, 0x26c
mov word [rsp + 0xd0], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x2a0], rax
mov eax, Ordinal_27
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, 0x26c
mov word [rsp + 0xd2], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x2b0], rax
mov eax, reloc.WLDAP32.dll_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, 0x26c
mov word [rsp + 0xd4], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x2c0], rax
mov eax, reloc.WLDAP32.dll_Ordinal_27
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, 0x26c
mov word [rsp + 0xd6], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x2d0], rax
mov eax, Ordinal_32
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, 0x26c
mov word [rsp + 0xd8], 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, 0x26c
mov word [rsp + 0xda], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x2f0], rax
mov eax, reloc.WLDAP32.dll_Ordinal_30
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, 0x26c
mov word [rsp + 0xdc], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x300], rax
mov eax, Ordinal_32
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, 0x26c
mov word [rsp + 0xde], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x310], rax
mov eax, reloc.WLDAP32.dll_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, 0x26c
mov word [rsp + 0xe0], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x320], rax
mov eax, reloc.WLDAP32.dll_Ordinal_33
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, 0x26c
mov word [rsp + 0xe2], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x330], rax
mov eax, Ordinal_35
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, 0x26c
mov word [rsp + 0xe4], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x340], rax
mov eax, reloc.WLDAP32.dll_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, 0x26c
mov word [rsp + 0xe6], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x350], rax
mov eax, 0x24
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, 0x26c
mov word [rsp + 0xe8], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x360], rax
mov eax, Ordinal_41
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, 0x26c
mov word [rsp + 0xea], 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, 0x26c
mov word [rsp + 0xec], 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, 0x26c
mov word [rsp + 0xee], 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, 0x26c
mov word [rsp + 0xf0], ax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x3a0], rax
mov eax, reloc.WLDAP32.dll_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, 0x26c
mov word [rsp + 0xf2], ax
lea rax, [rsp + 0xa0]
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 + 0x3b0], rax
mov rax, qword [rsp + 0x3b0]
mov qword [rsp + 0x428], rax
lea rax, [rsp + 0x5b]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
mov eax, 0x222
mov word [rsp + 0x80], ax
mov eax, 0x23a
mov word [rsp + 0x82], ax
mov eax, 0x223
mov word [rsp + 0x84], ax
mov eax, 0x26d
mov word [rsp + 0x86], ax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x68], rax
movzx eax, byte [rsp + 0x5c]
mov byte [rsp + 0x5d], al
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x3b8], rax
xor eax, eax
imul rax, rax, 2
mov rcx, qword [rsp + 0x3b8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x3c0], rax
mov rax, qword [rsp + 0x3c0]
movzx eax, word [rax]
xor rax, 0x26d
mov word [rsp + 0x88], ax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x3c8], rax
mov eax, 1
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, 0x26d
mov word [rsp + 0x8a], ax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x3d8], rax
mov eax, 2
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, 0x26d
mov word [rsp + 0x8c], ax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x3e8], rax
mov eax, 3
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, 0x26d
mov word [rsp + 0x8e], ax
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x88]
mov qword [rax], rcx
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x3f8], rax
mov rax, qword [rsp + 0x3f8]
mov qword [rsp + 0x430], rax
lea rax, [rsp + 0x5e]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
mov eax, 0x25f
mov word [rsp + 0x70], ax
mov eax, 0x26e
mov word [rsp + 0x72], ax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x90], rax
movzx eax, byte [rsp + 0x5f]
mov byte [rsp + 0x60], al
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x400], rax
xor eax, eax
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 + 0x74], ax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x410], rax
mov eax, 1
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 + 0x76], ax
mov rax, qword [rsp + 0x90]
mov ecx, dword [rsp + 0x74]
mov dword [rax], ecx
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x420], rax
mov rax, qword [rsp + 0x420]
mov qword [rsp + 0x108], rax
mov qword [rsp + 0x40], 0
lea rax, [rsp + 0x4a0]
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 + 0x428]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [rsp + 0x78], eax
cmp dword [rsp + 0x78], 0
jne 0x1400ff3fd
mov rcx, qword [rsp + 0x108]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
lea rax, [rax + rax + 2]
mov dword [rsp + 0x100], eax
mov rax, qword [rsp + 0x4a0]
mov qword [rsp + 0x438], rax
mov eax, dword [rsp + 0x100]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rdx, qword [rsp + 0x430]
mov rcx, qword [rsp + 0x438]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rsp + 0x78], eax
mov rcx, qword [rsp + 0x4a0]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x4a8]
xor rcx, rsp
call fcn.140102190
add rsp, 0x4b8
pop rdi
pop rsi
ret