Function at 0x140001020
Capabilities:
Contain obfuscated stackstrings
Query or enumerate registry key

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x3d8]
sub rsp, 0x4b0
mov rax, qword [0x1401990d8]
xor rax, rsp
mov qword [rbp + 0x3a0], rax
mov dil, r8b
mov byte [rsp + 0x40], r8b
movzx ebx, dl
mov r14, rcx
mov qword [rbp - 0x68], rcx
xor r12d, r12d
mov r15d, r12d
mov dword [rsp + 0x60], r12d
mov esi, 0x104
mov r8d, esi
xor edx, edx
lea rcx, [rbp + 0x290]
call fcn.140054ae0
mov r13, 0xffffffff80000002
test dil, dil
je 0x1400010ab
mov r13, 0xffffffff80000003
mov edx, esi
lea rcx, [rbp + 0x290]
call fcn.14001379c
mov dword [rbp + 0x55], 0x6e6f6973
mov dword [rbp + 0x41], 0x69575c74
mov dword [rbp + 0x4e], 0x746e6572
mov word [rbp + 0x62], WSAGetLastError
mov dword [rbp + 0x3d], 0x666f736f
mov dword [rbp + 0x45], 0x776f646e
mov word [rbp + 0x31], 0x464f
mov word [rbp + 0x5d], 0x736e
mov dword [rbp + 0x49], 0x75435c73
mov dword [rbp + 0x38], 0x63694d5c
mov word [rbp + 0x5a], 0x6e55
mov dword [rbp + 0x34], 0x45524157
mov word [rbp + 0x5f], 0x6174
mov byte [rbp + 0x30], 0x53
mov byte [rbp + 0x4d], WSACleanup
mov byte [rbp + 0x33], 0x54
mov byte [rbp + 0x61], WSAGetLastError
mov word [rbp + 0x52], 0x6556
mov byte [rbp + 0x3c], WSACleanup
mov byte [rbp + 0x54], WSACleanup
mov byte [rbp + 0x5c], VarBstrFromUI1
mov byte [rbp + 0x59], 0x5c
mov r8, rsi
xor edx, edx
lea rcx, [rbp + 0x180]
call fcn.140054ae0
mov r8, rsi
xor edx, edx
lea rcx, [rbp + 0x70]
call fcn.140054ae0
mov dword [rsp + 0x48], esi
xor ebx, 1
shl ebx, 9
add ebx, 0x20019
mov dword [rbp - 0x70], ebx
lea rdx, [rbp + 0x30]
lea rcx, [rbp - 0x78]
call fcn.140022164
nop
test dil, dil
je 0x140001191
mov dword [rbp - 0xe], 0x73255c
mov word [rbp - 0x10], 0x7325
lea r9, [rbp + 0x30]
lea r8, [rbp + 0x290]
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x78]
call fcn.1400236ac
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
mov r9d, ebx
xor r8d, r8d
mov rdx, qword [rbp - 0x78]
mov rcx, r13
call fcn.140147764
test eax, eax
je 0x1400011d8
mov rdx, qword [rbp - 0x78]
add rdx, 0xffffffffffffffe8
or esi, 0xffffffff
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x1400011d1
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
xor al, al
jmp 0x140001790
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x48]
lea r8, [rbp + 0x180]
xor edx, edx
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov r12d, 1
or esi, 0xffffffff
test eax, eax
jne 0x140001764
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0x70]
call fcn.140054ae0
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x70]
call fcn.1400084f4
lea rdx, [rbp + 0x180]
lea rcx, [rbp + 0x70]
call fcn.1400084f4
lea rdx, [rbp + 0x70]
lea rcx, [rsp + 0x78]
call fcn.140022164
nop
test dil, dil
je 0x140001284
mov word [rbp - 5], 0x7325
mov word [rbp - 8], 0x7325
mov byte [rbp - 3], 0
mov byte [rbp - 6], 0x5c
lea r9, [rbp + 0x70]
lea r8, [rbp + 0x290]
lea rdx, [rbp - 8]
lea rcx, [rsp + 0x78]
call fcn.1400236ac
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, ebx
xor r8d, r8d
mov rdx, qword [rsp + 0x78]
mov rcx, r13
call fcn.140147764
xor ebx, ebx
test eax, eax
je 0x14000130a
mov dword [rsp + 0x48], 0x104
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x48]
lea r8, [rbp + 0x180]
mov edx, r12d
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov ebx, eax
inc r12d
mov rdx, qword [rsp + 0x78]
add rdx, 0xffffffffffffffe8
mov ecx, esi
lock xadd dword [rdx + 0x10], ecx
add ecx, esi
test ecx, ecx
jg 0x140001758
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.WS2_32.dll_htonl + 8]
jmp 0x140001758
mov eax, 4
mov dword [rsp + 0x4c], eax
mov dword [rsp + 0x68], ebx
mov dword [rsp + 0x44], eax
mov dword [rbp + 0x25], 0x6d6f436d
mov dword [rbp + 0x20], 0x74737953
mov dword [rbp + 0x2a], 0x6e656e6f
mov word [rbp + 0x2e], reloc.WS2_32.dll_WSACleanup
mov byte [rbp + 0x24], SHCoCreateInstance
mov byte [rbp + 0x29], reloc.WS2_32.dll_WSASetLastError
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x4c]
xor r8d, r8d
lea rdx, [rbp + 0x20]
mov rcx, qword [rsp + 0x70]
call fcn.14000ebd0
cmp dword [rsp + 0x68], ebx
jne 0x1400016f4
lea rdx, [0x140156609]
lea rcx, [rsp + 0x50]
call fcn.140022164
nop
lea rdx, [0x140156609]
lea rcx, [rsp + 0x58]
call fcn.140022164
nop
mov ecx, 1
mov dword [rsp + 0x4c], ecx
mov edi, 0x800
mov dword [rsp + 0x44], edi
mov dword [rbp + 8], 0x656d61
mov dword [rbp], 0x70736944
mov dword [rbp + 4], 0x4e79616c
mov rax, qword [rsp + 0x50]
mov edx, ecx
sub edx, dword [rax - 8]
mov ecx, dword [rax - 0xc]
sub ecx, edi
or ecx, edx
jge 0x1400013e1
mov edx, edi
lea rcx, [rsp + 0x50]
call fcn.140024110
mov rax, qword [rsp + 0x50]
lea rcx, [rsp + 0x44]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x4c]
xor r8d, r8d
lea rdx, [rbp]
mov rcx, qword [rsp + 0x70]
call fcn.14000ebd0
mov ebx, eax
mov rcx, qword [rsp + 0x50]
movsxd rdx, dword [rcx - 0xc]
call fcn.14007ca08
mov rcx, rax
test eax, eax
js 0x1400017c0
mov rax, qword [rsp + 0x50]
cmp ecx, dword [rax - 0xc]
jg 0x1400017c0
mov dword [rax - 0x10], ecx
movsxd rcx, ecx
mov rax, qword [rsp + 0x50]
mov byte [rcx + rax], 0
test ebx, ebx
jne 0x1400016a9
mov rax, qword [r14]
mov rbx, qword [rax]
cmp rbx, rax
je 0x140001533
mov rcx, qword [rbx + 0x10]
sub rcx, 0x18
call fcn.1400232d0
lea rdi, [rax + 0x18]
mov qword [rbp - 0x60], rdi
mov rcx, qword [rbx + 0x18]
sub rcx, 0x18
call fcn.1400232d0
add rax, 0x18
mov qword [rbp - 0x58], rax
lea rcx, [rdi - 0x18]
call fcn.1400232d0
lea r14, [rax + 0x18]
mov qword [rbp - 0x30], r14
or r15d, 1
mov dword [rsp + 0x60], r15d
test r14, r14
je 0x1400017cb
mov rdx, r14
mov rcx, qword [rsp + 0x50]
call fcn.14007ce4c
test eax, eax
sete r15b
lea rdx, [r14 - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x1400014d0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rdx, qword [rbp - 0x58]
mov eax, esi
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], eax
add eax, esi
test r15b, r15b
jne 0x140001676
test eax, eax
jg 0x1400014f7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov eax, esi
lock xadd dword [rdi - 8], eax
add eax, esi
test eax, eax
jg 0x140001512
mov rcx, qword [rdi - 0x18]
mov rax, qword [rcx]
lea rdx, [rdi - 0x18]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rbx, qword [rbx]
mov r14, qword [rbp - 0x68]
mov rax, qword [r14]
mov qword [rbp - 0x28], rax
cmp rbx, rax
mov r15d, dword [rsp + 0x60]
jne 0x140001455
mov edi, 0x800
mov dword [rsp + 0x44], edi
mov dword [rbp + 0x13], 0x79616c70
mov word [rbp + 0x19], 0x7372
mov word [rbp + 0x1c], 0x6e6f
mov word [rbp + 0x17], 0x6556
xor ebx, ebx
mov byte [rbp + 0x1e], bl
mov word [rbp + 0x10], 0x6944
mov byte [rbp + 0x12], reloc.WS2_32.dll_WSAStartup
mov byte [rbp + 0x1b], VarBstrFromUI1
mov rax, qword [rsp + 0x58]
lea edx, [rbx + 1]
sub edx, dword [rax - 8]
mov ecx, dword [rax - 0xc]
sub ecx, edi
or ecx, edx
jge 0x140001588
mov edx, edi
lea rcx, [rsp + 0x58]
call fcn.140024110
mov rax, qword [rsp + 0x58]
lea rcx, [rsp + 0x44]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x4c]
xor r8d, r8d
lea rdx, [rbp + 0x10]
mov rcx, qword [rsp + 0x70]
call fcn.14000ebd0
mov rcx, qword [rsp + 0x58]
movsxd rdx, dword [rcx - 0xc]
call fcn.14007ca08
mov rcx, rax
test eax, eax
js 0x1400017d6
mov rax, qword [rsp + 0x58]
cmp ecx, dword [rax - 0xc]
jg 0x1400017d6
mov dword [rax - 0x10], ecx
movsxd rcx, ecx
mov rax, qword [rsp + 0x58]
mov byte [rcx + rax], bl
lea rax, [rbp - 0x50]
mov qword [rbp - 0x20], rax
mov rcx, qword [rsp + 0x58]
add rcx, 0xffffffffffffffe8
call fcn.1400232d0
add rax, 0x18
mov qword [rbp - 0x50], rax
mov rcx, qword [rsp + 0x50]
add rcx, 0xffffffffffffffe8
call fcn.1400232d0
add rax, 0x18
mov qword [rbp - 0x48], rax
lea r8, [rbp - 0x50]
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x40]
call fcn.1401482a4
nop
lea r8, [rbp - 0x40]
mov rdx, qword [r14]
mov rcx, r14
call fcn.140021770
nop
mov rdx, qword [rbp - 0x38]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x140001656
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rdx, qword [rbp - 0x40]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x1400016ab
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
jmp 0x1400016ab
xor ebx, ebx
test eax, eax
jg 0x140001685
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rdx, qword [rbp - 0x60]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x1400016a3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov r14, qword [rbp - 0x68]
jmp 0x1400016ab
xor ebx, ebx
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x1400016cb
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x1400016ea
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov r15d, dword [rsp + 0x60]
mov dil, byte [rsp + 0x40]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rsp + 0x48], 0x104
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x48]
lea r8, [rbp + 0x180]
mov edx, r12d
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov ebx, eax
inc r12d
mov rdx, qword [rsp + 0x78]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x140001758
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
test ebx, ebx
jne 0x140001764
mov ebx, dword [rbp - 0x70]
jmp 0x140001215
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rbp - 0x78]
add rdx, 0xffffffffffffffe8
mov ecx, esi
lock xadd dword [rdx + 0x10], ecx
add ecx, esi
test ecx, ecx
jg 0x14000178e
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.WS2_32.dll_htonl + 8]
mov al, 1
mov rcx, qword [rbp + 0x3a0]
xor rcx, rsp
call fcn.140051d60
lea r11, [rsp + 0x4b0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov ecx, 0x80070057
call fcn.1400232a8
nop
mov ecx, 0x80004005
call fcn.1400232a8
nop
mov ecx, 0x80070057
call fcn.1400232a8
int3