Function at 0x140008be0
Capabilities:
Parse pe header
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xd58
lea rbp, [rsp + 0x30]
mov rax, qword [0x1401beaa0]
xor rax, rbp
mov qword [rbp + 0xd10], rax
mov dword [rbp + 8], 0
lea rdx, [0x1401911c4]
lea rcx, [rbp + 0x38]
call fcn.14002a378
nop
mov eax, 2
imul rax, rax, 0x20
mov ecx, WSACleanup
mov word [rbp + rax + 0x8b0], cx
mov eax, 2
imul rax, rax, 0x14
mov ecx, 0x69
mov word [rbp + rax + 0x8b0], cx
mov eax, 2
imul rax, rax, 0xa
mov ecx, 0x69
mov word [rbp + rax + 0x8b0], cx
mov eax, 2
imul rax, rax, 0x1f
mov ecx, 0x75
mov word [rbp + rax + 0x8b0], cx
mov eax, 2
imul rax, rax, 5
mov ecx, 0x41
mov word [rbp + rax + 0x8b0], cx
mov eax, 2
imul rax, rax, 8
mov ecx, 0x5c
mov word [rbp + rax + 0x8b0], cx
mov eax, 2
imul rax, rax, 0
mov ecx, 0x53
mov word [rbp + rax + 0x8b0], cx
mov eax, 2
imul rax, rax, 0xe
mov ecx, reloc.WS2_32.dll_WSAStartup
mov word [rbp + rax + 0x8b0], cx
mov eax, 2
imul rax, rax, 0x10
mov ecx, 0x66
mov word [rbp + rax + 0x8b0], cx
mov eax, 2
imul rax, rax, 0xb
mov ecx, 0x63
mov word [rbp + rax + 0x8b0], cx
mov eax, 2
imul rax, rax, 0x27
mov ecx, WSACleanup
mov word [rbp + rax + 0x8b0], cx
mov eax, 2
imul rax, rax, 3
mov ecx, 0x54
mov word [rbp + rax + 0x8b0], cx
mov eax, 2
imul rax, rax, 0x1a
mov ecx, reloc.WLDAP32.dll_Ordinal_32
mov word [rbp + rax + 0x8b0], cx
mov eax, 2
imul rax, rax, 0x13
mov ecx, VarDateFromR4
mov word [rbp + rax + 0x8b0], cx
mov eax, 2
imul rax, rax, 0x23
mov ecx, WSASetLastError
mov word [rbp + rax + 0x8b0], cx
mov eax, 2
imul rax, rax, 0x29
mov ecx, 0x69
mov word [rbp + rax + 0x8b0], cx
mov eax, 2
imul rax, rax, 0x22
mov ecx, 0x65
mov word [rbp + rax + 0x8b0], cx
mov eax, 2
imul rax, rax, 0x1b
mov ecx, Ordinal_79
mov word [rbp + rax + 0x8b0], cx
mov eax, 2
imul rax, rax, 7
mov ecx, 0x45
mov word [rbp + rax + 0x8b0], cx
mov eax, 2
imul rax, rax, 0x12
mov ecx, 0x5c
mov word [rbp + rax + 0x8b0], cx
mov eax, 2
imul rax, rax, 0x1c
mov ecx, 0x54
mov word [rbp + rax + 0x8b0], cx
mov eax, 2
imul rax, rax, 0x25
mov ecx, VarDateFromR4
mov word [rbp + rax + 0x8b0], cx
mov eax, 2
imul rax, rax, 1
mov ecx, reloc.WLDAP32.dll_Ordinal_79
mov word [rbp + rax + 0x8b0], cx
mov eax, 2
imul rax, rax, 0xd
mov ecx, reloc.WS2_32.dll_WSAGetLastError
mov word [rbp + rax + 0x8b0], cx
mov eax, 2
imul rax, rax, 0x2a
mov ecx, reloc.WS2_32.dll_WSAGetLastError
mov word [rbp + rax + 0x8b0], cx
mov eax, 2
imul rax, rax, 0x19
mov ecx, reloc.WS2_32.dll_WSAStartup
mov word [rbp + rax + 0x8b0], cx
mov eax, 2
imul rax, rax, 0x28
mov ecx, reloc.WS2_32.dll_WSAStartup
mov word [rbp + rax + 0x8b0], cx
mov eax, 2
imul rax, rax, 0x1e
mov ecx, 0x43
mov word [rbp + rax + 0x8b0], cx
mov eax, 2
imul rax, rax, 0x16
mov ecx, 0x64
mov word [rbp + rax + 0x8b0], cx
mov eax, 2
imul rax, rax, 4
mov ecx, VarDateFromR4
mov word [rbp + rax + 0x8b0], cx
mov eax, 2
imul rax, rax, 2
mov ecx, 0x46
mov word [rbp + rax + 0x8b0], cx
mov eax, 2
imul rax, rax, 0x21
mov ecx, WSACleanup
mov word [rbp + rax + 0x8b0], cx
mov eax, 2
imul rax, rax, 0x15
mov ecx, WSASetLastError
mov word [rbp + rax + 0x8b0], cx
mov eax, 2
imul rax, rax, 0xf
mov ecx, reloc.WS2_32.dll_WSAGetLastError
mov word [rbp + rax + 0x8b0], cx
mov eax, 2
imul rax, rax, 0x18
mov ecx, 0x77
mov word [rbp + rax + 0x8b0], cx
mov eax, 2
imul rax, rax, 0xc
mov ecx, WSACleanup
mov word [rbp + rax + 0x8b0], cx
mov eax, 2
imul rax, rax, 0x2b
mov ecx, WSASetLastError
mov word [rbp + rax + 0x8b0], cx
mov eax, 2
imul rax, rax, 0x2c
mov qword [rbp + 0x40], rax
cmp qword [rbp + 0x40], 0x5a
jae 0x140008f60
jmp 0x140008f65
call fcn.1400b299c
xor eax, eax
mov rcx, qword [rbp + 0x40]
mov word [rbp + rcx + 0x8b0], ax
mov eax, 2
imul rax, rax, 0x24
mov ecx, reloc.WS2_32.dll_WSACleanup
mov word [rbp + rax + 0x8b0], cx
mov eax, 2
imul rax, rax, 6
mov ecx, 0x52
mov word [rbp + rax + 0x8b0], cx
mov eax, 2
imul rax, rax, 9
mov ecx, Ordinal_79
mov word [rbp + rax + 0x8b0], cx
mov eax, 2
imul rax, rax, 0x11
mov ecx, reloc.WS2_32.dll_WSACleanup
mov word [rbp + rax + 0x8b0], cx
mov eax, 2
imul rax, rax, 0x17
mov ecx, reloc.WS2_32.dll_WSAGetLastError
mov word [rbp + rax + 0x8b0], cx
mov eax, 2
imul rax, rax, 0x26
mov ecx, 0x65
mov word [rbp + rax + 0x8b0], cx
mov eax, 2
imul rax, rax, 0x1d
mov ecx, 0x5c
mov word [rbp + rax + 0x8b0], cx
mov eax, 2
imul rax, rax, 9
mov ecx, reloc.WS2_32.dll_WSAGetLastError
mov word [rbp + rax + 0x888], cx
mov eax, 2
imul rax, rax, 0xc
mov ecx, 0x63
mov word [rbp + rax + 0x888], cx
mov eax, 2
imul rax, rax, 7
mov ecx, VarR8FromCy
mov word [rbp + rax + 0x888], cx
mov eax, 2
imul rax, rax, 5
mov ecx, 0x61
mov word [rbp + rax + 0x888], cx
mov eax, 2
imul rax, rax, 0xb
mov ecx, 0x75
mov word [rbp + rax + 0x888], cx
mov eax, 2
imul rax, rax, 0xe
mov ecx, 0x49
mov word [rbp + rax + 0x888], cx
mov eax, 2
imul rax, rax, 2
mov ecx, 0x67
mov word [rbp + rax + 0x888], cx
mov eax, 2
imul rax, rax, 0x10
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0x22
jae 0x1400090bd
jmp 0x1400090c2
call fcn.1400b299c
xor eax, eax
mov rcx, qword [rbp + 0x48]
mov word [rbp + rcx + 0x888], ax
mov eax, 2
imul rax, rax, 3
mov ecx, 0x69
mov word [rbp + rax + 0x888], cx
mov eax, 2
imul rax, rax, 0xa
mov ecx, 0x64
mov word [rbp + rax + 0x888], cx
mov eax, 2
imul rax, rax, 0xd
mov ecx, reloc.WS2_32.dll_WSACleanup
mov word [rbp + rax + 0x888], cx
mov eax, 2
imul rax, rax, 1
mov ecx, 0x69
mov word [rbp + rax + 0x888], cx
mov eax, 2
imul rax, rax, 0
mov ecx, 0x44
mov word [rbp + rax + 0x888], cx
mov eax, 2
imul rax, rax, 0xf
mov ecx, 0x64
mov word [rbp + rax + 0x888], cx
mov eax, 2
imul rax, rax, 6
mov ecx, WSASetLastError
mov word [rbp + rax + 0x888], cx
mov eax, 2
imul rax, rax, 4
mov ecx, reloc.WS2_32.dll_WSACleanup
mov word [rbp + rax + 0x888], cx
mov eax, 2
imul rax, rax, 8
mov ecx, WSACleanup
mov word [rbp + rax + 0x888], cx
lea rax, [rbp + 0x80]
mov rdi, rax
xor eax, eax
mov ecx, 0x800
rep stosb byte [rdi], al
mov dword [rbp + 4], 0x800
lea rax, [rbp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x101
xor r8d, r8d
lea rdx, [rbp + 0x8b0]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400093a4
lea rax, [rbp + 4]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x80]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x888]
mov rcx, qword [rbp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rbp + 0x28], eax
cmp dword [rbp + 0x28], 0
jne 0x14000939a
lea rax, [rbp + 0x910]
mov rdi, rax
xor eax, eax
mov ecx, 0x400
rep stosb byte [rdi], al
mov r8d, dword [rbp + 4]
lea rdx, [rbp + 0x910]
lea rcx, [rbp + 0x80]
call fcn.140155fc0
mov dword [rbp + 0x2c], 3
mov eax, 2
imul rax, rax, 0
mov ecx, Ordinal_41
mov word [rbp + rax + 0x880], cx
mov eax, 2
imul rax, rax, 1
mov ecx, reloc.WS2_32.dll_WSAStartup
mov word [rbp + rax + 0x880], cx
mov eax, 2
imul rax, rax, 2
mov qword [rbp + 0x50], rax
cmp qword [rbp + 0x50], 6
jae 0x14000928a
jmp 0x14000928f
call fcn.1400b299c
xor eax, eax
mov rcx, qword [rbp + 0x50]
mov word [rbp + rcx + 0x880], ax
lea rax, [rbp + 0x910]
mov qword [rbp + 0x18], rax
cmp qword [rbp + 0x18], 0
jne 0x1400092bc
mov qword [rbp + 0x58], 0
jmp 0x140009386
mov rcx, qword [rbp + 0x18]
call fcn.1400c28d0
inc eax
mov dword [rbp], eax
cmp dword [rbp], 0x3fffffff
jle 0x1400092e0
mov qword [rbp + 0x10], 0
jmp 0x14000937e
movsxd rax, dword [rbp]
shl rax, 1
mov rcx, rax
add rcx, 0xf
cmp rcx, rax
ja 0x1400092fd
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1400b3810
sub rsp, rax
lea rax, [rsp + 0x30]
mov qword [rbp + 0x20], rax
mov rax, qword [rbp + 0x70]
mov qword [rbp + 0x10], rax
cmp qword [rbp + 0x20], 0
je 0x14000932b
cmp qword [rbp + 0x18], 0
jne 0x140009335
mov qword [rbp + 0x10], 0
jmp 0x14000937e
xor eax, eax
mov rcx, qword [rbp + 0x20]
mov word [rcx], ax
mov eax, dword [rbp]
mov dword [rsp + 0x28], eax
mov rax, qword [rbp + 0x20]
mov qword [rsp + 0x20], rax
mov r9d, 0xffffffff
mov r8, qword [rbp + 0x18]
xor edx, edx
mov ecx, dword [rbp + 0x2c]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [rbp + 0x30], eax
cmp dword [rbp + 0x30], 0
jne 0x140009376
mov qword [rbp + 0x10], 0
jmp 0x14000937e
mov rax, qword [rbp + 0x20]
mov qword [rbp + 0x10], rax
mov rax, qword [rbp + 0x10]
mov qword [rbp + 0x58], rax
mov r8, qword [rbp + 0x58]
lea rdx, [rbp + 0x880]
lea rcx, [rbp + 0x38]
call fcn.14002afcc
mov rcx, qword [rbp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [rbp + 0x38]
mov rcx, qword [rbp + 0xd40]
call fcn.14002a3f8
mov eax, dword [rbp + 8]
or eax, 1
mov dword [rbp + 8], eax
mov rax, qword [rbp + 0x38]
sub rax, 0x18
mov qword [rbp + 0x68], rax
mov rcx, qword [rbp + 0x68]
call fcn.140026400
mov rax, qword [rbp + 0xd40]
mov rcx, qword [rbp + 0xd10]
xor rcx, rbp
call fcn.1400b2870
lea rsp, [rbp + 0xd28]
pop rdi
pop rbp
ret