Function at 0x18017e2e0
Capabilities:
Check for peb beingdebugged flag
Check for software breakpoints
Contain obfuscated stackstrings
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x560
mov qword [rsp + 0xf8], 0xfffffffffffffffe
mov rax, qword [0x18032a080]
xor rax, rsp
mov qword [rsp + 0x550], rax
mov byte [rsp + 0x198], 0x49
mov byte [rsp + 0x199], reloc.WS2_32.dll_WSAStartup
mov byte [rsp + 0x19a], 0x44
mov byte [rsp + 0x19b], 0x65
mov byte [rsp + 0x19c], 0x62
mov byte [rsp + 0x19d], 0x75
mov byte [rsp + 0x19e], 0x67
mov byte [rsp + 0x19f], 0x67
mov byte [rsp + 0x1a0], 0x65
mov byte [rsp + 0x1a1], WSAStartup
mov byte [rsp + 0x1a2], 0x50
mov byte [rsp + 0x1a3], WSAStartup
mov byte [rsp + 0x1a4], 0x65
mov byte [rsp + 0x1a5], reloc.WS2_32.dll_WSAStartup
mov byte [rsp + 0x1a6], 0x65
mov byte [rsp + 0x1a7], WSAStartup
mov byte [rsp + 0x1a8], 0x74
mov byte [rsp + 0x1a9], 0
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea rdx, [rsp + 0x198]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0
je 0x18017e3e7
call qword [rsp + WSAStartup]
test eax, eax
je 0x18017e3e7
mov byte [rsp + 0x40], 1
jmp 0x18017e610
mov byte [rsp + 0x1b0], 0x43
mov byte [rsp + 0x1b1], 0x68
mov byte [rsp + 0x1b2], 0x65
mov byte [rsp + 0x1b3], 0x63
mov byte [rsp + 0x1b4], 0x6b
mov byte [rsp + 0x1b5], 0x52
mov byte [rsp + 0x1b6], 0x65
mov byte [rsp + 0x1b7], WSAStartup
mov byte [rsp + 0x1b8], WSAStartup
mov byte [rsp + 0x1b9], 0x74
mov byte [rsp + 0x1ba], 0x65
mov byte [rsp + 0x1bb], 0x44
mov byte [rsp + 0x1bc], 0x65
mov byte [rsp + 0x1bd], 0x62
mov byte [rsp + 0x1be], 0x75
mov byte [rsp + 0x1bf], 0x67
mov byte [rsp + 0x1c0], 0x67
mov byte [rsp + 0x1c1], 0x65
mov byte [rsp + 0x1c2], WSAStartup
mov byte [rsp + 0x1c3], 0x50
mov byte [rsp + 0x1c4], WSAStartup
mov byte [rsp + 0x1c5], 0x65
mov byte [rsp + 0x1c6], reloc.WS2_32.dll_WSAStartup
mov byte [rsp + 0x1c7], 0x65
mov byte [rsp + 0x1c8], WSAStartup
mov byte [rsp + 0x1c9], 0x74
mov byte [rsp + 0x1ca], 0
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea rdx, [rsp + 0x1b0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
je 0x18017e51e
mov dword [rsp + 0x14c], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea rdx, [rsp + 0x14c]
mov rcx, rax
call qword [rsp + 0x68]
cmp dword [rsp + 0x14c], 0
je 0x18017e51e
mov byte [rsp + 0x40], 1
jmp 0x18017e610
mov byte [rsp + 0x41], 0
mov rax, qword gs:[0x60]
movzx eax, byte [rax + 2]
cmp eax, 1
jne 0x18017e53f
mov dword [rsp + 0x50], 1
jmp 0x18017e547
mov dword [rsp + 0x50], 0
movzx eax, byte [rsp + 0x50]
mov byte [rsp + 0x41], al
movzx eax, byte [rsp + 0x41]
test eax, eax
je 0x18017e563
mov byte [rsp + 0x40], 1
jmp 0x18017e610
mov rax, qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x178], rax
mov rax, qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov qword [rsp + 0x180], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x188], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x190], rax
lea rax, [rsp + 0x178]
mov qword [rsp + 0xd8], rax
mov dword [rsp + 0x44], 0
jmp 0x18017e5bf
mov eax, dword [rsp + 0x44]
inc eax
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 4
jae 0x18017e60b
movsxd rax, dword [rsp + 0x44]
mov rcx, qword [rsp + 0xd8]
lea rax, [rcx + rax*8]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
cmp qword [rax], 0
je 0x18017e609
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax]
movzx eax, byte [rax]
cmp eax, 0xcc
jne 0x18017e609
mov byte [rsp + 0x40], 1
jmp 0x18017e610
jmp 0x18017e5b5
mov byte [rsp + 0x40], 0
movzx eax, byte [rsp + 0x40]
test eax, eax
je 0x18017e61e
jmp 0x18017edfa
mov rcx, qword [rsp + 0x588]
call fcn.18000c020
mov rcx, qword [rsp + 0x578]
call fcn.18000c020
mov rcx, qword [rsp + 0x580]
call fcn.18000c020
lea rdx, str.Advapi32.dll
lea rcx, [rsp + 0x100]
call fcn.180006f30
nop
call fcn.18010bae0
lea rdx, [rsp + 0x100]
mov rcx, rax
call fcn.18010bbc0
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x100]
call fcn.180006f10
cmp qword [rsp + 0x58], 0
jne 0x18017e68e
jmp 0x18017edfa
lea rdx, [0x1802892e0]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0xa8], rax
lea rdx, str.RegEnumValueW
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0xb0], rax
lea rdx, [0x1802892c0]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x98], rax
cmp qword [rsp + 0xa8], 0
je 0x18017e6fd
cmp qword [rsp + 0xb0], 0
je 0x18017e6fd
cmp qword [rsp + 0x98], 0
jne 0x18017e702
jmp 0x18017edfa
mov qword [rsp + 0x140], 0
mov dword [rsp + 0x48], 0x20019
call fcn.180006ad0
movzx eax, al
test eax, eax
je 0x18017e72e
mov eax, dword [rsp + 0x48]
bts eax, 9
mov dword [rsp + 0x48], eax
lea rdx, str.SOFTWARE_
lea rcx, [rsp + 0x158]
call fcn.180006f30
nop
mov qword [rsp + 0xe0], 0xffffffff80000002
mov eax, 0x54
mov word [rsp + 0x1d0], ax
mov eax, 0x65
mov word [rsp + 0x1d2], ax
mov eax, 0x6e
mov word [rsp + 0x1d4], ax
mov eax, 0x63
mov word [rsp + 0x1d6], ax
mov eax, 0x65
mov word [rsp + 0x1d8], ax
mov eax, 0x6e
mov word [rsp + 0x1da], ax
mov eax, 0x74
mov word [rsp + 0x1dc], ax
xor eax, eax
mov word [rsp + 0x1de], ax
mov eax, 0x51
mov word [rsp + 0x1e0], ax
mov eax, 0x51
mov word [rsp + 0x1e2], ax
mov eax, 0x50
mov word [rsp + 0x1e4], ax
mov eax, 0x43
mov word [rsp + 0x1e6], ax
mov eax, 0x4d
mov word [rsp + 0x1e8], ax
mov eax, 0x67
mov word [rsp + 0x1ea], ax
mov eax, WSAStartup
mov word [rsp + 0x1ec], ax
xor eax, eax
mov word [rsp + 0x1ee], ax
lea rdx, [rsp + 0x1d0]
lea rcx, [rsp + 0x158]
call fcn.180007a50
lea rdx, [0x18026cd74]
lea rcx, [rsp + 0x158]
call fcn.180007a50
lea rdx, [rsp + 0x1e0]
lea rcx, [rsp + 0x158]
call fcn.180007a50
mov eax, 0x53
mov word [rsp + 0x200], ax
mov eax, 0x75
mov word [rsp + 0x202], ax
mov eax, WSAStartup
mov word [rsp + 0x204], ax
mov eax, WSAStartup
mov word [rsp + 0x206], ax
mov eax, 0x6c
mov word [rsp + 0x208], ax
mov eax, 0x79
mov word [rsp + 0x20a], ax
mov eax, 0x49
mov word [rsp + 0x20c], ax
mov eax, 0x44
mov word [rsp + 0x20e], ax
xor eax, eax
mov word [rsp + 0x210], ax
mov eax, 0x56
mov word [rsp + 0x1f0], ax
mov eax, 0x65
mov word [rsp + 0x1f2], ax
mov eax, WSAStartup
mov word [rsp + 0x1f4], ax
mov eax, reloc.WS2_32.dll_WSAStartup
mov word [rsp + 0x1f6], ax
mov eax, 0x69
mov word [rsp + 0x1f8], ax
mov eax, WSAStartup
mov word [rsp + 0x1fa], ax
mov eax, 0x6e
mov word [rsp + 0x1fc], ax
xor eax, eax
mov word [rsp + 0x1fe], ax
mov eax, 0x49
mov word [rsp + 0x218], ax
mov eax, 0x6e
mov word [rsp + 0x21a], ax
mov eax, reloc.WS2_32.dll_WSAStartup
mov word [rsp + 0x21c], ax
mov eax, 0x74
mov word [rsp + 0x21e], ax
mov eax, 0x61
mov word [rsp + 0x220], ax
mov eax, 0x6c
mov word [rsp + 0x222], ax
mov eax, 0x6c
mov word [rsp + 0x224], ax
mov eax, 0x54
mov word [rsp + 0x226], ax
mov eax, 0x69
mov word [rsp + 0x228], ax
mov eax, 0x6d
mov word [rsp + 0x22a], ax
mov eax, 0x65
mov word [rsp + 0x22c], ax
xor eax, eax
mov word [rsp + 0x22e], ax
lea rcx, [rsp + 0x158]
call fcn.180007a40
lea rcx, [rsp + 0x140]
mov qword [rsp + 0x20], rcx
mov r9d, dword [rsp + 0x48]
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0xe0]
call qword [rsp + 0xa8]
test eax, eax
jne 0x18017eded
mov dword [rsp + 0x4c], 0
mov dword [rsp + 0x148], 0
mov dword [rsp + 0x150], 0x103
mov dword [rsp + 0x154], 0x103
lea rax, [rsp + 0x340]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
lea rax, [rsp + 0x230]
mov rdi, rax
xor eax, eax
mov ecx, 0x104
rep stosb byte [rdi], al
lea rax, [rsp + 0x154]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x230]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x148]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x150]
lea r8, [rsp + 0x340]
mov edx, dword [rsp + 0x4c]
mov rcx, qword [rsp + 0x140]
call qword [rsp + 0xb0]
test eax, eax
jne 0x18017edd2
mov eax, 2
imul rax, rax, 0x103
mov qword [rsp + 0xb8], rax
cmp qword [rsp + 0xb8], 0x208
jae 0x18017ead3
jmp 0x18017ead8
call fcn.18022ae28
xor eax, eax
mov rcx, qword [rsp + 0xb8]
mov word [rsp + rcx + 0x340], ax
mov eax, 2
imul rax, rax, 0
movzx eax, word [rsp + rax + 0x340]
test eax, eax
je 0x18017ed6a
lea rdx, [rsp + 0x200]
lea rcx, [rsp + 0x340]
call fcn.1800f25f0
movzx eax, al
test eax, eax
je 0x18017ec08
cmp dword [rsp + 0x148], 4
jne 0x18017ec03
mov eax, 1
imul rax, rax, 0x103
mov qword [rsp + 0xc0], rax
cmp qword [rsp + 0xc0], 0x104
jae 0x18017eb55
jmp 0x18017eb5a
call fcn.18022ae28
mov rax, qword [rsp + 0xc0]
mov byte [rsp + rax + 0x230], 0
mov eax, 1
imul rax, rax, 0x102
mov qword [rsp + 0xc8], rax
cmp qword [rsp + 0xc8], 0x104
jae 0x18017eb8e
jmp 0x18017eb93
call fcn.18022ae28
mov rax, qword [rsp + 0xc8]
mov byte [rsp + rax + 0x230], 0
mov eax, 1
imul rax, rax, 0
mov eax, dword [rsp + rax + 0x230]
mov dword [rsp + 0x60], eax
mov edx, dword [rsp + 0x60]
lea rcx, [rsp + 0x120]
call fcn.1800f2bd0
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0xf0], rax
mov rdx, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0x578]
call fcn.180007ab0
nop
lea rcx, [rsp + 0x120]
call fcn.180006f10
jmp 0x18017ed6a
lea rdx, [rsp + 0x1f0]
lea rcx, [rsp + 0x340]
call fcn.1800f25f0
movzx eax, al
test eax, eax
je 0x18017ecb5
cmp dword [rsp + 0x148], 1
jne 0x18017ecb0
mov eax, 1
imul rax, rax, 0x103
mov qword [rsp + 0xd0], rax
cmp qword [rsp + 0xd0], 0x104
jae 0x18017ec56
jmp 0x18017ec5b
call fcn.18022ae28
mov rax, qword [rsp + 0xd0]
mov byte [rsp + rax + 0x230], 0
mov eax, 1
imul rax, rax, 0x102
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0x104
jae 0x18017ec89
jmp 0x18017ec8e
call fcn.18022ae28
mov rax, qword [rsp + 0x78]
mov byte [rsp + rax + 0x230], 0
lea rdx, [rsp + 0x230]
mov rcx, qword [rsp + 0x580]
call fcn.180007a90
jmp 0x18017ed6a
lea rdx, [rsp + 0x218]
lea rcx, [rsp + 0x340]
call fcn.1800f25f0
movzx eax, al
test eax, eax
je 0x18017ed6a
cmp dword [rsp + 0x148], 1
jne 0x18017ed6a
mov eax, 1
imul rax, rax, 0x103
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x80], 0x104
jae 0x18017ed07
jmp 0x18017ed0c
call fcn.18022ae28
mov rax, qword [rsp + 0x80]
mov byte [rsp + rax + 0x230], 0
mov eax, 1
imul rax, rax, 0x102
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x88], 0x104
jae 0x18017ed40
jmp 0x18017ed45
call fcn.18022ae28
mov rax, qword [rsp + 0x88]
mov byte [rsp + rax + 0x230], 0
lea rdx, [rsp + 0x230]
mov rcx, qword [rsp + 0x588]
call fcn.180007a90
mov eax, 2
imul rax, rax, 0
mov qword [rsp + 0x90], rax
cmp qword [rsp + 0x90], 0x208
jae 0x18017ed8b
jmp 0x18017ed90
call fcn.18022ae28
xor eax, eax
mov rcx, qword [rsp + 0x90]
mov word [rsp + rcx + 0x340], ax
mov dword [rsp + 0x150], 0x103
mov dword [rsp + 0x154], 0x103
mov dword [rsp + 0x148], 0
mov eax, dword [rsp + 0x4c]
inc eax
mov dword [rsp + 0x4c], eax
jmp 0x18017ea54
mov rcx, qword [rsp + 0x140]
call qword [rsp + 0x98]
mov qword [rsp + 0x140], 0
lea rcx, [rsp + 0x158]
call fcn.180006f10
mov rcx, qword [rsp + 0x550]
xor rcx, rsp
call fcn.18022a7d0
add rsp, 0x560
pop rdi
ret