Function at 0x1802ad390
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 [0x18066dcd8]
xor rax, rsp
mov qword [rsp + 0x550], rax
mov byte [rsp + 0x198], 0x49
mov byte [rsp + 0x199], WSACleanup
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], WSACleanup
mov byte [rsp + 0x1a2], 0x50
mov byte [rsp + 0x1a3], WSACleanup
mov byte [rsp + 0x1a4], 0x65
mov byte [rsp + 0x1a5], WSACleanup
mov byte [rsp + 0x1a6], 0x65
mov byte [rsp + 0x1a7], WSASetLastError
mov byte [rsp + 0x1a8], reloc.WS2_32.dll_WSACleanup
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 0x1802ad497
call qword [rsp + reloc.WS2_32.dll_WSASetLastError]
test eax, eax
je 0x1802ad497
mov byte [rsp + 0x40], 1
jmp 0x1802ad6c0
mov byte [rsp + 0x1b0], 0x43
mov byte [rsp + 0x1b1], WSAGetLastError
mov byte [rsp + 0x1b2], 0x65
mov byte [rsp + 0x1b3], 0x63
mov byte [rsp + 0x1b4], WSASetLastError
mov byte [rsp + 0x1b5], 0x52
mov byte [rsp + 0x1b6], 0x65
mov byte [rsp + 0x1b7], WSASetLastError
mov byte [rsp + 0x1b8], reloc.WS2_32.dll_WSAGetLastError
mov byte [rsp + 0x1b9], reloc.WS2_32.dll_WSACleanup
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], WSACleanup
mov byte [rsp + 0x1c3], 0x50
mov byte [rsp + 0x1c4], WSACleanup
mov byte [rsp + 0x1c5], 0x65
mov byte [rsp + 0x1c6], WSACleanup
mov byte [rsp + 0x1c7], 0x65
mov byte [rsp + 0x1c8], WSASetLastError
mov byte [rsp + 0x1c9], reloc.WS2_32.dll_WSACleanup
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 0x1802ad5ce
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 0x1802ad5ce
mov byte [rsp + 0x40], 1
jmp 0x1802ad6c0
mov byte [rsp + 0x41], 0
mov rax, qword gs:[0x60]
movzx eax, byte [rax + 2]
cmp eax, 1
jne 0x1802ad5ef
mov dword [rsp + 0x50], 1
jmp 0x1802ad5f7
mov dword [rsp + 0x50], 0
movzx eax, byte [rsp + 0x50]
mov byte [rsp + 0x41], al
movzx eax, byte [rsp + 0x41]
test eax, eax
je 0x1802ad613
mov byte [rsp + 0x40], 1
jmp 0x1802ad6c0
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 0x1802ad66f
mov eax, dword [rsp + 0x44]
inc eax
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 4
jae 0x1802ad6bb
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 0x1802ad6b9
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax]
movzx eax, byte [rax]
cmp eax, 0xcc
jne 0x1802ad6b9
mov byte [rsp + 0x40], 1
jmp 0x1802ad6c0
jmp 0x1802ad665
mov byte [rsp + 0x40], 0
movzx eax, byte [rsp + 0x40]
test eax, eax
je 0x1802ad6ce
jmp 0x1802adeaa
mov rcx, qword [rsp + 0x588]
call fcn.1800a0340
mov rcx, qword [rsp + 0x578]
call fcn.1800a0340
mov rcx, qword [rsp + 0x580]
call fcn.1800a0340
lea rdx, str.Advapi32.dll
lea rcx, [rsp + 0x100]
call fcn.18007d630
nop
call fcn.1800e3b00
lea rdx, [rsp + 0x100]
mov rcx, rax
call fcn.1800e3be0
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x100]
call fcn.18007d580
cmp qword [rsp + 0x58], 0
jne 0x1802ad73e
jmp 0x1802adeaa
lea rdx, [0x1805bad08]
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, [0x1805baca0]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x98], rax
cmp qword [rsp + 0xa8], 0
je 0x1802ad7ad
cmp qword [rsp + 0xb0], 0
je 0x1802ad7ad
cmp qword [rsp + 0x98], 0
jne 0x1802ad7b2
jmp 0x1802adeaa
mov qword [rsp + 0x140], 0
mov dword [rsp + 0x48], 0x20019
call fcn.180085f00
movzx eax, al
test eax, eax
je 0x1802ad7de
mov eax, dword [rsp + 0x48]
bts eax, 9
mov dword [rsp + 0x48], eax
lea rdx, [0x1805a6840]
lea rcx, [rsp + 0x158]
call fcn.18007d630
nop
mov qword [rsp + 0xe0], 0xffffffff80000002
mov eax, 0x54
mov word [rsp + 0x1d0], ax
mov eax, 0x65
mov word [rsp + 0x1d2], ax
mov eax, WSASetLastError
mov word [rsp + 0x1d4], ax
mov eax, 0x63
mov word [rsp + 0x1d6], ax
mov eax, 0x65
mov word [rsp + 0x1d8], ax
mov eax, WSASetLastError
mov word [rsp + 0x1da], ax
mov eax, reloc.WS2_32.dll_WSACleanup
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, WSACleanup
mov word [rsp + 0x1ec], ax
xor eax, eax
mov word [rsp + 0x1ee], ax
lea rdx, [rsp + 0x1d0]
lea rcx, [rsp + 0x158]
call fcn.18009a080
lea rdx, [0x1805a2ecc]
lea rcx, [rsp + 0x158]
call fcn.18009a080
lea rdx, [rsp + 0x1e0]
lea rcx, [rsp + 0x158]
call fcn.18009a080
mov eax, 0x53
mov word [rsp + 0x200], ax
mov eax, 0x75
mov word [rsp + 0x202], ax
mov eax, reloc.WS2_32.dll_WSASetLastError
mov word [rsp + 0x204], ax
mov eax, reloc.WS2_32.dll_WSASetLastError
mov word [rsp + 0x206], ax
mov eax, WSASetLastError
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, WSACleanup
mov word [rsp + 0x1f4], ax
mov eax, WSACleanup
mov word [rsp + 0x1f6], ax
mov eax, 0x69
mov word [rsp + 0x1f8], ax
mov eax, reloc.WS2_32.dll_WSAGetLastError
mov word [rsp + 0x1fa], ax
mov eax, WSASetLastError
mov word [rsp + 0x1fc], ax
xor eax, eax
mov word [rsp + 0x1fe], ax
mov eax, 0x49
mov word [rsp + 0x218], ax
mov eax, WSASetLastError
mov word [rsp + 0x21a], ax
mov eax, WSACleanup
mov word [rsp + 0x21c], ax
mov eax, reloc.WS2_32.dll_WSACleanup
mov word [rsp + 0x21e], ax
mov eax, 0x61
mov word [rsp + 0x220], ax
mov eax, WSASetLastError
mov word [rsp + 0x222], ax
mov eax, WSASetLastError
mov word [rsp + 0x224], ax
mov eax, 0x54
mov word [rsp + 0x226], ax
mov eax, 0x69
mov word [rsp + 0x228], ax
mov eax, WSASetLastError
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.18007d520
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 0x1802ade9d
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 0x1802ade82
mov eax, 2
imul rax, rax, 0x103
mov qword [rsp + 0xb8], rax
cmp qword [rsp + 0xb8], 0x208
jae 0x1802adb83
jmp 0x1802adb88
call fcn.18042d470
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 0x1802ade1a
lea rdx, [rsp + 0x200]
lea rcx, [rsp + 0x340]
call fcn.1800dcd30
movzx eax, al
test eax, eax
je 0x1802adcb8
cmp dword [rsp + 0x148], 4
jne 0x1802adcb3
mov eax, 1
imul rax, rax, 0x103
mov qword [rsp + 0xc0], rax
cmp qword [rsp + 0xc0], 0x104
jae 0x1802adc05
jmp 0x1802adc0a
call fcn.18042d470
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 0x1802adc3e
jmp 0x1802adc43
call fcn.18042d470
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.1800dd350
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.18007d5a0
nop
lea rcx, [rsp + 0x120]
call fcn.18007d580
jmp 0x1802ade1a
lea rdx, [rsp + 0x1f0]
lea rcx, [rsp + 0x340]
call fcn.1800dcd30
movzx eax, al
test eax, eax
je 0x1802add65
cmp dword [rsp + 0x148], 1
jne 0x1802add60
mov eax, 1
imul rax, rax, 0x103
mov qword [rsp + 0xd0], rax
cmp qword [rsp + 0xd0], 0x104
jae 0x1802add06
jmp 0x1802add0b
call fcn.18042d470
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 0x1802add39
jmp 0x1802add3e
call fcn.18042d470
mov rax, qword [rsp + 0x78]
mov byte [rsp + rax + 0x230], 0
lea rdx, [rsp + 0x230]
mov rcx, qword [rsp + 0x580]
call fcn.18007d530
jmp 0x1802ade1a
lea rdx, [rsp + 0x218]
lea rcx, [rsp + 0x340]
call fcn.1800dcd30
movzx eax, al
test eax, eax
je 0x1802ade1a
cmp dword [rsp + 0x148], 1
jne 0x1802ade1a
mov eax, 1
imul rax, rax, 0x103
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x80], 0x104
jae 0x1802addb7
jmp 0x1802addbc
call fcn.18042d470
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 0x1802addf0
jmp 0x1802addf5
call fcn.18042d470
mov rax, qword [rsp + 0x88]
mov byte [rsp + rax + 0x230], 0
lea rdx, [rsp + 0x230]
mov rcx, qword [rsp + 0x588]
call fcn.18007d530
mov eax, 2
imul rax, rax, 0
mov qword [rsp + 0x90], rax
cmp qword [rsp + 0x90], 0x208
jae 0x1802ade3b
jmp 0x1802ade40
call fcn.18042d470
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 0x1802adb04
mov rcx, qword [rsp + 0x140]
call qword [rsp + 0x98]
mov qword [rsp + 0x140], 0
lea rcx, [rsp + 0x158]
call fcn.18007d580
mov rcx, qword [rsp + 0x550]
xor rcx, rsp
call fcn.18042cdf0
add rsp, 0x560
pop rdi
ret