Function at 0x180065060
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 [0x18012b010]
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 0x180065167
call qword [rsp + 0x70]
test eax, eax
je 0x180065167
mov byte [rsp + 0x40], 1
jmp 0x180065394
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 0x18006529e
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 0x18006529e
mov byte [rsp + 0x40], 1
jmp 0x180065394
mov byte [rsp + 0x41], 0
mov rax, qword gs:[0x60]
movzx eax, byte [rax + 2]
cmp eax, 1
jne 0x1800652bf
mov dword [rsp + 0x50], 1
jmp 0x1800652c7
mov dword [rsp + 0x50], 0
movzx eax, byte [rsp + 0x50]
mov byte [rsp + 0x41], al
movzx eax, byte [rsp + 0x41]
test eax, eax
je 0x1800652e3
mov byte [rsp + 0x40], 1
jmp 0x180065394
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 0x18006533f
mov eax, dword [rsp + 0x44]
inc eax
mov dword [rsp + 0x44], eax
movsxd rax, dword [rsp + 0x44]
cmp rax, 4
jae 0x18006538f
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 0x18006538d
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax]
movzx eax, byte [rax]
cmp eax, 0xcc
jne 0x18006538d
mov byte [rsp + 0x40], 1
jmp 0x180065394
jmp 0x180065335
mov byte [rsp + 0x40], 0
movzx eax, byte [rsp + 0x40]
test eax, eax
je 0x1800653a2
jmp 0x180065b7e
mov rcx, qword [rsp + 0x588]
call fcn.18000a100
mov rcx, qword [rsp + 0x578]
call fcn.18000a100
mov rcx, qword [rsp + 0x580]
call fcn.18000a100
lea rdx, str.Advapi32.dll
lea rcx, [rsp + 0x100]
call fcn.180005e38
nop
call fcn.180077ff0
lea rdx, [rsp + 0x100]
mov rcx, rax
call fcn.180078090
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x100]
call fcn.180005de4
cmp qword [rsp + 0x58], 0
jne 0x180065412
jmp 0x180065b7e
lea rdx, [0x1800f40b0]
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, [0x1800f40d8]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x98], rax
cmp qword [rsp + 0xa8], 0
je 0x180065481
cmp qword [rsp + 0xb0], 0
je 0x180065481
cmp qword [rsp + 0x98], 0
jne 0x180065486
jmp 0x180065b7e
mov qword [rsp + 0x140], 0
mov dword [rsp + 0x48], 0x20019
call fcn.18006cdb0
movzx eax, al
test eax, eax
je 0x1800654b2
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.18000d8c0
lea rdx, [0x1800f3708]
lea rcx, [rsp + 0x158]
call fcn.18000d8c0
lea rdx, [rsp + 0x1e0]
lea rcx, [rsp + 0x158]
call fcn.18000d8c0
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 0x180065b71
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 0x180065b56
mov eax, 2
imul rax, rax, 0x103
mov qword [rsp + 0xb8], rax
cmp qword [rsp + 0xb8], 0x208
jae 0x180065857
jmp 0x18006585c
call fcn.1800a039c
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 0x180065aee
lea rdx, [rsp + 0x200]
lea rcx, [rsp + 0x340]
call fcn.18006b560
movzx eax, al
test eax, eax
je 0x18006598c
cmp dword [rsp + 0x148], 4
jne 0x180065987
mov eax, 1
imul rax, rax, 0x103
mov qword [rsp + 0xc0], rax
cmp qword [rsp + 0xc0], 0x104
jae 0x1800658d9
jmp 0x1800658de
call fcn.1800a039c
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 0x180065912
jmp 0x180065917
call fcn.1800a039c
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.18006bb70
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.1800066cc
nop
lea rcx, [rsp + 0x120]
call fcn.180005de4
jmp 0x180065aee
lea rdx, [rsp + 0x1f0]
lea rcx, [rsp + 0x340]
call fcn.18006b560
movzx eax, al
test eax, eax
je 0x180065a39
cmp dword [rsp + 0x148], 1
jne 0x180065a34
mov eax, 1
imul rax, rax, 0x103
mov qword [rsp + 0xd0], rax
cmp qword [rsp + 0xd0], 0x104
jae 0x1800659da
jmp 0x1800659df
call fcn.1800a039c
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 0x180065a0d
jmp 0x180065a12
call fcn.1800a039c
mov rax, qword [rsp + 0x78]
mov byte [rsp + rax + 0x230], 0
lea rdx, [rsp + 0x230]
mov rcx, qword [rsp + 0x580]
call fcn.180005db4
jmp 0x180065aee
lea rdx, [rsp + 0x218]
lea rcx, [rsp + 0x340]
call fcn.18006b560
movzx eax, al
test eax, eax
je 0x180065aee
cmp dword [rsp + 0x148], 1
jne 0x180065aee
mov eax, 1
imul rax, rax, 0x103
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x80], 0x104
jae 0x180065a8b
jmp 0x180065a90
call fcn.1800a039c
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 0x180065ac4
jmp 0x180065ac9
call fcn.1800a039c
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 0x180065b0f
jmp 0x180065b14
call fcn.1800a039c
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 0x1800657d8
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.1800a0260
add rsp, 0x560
pop rdi
ret