Function at 0x1400f49c0
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
push rdi
sub rsp, 0x688
mov rax, qword [0x140182840]
xor rax, rsp
mov qword [rsp + 0x670], rax
mov qword [rsp + 0x460], 0
lea rax, [rsp + 0x38]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x400]
lea rcx, [rsp + 0x38]
call fcn.1400ed3d0
mov qword [rsp + 0x30], rax
movzx eax, byte [rsp + 0x39]
mov byte [rsp + 0x3a], al
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0xe8], rax
xor eax, eax
imul rax, rax, 2
mov rcx, qword [rsp + 0xe8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0xf0]
movzx eax, word [rax]
xor rax, 0x290
mov word [rsp + 0x70], ax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0xf8], rax
mov eax, 1
imul rax, rax, 2
mov rcx, qword [rsp + 0xf8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x100]
movzx eax, word [rax]
xor rax, 0x290
mov word [rsp + 0x72], ax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x108], rax
mov eax, 2
imul rax, rax, 2
mov rcx, qword [rsp + 0x108]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x110]
movzx eax, word [rax]
xor rax, 0x290
mov word [rsp + 0x74], ax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x118], rax
mov eax, 3
imul rax, rax, 2
mov rcx, qword [rsp + 0x118]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0x120]
movzx eax, word [rax]
xor rax, 0x290
mov word [rsp + 0x76], ax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x128], rax
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rsp + 0x128]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x130], rax
mov rax, qword [rsp + 0x130]
movzx eax, word [rax]
xor rax, 0x290
mov word [rsp + 0x78], ax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x138], rax
mov eax, 5
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, 0x290
mov word [rsp + 0x7a], ax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x148], rax
mov eax, 6
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, 0x290
mov word [rsp + 0x7c], ax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x158], rax
mov eax, 7
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, 0x290
mov word [rsp + 0x7e], ax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x168], rax
mov eax, 8
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, 0x290
mov word [rsp + 0x80], ax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x178], rax
mov eax, 9
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, 0x290
mov word [rsp + 0x82], ax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x188], rax
mov eax, 0xa
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, 0x290
mov word [rsp + 0x84], ax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x198], rax
mov eax, ntohl
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, 0x290
mov word [rsp + 0x86], ax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x1a8], rax
mov eax, recv
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, 0x290
mov word [rsp + 0x88], ax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x1b8], rax
mov eax, reloc.WS2_32.dll_listen
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, 0x290
mov word [rsp + 0x8a], ax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x1c8], rax
mov eax, reloc.WS2_32.dll_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, 0x290
mov word [rsp + 0x8c], ax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x1d8], rax
mov eax, reloc.WS2_32.dll_ntohs
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, 0x290
mov word [rsp + 0x8e], ax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x1e8], rax
mov eax, reloc.WS2_32.dll_recv
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, 0x290
mov word [rsp + 0x90], ax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x1f8], rax
mov eax, reloc.WS2_32.dll_recvfrom
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, 0x290
mov word [rsp + 0x92], ax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x208], rax
mov eax, reloc.WS2_32.dll_select
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, 0x290
mov word [rsp + 0x94], ax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x218], rax
mov eax, reloc.WS2_32.dll_send
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, 0x290
mov word [rsp + 0x96], ax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x228], rax
mov eax, reloc.WS2_32.dll_sendto
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, 0x290
mov word [rsp + 0x98], ax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x238], rax
mov eax, reloc.WS2_32.dll_setsockopt
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, 0x290
mov word [rsp + 0x9a], ax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x248], rax
mov eax, reloc.WLDAP32.dll_Ordinal_22
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, 0x290
mov word [rsp + 0x9c], ax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x258], rax
mov eax, reloc.WS2_32.dll_socket
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, 0x290
mov word [rsp + 0x9e], ax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x268], rax
mov eax, Ordinal_27
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, 0x290
mov word [rsp + 0xa0], ax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x278], rax
mov eax, Ordinal_27
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, 0x290
mov word [rsp + 0xa2], ax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x288], rax
mov eax, reloc.WLDAP32.dll_Ordinal_26
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, 0x290
mov word [rsp + 0xa4], ax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x298], rax
mov eax, reloc.WLDAP32.dll_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, 0x290
mov word [rsp + 0xa6], ax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x2a8], rax
mov eax, Ordinal_32
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, 0x290
mov word [rsp + 0xa8], ax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x2b8], rax
mov eax, Ordinal_32
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, 0x290
mov word [rsp + 0xaa], ax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x2c8], rax
mov eax, reloc.WLDAP32.dll_Ordinal_30
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, 0x290
mov word [rsp + 0xac], ax
mov rax, qword [rsp + 0x30]
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, 0x290
mov word [rsp + 0xae], ax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x2e8], rax
mov eax, reloc.WLDAP32.dll_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, 0x290
mov word [rsp + 0xb0], ax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x2f8], rax
mov eax, reloc.WLDAP32.dll_Ordinal_33
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, 0x290
mov word [rsp + 0xb2], ax
mov rax, qword [rsp + 0x30]
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, 0x290
mov word [rsp + 0xb4], ax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x318], rax
mov eax, reloc.WLDAP32.dll_Ordinal_35
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, 0x290
mov word [rsp + 0xb6], ax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x328], rax
mov eax, 0x24
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, 0x290
mov word [rsp + 0xb8], ax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x338], rax
mov eax, Ordinal_41
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, 0x290
mov word [rsp + 0xba], ax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x348], rax
mov eax, Ordinal_41
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, 0x290
mov word [rsp + 0xbc], ax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x358], rax
mov eax, Ordinal_41
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, 0x290
mov word [rsp + 0xbe], ax
mov rax, qword [rsp + 0x30]
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, 0x290
mov word [rsp + 0xc0], ax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x378], rax
mov eax, reloc.WLDAP32.dll_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, 0x290
mov word [rsp + 0xc2], ax
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x30]
mov rsi, rax
mov ecx, 0x54
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x388], rax
mov rax, qword [rsp + 0x388]
mov qword [rsp + 0x3d8], rax
lea rax, [rsp + 0x3b]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
mov eax, 0x2de
mov word [rsp + 0x60], ax
mov eax, 0x2c6
mov word [rsp + 0x62], ax
mov eax, 0x2df
mov word [rsp + 0x64], ax
mov eax, 0x291
mov word [rsp + 0x66], ax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x48], rax
movzx eax, byte [rsp + 0x3c]
mov byte [rsp + 0x3d], al
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x390], rax
xor eax, eax
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, 0x291
mov word [rsp + 0x68], ax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x3a0], rax
mov eax, 1
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, 0x291
mov word [rsp + 0x6a], ax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x3b0], rax
mov eax, 2
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, 0x291
mov word [rsp + 0x6c], ax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x3c0], rax
mov eax, 3
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, 0x291
mov word [rsp + 0x6e], ax
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x68]
mov qword [rax], rcx
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x3d0], rax
mov rax, qword [rsp + 0x3d0]
mov qword [rsp + 0x3e0], rax
mov dword [rsp + 0x46c], 1
mov dword [rsp + 0x468], 0x200
lea rax, [rsp + 0x460]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, qword [rsp + 0x3d8]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rsp + 0xd0], eax
lea rax, [rsp + 0x468]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x470]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x46c]
xor r8d, r8d
mov rdx, qword [rsp + 0x3e0]
mov rcx, qword [rsp + 0x460]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0xd0], eax
lea rax, [rsp + 0x3e]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
mov eax, 0x2a6
mov word [rsp + 0x50], ax
mov eax, 0x297
mov word [rsp + 0x52], ax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x58], rax
movzx eax, byte [rsp + 0x3f]
mov byte [rsp + 0x40], al
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x3e8], rax
xor eax, eax
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, 0x297
mov word [rsp + 0x54], ax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x3f8], rax
mov eax, 1
imul rax, rax, 2
mov rcx, qword [rsp + 0x3f8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
movzx eax, word [rax]
xor rax, 0x297
mov word [rsp + 0x56], ax
mov rax, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x54]
mov dword [rax], ecx
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0xe0], rax
mov rdx, qword [rsp + 0xe0]
lea rcx, [rsp + 0x470]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscmp]
test eax, eax
jne 0x1400f5876
call fcn.1400f4900
mov rcx, qword [rsp + 0x460]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x670]
xor rcx, rsp
call fcn.140102190
add rsp, 0x688
pop rdi
pop rsi
ret