Function at 0x180065540
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 [0x180132010]
xor rax, rsp
mov qword [rsp + 0x550], rax
mov byte [rsp + 0x198], 0x49
mov byte [rsp + 0x199], 0x73
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], 0x72
mov byte [rsp + 0x1a2], 0x50
mov byte [rsp + 0x1a3], 0x72
mov byte [rsp + 0x1a4], 0x65
mov byte [rsp + 0x1a5], 0x73
mov byte [rsp + 0x1a6], 0x65
mov byte [rsp + 0x1a7], 0x6e
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 0x180065647
call qword [rsp + 0x70]
test eax, eax
je 0x180065647
mov byte [rsp + 0x40], 1
jmp 0x180065874
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], 0x6d
mov byte [rsp + 0x1b8], 0x6f
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], 0x72
mov byte [rsp + 0x1c3], 0x50
mov byte [rsp + 0x1c4], 0x72
mov byte [rsp + 0x1c5], 0x65
mov byte [rsp + 0x1c6], 0x73
mov byte [rsp + 0x1c7], 0x65
mov byte [rsp + 0x1c8], 0x6e
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 0x18006577e
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 0x18006577e
mov byte [rsp + 0x40], 1
jmp 0x180065874
mov byte [rsp + 0x41], 0
mov rax, qword gs:[0x60]
movzx eax, byte [rax + 2]
cmp eax, 1
jne 0x18006579f
mov dword [rsp + 0x50], 1
jmp 0x1800657a7
mov dword [rsp + 0x50], 0
movzx eax, byte [rsp + 0x50]
mov byte [rsp + 0x41], al
movzx eax, byte [rsp + 0x41]
test eax, eax
je 0x1800657c3
mov byte [rsp + 0x40], 1
jmp 0x180065874
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 0x18006581f
mov eax, dword [rsp + 0x44]
inc eax
mov dword [rsp + 0x44], eax
movsxd rax, dword [rsp + 0x44]
cmp rax, 4
jae 0x18006586f
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 0x18006586d
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax]
movzx eax, byte [rax]
cmp eax, 0xcc
jne 0x18006586d
mov byte [rsp + 0x40], 1
jmp 0x180065874
jmp 0x180065815
mov byte [rsp + 0x40], 0
movzx eax, byte [rsp + 0x40]
test eax, eax
je 0x180065882
jmp 0x18006605e
mov rcx, qword [rsp + 0x588]
call fcn.18000b510
mov rcx, qword [rsp + 0x578]
call fcn.18000b510
mov rcx, qword [rsp + 0x580]
call fcn.18000b510
lea rdx, str.Advapi32.dll
lea rcx, [rsp + 0x100]
call fcn.180005e38
nop
call fcn.18007caa0
lea rdx, [rsp + 0x100]
mov rcx, rax
call fcn.18007cb40
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x100]
call fcn.180005de4
cmp qword [rsp + 0x58], 0
jne 0x1800658f2
jmp 0x18006605e
lea rdx, [0x1800f92f0]
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, [0x1800f9318]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x98], rax
cmp qword [rsp + 0xa8], 0
je 0x180065961
cmp qword [rsp + 0xb0], 0
je 0x180065961
cmp qword [rsp + 0x98], 0
jne 0x180065966
jmp 0x18006605e
mov qword [rsp + 0x140], 0
mov dword [rsp + 0x48], 0x20019
call fcn.18006d290
movzx eax, al
test eax, eax
je 0x180065992
mov eax, dword [rsp + 0x48]
bts eax, 9
mov dword [rsp + 0x48], eax
lea rdx, str.SOFTWARE_
lea rcx, [rsp + 0x158]
call fcn.180005e38
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, 0x72
mov word [rsp + 0x1ec], ax
xor eax, eax
mov word [rsp + 0x1ee], ax
lea rdx, [rsp + 0x1d0]
lea rcx, [rsp + 0x158]
call fcn.18000dda0
lea rdx, [0x1800f8738]
lea rcx, [rsp + 0x158]
call fcn.18000dda0
lea rdx, [rsp + 0x1e0]
lea rcx, [rsp + 0x158]
call fcn.18000dda0
mov eax, 0x53
mov word [rsp + 0x200], ax
mov eax, 0x75
mov word [rsp + 0x202], ax
mov eax, 0x70
mov word [rsp + 0x204], ax
mov eax, 0x70
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, 0x72
mov word [rsp + 0x1f4], ax
mov eax, 0x73
mov word [rsp + 0x1f6], ax
mov eax, 0x69
mov word [rsp + 0x1f8], ax
mov eax, 0x6f
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, 0x73
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.18000618c
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 0x180066051
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 0x180066036
mov eax, 2
imul rax, rax, 0x103
mov qword [rsp + 0xb8], rax
cmp qword [rsp + 0xb8], 0x208
jae 0x180065d37
jmp 0x180065d3c
call fcn.1800a513c
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 0x180065fce
lea rdx, [rsp + 0x200]
lea rcx, [rsp + 0x340]
call fcn.18006ba40
movzx eax, al
test eax, eax
je 0x180065e6c
cmp dword [rsp + 0x148], 4
jne 0x180065e67
mov eax, 1
imul rax, rax, 0x103
mov qword [rsp + 0xc0], rax
cmp qword [rsp + 0xc0], 0x104
jae 0x180065db9
jmp 0x180065dbe
call fcn.1800a513c
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 0x180065df2
jmp 0x180065df7
call fcn.1800a513c
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.18006c050
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.18000681c
nop
lea rcx, [rsp + 0x120]
call fcn.180005de4
jmp 0x180065fce
lea rdx, [rsp + 0x1f0]
lea rcx, [rsp + 0x340]
call fcn.18006ba40
movzx eax, al
test eax, eax
je 0x180065f19
cmp dword [rsp + 0x148], 1
jne 0x180065f14
mov eax, 1
imul rax, rax, 0x103
mov qword [rsp + 0xd0], rax
cmp qword [rsp + 0xd0], 0x104
jae 0x180065eba
jmp 0x180065ebf
call fcn.1800a513c
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 0x180065eed
jmp 0x180065ef2
call fcn.1800a513c
mov rax, qword [rsp + 0x78]
mov byte [rsp + rax + 0x230], 0
lea rdx, [rsp + 0x230]
mov rcx, qword [rsp + 0x580]
call fcn.180005db4
jmp 0x180065fce
lea rdx, [rsp + 0x218]
lea rcx, [rsp + 0x340]
call fcn.18006ba40
movzx eax, al
test eax, eax
je 0x180065fce
cmp dword [rsp + 0x148], 1
jne 0x180065fce
mov eax, 1
imul rax, rax, 0x103
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x80], 0x104
jae 0x180065f6b
jmp 0x180065f70
call fcn.1800a513c
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 0x180065fa4
jmp 0x180065fa9
call fcn.1800a513c
mov rax, qword [rsp + 0x88]
mov byte [rsp + rax + 0x230], 0
lea rdx, [rsp + 0x230]
mov rcx, qword [rsp + 0x588]
call fcn.180005db4
mov eax, 2
imul rax, rax, 0
mov qword [rsp + 0x90], rax
cmp qword [rsp + 0x90], 0x208
jae 0x180065fef
jmp 0x180065ff4
call fcn.1800a513c
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 0x180065cb8
mov rcx, qword [rsp + 0x140]
call qword [rsp + 0x98]
mov qword [rsp + 0x140], 0
lea rcx, [rsp + 0x158]
call fcn.180005de4
mov rcx, qword [rsp + 0x550]
xor rcx, rsp
call fcn.1800a5000
add rsp, 0x560
pop rdi
ret