Function at 0x14004db9c
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 qword [rbp + 0x68], 0xfffffffffffffffe
mov rax, qword [0x1403c86e8]
xor rax, rbp
mov qword [rbp + 0xd10], rax
mov dword [rbp + 8], 0
call fcn.1400eef44
mov rdx, rax
lea rcx, [rbp + 0x38]
call fcn.140045dc4
nop
mov eax, 2
imul rax, rax, 0x20
mov ecx, reloc.OLEAUT32.dll_VarBstrFromDisp
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, reloc.OLEAUT32.dll_VarBstrFromDisp
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, 0x57
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, 0x56
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, 0x57
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, reloc.OLEAUT32.dll_VarBstrFromDisp
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, reloc.OLEAUT32.dll_VarBstrFromDisp
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 0x14004df25
jmp 0x14004df2a
call fcn.14028613c
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 + 0x880], cx
mov eax, 2
imul rax, rax, 0xc
mov ecx, 0x63
mov word [rbp + rax + 0x880], cx
mov eax, 2
imul rax, rax, 7
mov ecx, 0x50
mov word [rbp + rax + 0x880], cx
mov eax, 2
imul rax, rax, 5
mov ecx, 0x61
mov word [rbp + rax + 0x880], cx
mov eax, 2
imul rax, rax, 0xb
mov ecx, 0x75
mov word [rbp + rax + 0x880], cx
mov eax, 2
imul rax, rax, 0xe
mov ecx, 0x49
mov word [rbp + rax + 0x880], cx
mov eax, 2
imul rax, rax, 2
mov ecx, 0x67
mov word [rbp + rax + 0x880], cx
mov eax, 2
imul rax, rax, 0x10
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0x22
jae 0x14004e082
jmp 0x14004e087
call fcn.14028613c
xor eax, eax
mov rcx, qword [rbp + 0x48]
mov word [rbp + rcx + 0x880], ax
mov eax, 2
imul rax, rax, 3
mov ecx, 0x69
mov word [rbp + rax + 0x880], cx
mov eax, 2
imul rax, rax, 0xa
mov ecx, 0x64
mov word [rbp + rax + 0x880], cx
mov eax, 2
imul rax, rax, 0xd
mov ecx, reloc.WS2_32.dll_WSACleanup
mov word [rbp + rax + 0x880], cx
mov eax, 2
imul rax, rax, 1
mov ecx, 0x69
mov word [rbp + rax + 0x880], cx
mov eax, 2
imul rax, rax, 0
mov ecx, 0x44
mov word [rbp + rax + 0x880], cx
mov eax, 2
imul rax, rax, 0xf
mov ecx, 0x64
mov word [rbp + rax + 0x880], cx
mov eax, 2
imul rax, rax, 6
mov ecx, WSASetLastError
mov word [rbp + rax + 0x880], cx
mov eax, 2
imul rax, rax, 4
mov ecx, reloc.WS2_32.dll_WSACleanup
mov word [rbp + rax + 0x880], cx
mov eax, 2
imul rax, rax, 8
mov ecx, reloc.OLEAUT32.dll_VarBstrFromDisp
mov word [rbp + rax + 0x880], cx
mov dword [rbp + 0x80], 0
lea rax, [rbp + 0x84]
mov rdi, rax
xor eax, eax
mov ecx, 0x7fc
rep stosb byte [rdi], al
mov dword [rbp + 4], 0x800
lea rax, [rbp + 0x58]
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 0x14004e325
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 + 0x880]
mov rcx, qword [rbp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rbp + 0x28], eax
cmp dword [rbp + 0x28], 0
jne 0x14004e31b
mov byte [rbp + 0x910], 0
lea rax, [rbp + 0x911]
mov rdi, rax
xor eax, eax
mov ecx, 0x3ff
rep stosb byte [rdi], al
mov r8d, dword [rbp + 4]
lea rdx, [rbp + 0x910]
lea rcx, [rbp + 0x80]
call fcn.14004db24
mov dword [rbp + 0x2c], 3
lea rax, [rbp + 0x910]
mov qword [rbp + 0x18], rax
cmp qword [rbp + 0x18], 0
jne 0x14004e23d
mov qword [rbp + 0x50], 0
jmp 0x14004e307
mov rcx, qword [rbp + 0x18]
call fcn.1402958f0
inc eax
mov dword [rbp], eax
cmp dword [rbp], 0x3fffffff
jle 0x14004e261
mov qword [rbp + 0x10], 0
jmp 0x14004e2ff
movsxd rax, dword [rbp]
shl rax, 1
mov rcx, rax
add rcx, 0xf
cmp rcx, rax
ja 0x14004e27e
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.140286d30
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 0x14004e2ac
cmp qword [rbp + 0x18], 0
jne 0x14004e2b6
mov qword [rbp + 0x10], 0
jmp 0x14004e2ff
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 0x14004e2f7
mov qword [rbp + 0x10], 0
jmp 0x14004e2ff
mov rax, qword [rbp + 0x20]
mov qword [rbp + 0x10], rax
mov rax, qword [rbp + 0x10]
mov qword [rbp + 0x50], rax
mov r8, qword [rbp + 0x50]
lea rdx, [0x1403649f8]
lea rcx, [rbp + 0x38]
call fcn.140050108
mov rcx, qword [rbp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [rbp + 0x38]
mov rcx, qword [rbp + 0xd40]
call fcn.14004f558
mov eax, dword [rbp + 8]
or eax, 1
mov dword [rbp + 8], eax
mov rax, qword [rbp + 0x38]
sub rax, 0x18
mov qword [rbp + 0x60], rax
mov rcx, qword [rbp + 0x60]
call fcn.140045ed4
mov rax, qword [rbp + 0xd40]
mov rcx, qword [rbp + 0xd10]
xor rcx, rbp
call fcn.140286010
lea rsp, [rbp + 0xd28]
pop rdi
pop rbp
ret