Function at 0x1802e8980
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, 0x970
mov qword [rsp + 0x98], 0xfffffffffffffffe
mov rax, qword [0x1806c4cd8]
xor rax, rsp
mov qword [rsp + 0x960], rax
mov dword [rsp + 0x34], 0
mov byte [rsp + 0x120], 0x49
mov byte [rsp + 0x121], WSACleanup
mov byte [rsp + 0x122], 0x44
mov byte [rsp + 0x123], 0x65
mov byte [rsp + 0x124], 0x62
mov byte [rsp + 0x125], 0x75
mov byte [rsp + 0x126], 0x67
mov byte [rsp + 0x127], 0x67
mov byte [rsp + 0x128], 0x65
mov byte [rsp + 0x129], WSACleanup
mov byte [rsp + 0x12a], 0x50
mov byte [rsp + 0x12b], WSACleanup
mov byte [rsp + 0x12c], 0x65
mov byte [rsp + 0x12d], WSACleanup
mov byte [rsp + 0x12e], 0x65
mov byte [rsp + 0x12f], WSACleanup
mov byte [rsp + 0x130], reloc.WS2_32.dll_WSACleanup
mov byte [rsp + 0x131], 0
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea rdx, [rsp + 0x120]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x1802e8a8f
call qword [rsp + 0x50]
test eax, eax
je 0x1802e8a8f
mov byte [rsp + 0x30], 1
jmp 0x1802e8caf
mov byte [rsp + 0x138], 0x43
mov byte [rsp + 0x139], WSAGetLastError
mov byte [rsp + 0x13a], 0x65
mov byte [rsp + 0x13b], 0x63
mov byte [rsp + 0x13c], WSAGetLastError
mov byte [rsp + 0x13d], 0x52
mov byte [rsp + 0x13e], 0x65
mov byte [rsp + 0x13f], WSACleanup
mov byte [rsp + 0x140], reloc.WS2_32.dll_WSAGetLastError
mov byte [rsp + 0x141], reloc.WS2_32.dll_WSACleanup
mov byte [rsp + 0x142], 0x65
mov byte [rsp + 0x143], 0x44
mov byte [rsp + 0x144], 0x65
mov byte [rsp + 0x145], 0x62
mov byte [rsp + 0x146], 0x75
mov byte [rsp + 0x147], 0x67
mov byte [rsp + 0x148], 0x67
mov byte [rsp + 0x149], 0x65
mov byte [rsp + 0x14a], WSACleanup
mov byte [rsp + 0x14b], 0x50
mov byte [rsp + 0x14c], WSACleanup
mov byte [rsp + 0x14d], 0x65
mov byte [rsp + 0x14e], WSACleanup
mov byte [rsp + 0x14f], 0x65
mov byte [rsp + 0x150], WSACleanup
mov byte [rsp + 0x151], reloc.WS2_32.dll_WSACleanup
mov byte [rsp + 0x152], 0
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea rdx, [rsp + 0x138]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
je 0x1802e8bc6
mov dword [rsp + 0xcc], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea rdx, [rsp + 0xcc]
mov rcx, rax
call qword [rsp + 0x58]
cmp dword [rsp + 0xcc], 0
je 0x1802e8bc6
mov byte [rsp + 0x30], 1
jmp 0x1802e8caf
mov byte [rsp + 0x31], 0
mov rax, qword gs:[0x60]
movzx eax, byte [rax + 2]
cmp eax, 1
jne 0x1802e8be7
mov dword [rsp + 0x40], 1
jmp 0x1802e8bef
mov dword [rsp + 0x40], 0
movzx eax, byte [rsp + 0x40]
mov byte [rsp + 0x31], al
movzx eax, byte [rsp + 0x31]
test eax, eax
je 0x1802e8c0b
mov byte [rsp + 0x30], 1
jmp 0x1802e8caf
mov rax, qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x100], rax
mov rax, qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x118], rax
lea rax, [rsp + 0x100]
mov qword [rsp + 0x90], rax
mov dword [rsp + 0x38], 0
jmp 0x1802e8c67
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 4
jae 0x1802e8caa
movsxd rax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x90]
lea rax, [rcx + rax*8]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
cmp qword [rax], 0
je 0x1802e8ca8
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
movzx eax, byte [rax]
cmp eax, 0xcc
jne 0x1802e8ca8
mov byte [rsp + 0x30], 1
jmp 0x1802e8caf
jmp 0x1802e8c5d
mov byte [rsp + 0x30], 0
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x1802e8ce5
lea rdx, [0x1805c3d08]
mov rcx, qword [rsp + 0x988]
call fcn.18007d860
nop
mov eax, dword [rsp + 0x34]
or eax, 1
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x988]
jmp 0x1802e8fb4
lea rdx, str.Advapi32.dll
lea rcx, [rsp + 0xa0]
call fcn.18007d860
nop
call fcn.18011a580
lea rdx, [rsp + 0xa0]
mov rcx, rax
call fcn.18011a660
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0xa0]
call fcn.18007d7e0
cmp qword [rsp + 0x48], 0
jne 0x1802e8d4e
mov rcx, qword [rsp + 0x988]
call fcn.18007d8a0
mov eax, dword [rsp + 0x34]
or eax, 1
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x988]
jmp 0x1802e8fb4
lea rdx, [0x1805fda80]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x68], rax
lea rdx, str.RegQueryValueExW
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x70], rax
lea rdx, [0x1805fdb00]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x68], 0
je 0x1802e8db1
cmp qword [rsp + 0x70], 0
je 0x1802e8db1
cmp qword [rsp + 0x80], 0
jne 0x1802e8dd6
mov rcx, qword [rsp + 0x988]
call fcn.18007d8a0
mov eax, dword [rsp + 0x34]
or eax, 1
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x988]
jmp 0x1802e8fb4
mov edx, 8
lea rcx, [rsp + 0xd8]
call fcn.18010b9d0
lea rcx, [rsp + 0xd8]
call fcn.1800a7690
nop
cmp qword [rsp + 0x990], 0xffffffff80000001
jne 0x1802e8e1e
mov edx, 0x20019
lea rcx, [rsp + 0xd8]
call fcn.180325a30
mov qword [rsp + 0x990], rax
lea rcx, [rsp + 0xe0]
call fcn.18007d8a0
nop
mov qword [rsp + 0xc0], 0
mov dword [rsp + 0x3c], 0x20019
cmp dword [rsp + 0x9a8], 0
je 0x1802e8e5d
mov eax, dword [rsp + 0x9a8]
mov ecx, dword [rsp + 0x3c]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x3c], eax
mov rcx, qword [rsp + 0x998]
call fcn.18007d760
lea rcx, [rsp + 0xc0]
mov qword [rsp + 0x20], rcx
mov r9d, dword [rsp + 0x3c]
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0x990]
call qword [rsp + 0x68]
test eax, eax
jne 0x1802e8f71
mov dword [rsp + 0x88], 0x400
lea rax, [rsp + 0x160]
mov rdi, rax
xor eax, eax
mov ecx, 0x800
rep stosb byte [rdi], al
mov dword [rsp + 0xc8], 0x7fe
mov dword [rsp + 0xd0], 1
mov rcx, qword [rsp + 0x9a0]
call fcn.18007d760
lea rcx, [rsp + 0xc8]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x160]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0xd0]
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0xc0]
call qword [rsp + reloc.WS2_32.dll_WSASetLastError]
test eax, eax
jne 0x1802e8f62
cmp dword [rsp + 0xc8], 0x400
jae 0x1802e8f4d
mov eax, dword [rsp + 0xc8]
shl rax, 1
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0x800
jae 0x1802e8f39
jmp 0x1802e8f3e
call fcn.180468f40
xor eax, eax
mov rcx, qword [rsp + 0x78]
mov word [rsp + rcx + 0x160], ax
lea rdx, [rsp + 0x160]
lea rcx, [rsp + 0xe0]
call fcn.18007d790
mov rcx, qword [rsp + 0xc0]
call qword [rsp + 0x80]
lea rdx, [rsp + 0xe0]
mov rcx, qword [rsp + 0x988]
call fcn.18007e200
mov eax, dword [rsp + 0x34]
or eax, 1
mov dword [rsp + 0x34], eax
lea rcx, [rsp + 0xe0]
call fcn.18007d7e0
nop
lea rcx, [rsp + 0xd8]
call fcn.180325a10
mov rax, qword [rsp + 0x988]
mov rcx, qword [rsp + 0x960]
xor rcx, rsp
call fcn.1804688c0
add rsp, 0x970
pop rdi
ret