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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d12b4
mov eax, dword fs:[0]
push eax
sub esp, 0x8f0
mov eax, dword [0x516008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x8d8], ecx
mov dword [ebp - 0x884], 0
mov byte [ebp - 0x24], 0x49
mov byte [ebp - 0x23], 0x73
mov byte [ebp - 0x22], 0x44
mov byte [ebp - 0x21], 0x65
mov byte [ebp - 0x20], 0x62
mov byte [ebp - 0x1f], 0x75
mov byte [ebp - 0x1e], 0x67
mov byte [ebp - 0x1d], 0x67
mov byte [ebp - 0x1c], 0x65
mov byte [ebp - 0x1b], 0x72
mov byte [ebp - 0x1a], 0x50
mov byte [ebp - 0x19], 0x72
mov byte [ebp - 0x18], 0x65
mov byte [ebp - 0x17], 0x73
mov byte [ebp - 0x16], 0x65
mov byte [ebp - 0x15], 0x6e
mov byte [ebp - 0x14], 0x74
mov byte [ebp - 0x13], 0
lea eax, [ebp - 0x24]
push eax
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x898], eax
cmp dword [ebp - 0x898], 0
je 0x47f56e
call dword [ebp - 0x898]
test eax, eax
je 0x47f56e
mov byte [ebp - 0x87d], 1
jmp 0x47f726
mov byte [ebp - 0x40], 0x43
mov byte [ebp - 0x3f], 0x68
mov byte [ebp - 0x3e], 0x65
mov byte [ebp - 0x3d], 0x63
mov byte [ebp - 0x3c], 0x6b
mov byte [ebp - 0x3b], 0x52
mov byte [ebp - 0x3a], 0x65
mov byte [ebp - 0x39], 0x6d
mov byte [ebp - 0x38], 0x6f
mov byte [ebp - 0x37], 0x74
mov byte [ebp - 0x36], 0x65
mov byte [ebp - 0x35], 0x44
mov byte [ebp - 0x34], 0x65
mov byte [ebp - 0x33], 0x62
mov byte [ebp - 0x32], 0x75
mov byte [ebp - 0x31], 0x67
mov byte [ebp - 0x30], 0x67
mov byte [ebp - 0x2f], 0x65
mov byte [ebp - 0x2e], 0x72
mov byte [ebp - 0x2d], 0x50
mov byte [ebp - 0x2c], 0x72
mov byte [ebp - 0x2b], 0x65
mov byte [ebp - 0x2a], 0x73
mov byte [ebp - 0x29], 0x65
mov byte [ebp - 0x28], 0x6e
mov byte [ebp - 0x27], 0x74
mov byte [ebp - 0x26], 0
lea ecx, [ebp - 0x40]
push ecx
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x89c], eax
cmp dword [ebp - 0x89c], 0
je 0x47f632
mov dword [ebp - 0x85c], 0
lea edx, [ebp - 0x85c]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [ebp - 0x89c]
cmp dword [ebp - 0x85c], 0
je 0x47f632
mov byte [ebp - 0x87d], 1
jmp 0x47f726
mov byte [ebp - 0x87e], 0
mov eax, dword fs:[0x30]
movzx ecx, byte [eax + 2]
cmp ecx, 1
jne 0x47f654
mov dword [ebp - 0x8bc], 1
jmp 0x47f65e
mov dword [ebp - 0x8bc], 0
mov dl, byte [ebp - 0x8bc]
mov byte [ebp - 0x87e], dl
movzx eax, byte [ebp - 0x87e]
test eax, eax
je 0x47f681
mov byte [ebp - 0x87d], 1
jmp 0x47f726
mov ecx, dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x850], ecx
mov edx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [ebp - 0x84c], edx
mov eax, dword [ebp - 0x898]
mov dword [ebp - 0x848], eax
mov ecx, dword [ebp - 0x89c]
mov dword [ebp - 0x844], ecx
lea edx, [ebp - 0x850]
mov dword [ebp - 0x8c4], edx
mov dword [ebp - 0x88c], 0
jmp 0x47f6d8
mov eax, dword [ebp - 0x88c]
add eax, 1
mov dword [ebp - 0x88c], eax
cmp dword [ebp - 0x88c], 4
jae 0x47f71f
mov ecx, dword [ebp - 0x88c]
mov edx, dword [ebp - 0x8c4]
lea eax, [edx + ecx*4]
mov dword [ebp - 0x8b8], eax
mov ecx, dword [ebp - 0x8b8]
cmp dword [ecx], 0
je 0x47f71d
mov edx, dword [ebp - 0x8b8]
mov eax, dword [edx]
movzx ecx, byte [eax]
cmp ecx, 0xcc
jne 0x47f71d
mov byte [ebp - 0x87d], 1
jmp 0x47f726
jmp 0x47f6c9
mov byte [ebp - 0x87d], 0
movzx edx, byte [ebp - 0x87d]
test edx, edx
je 0x47f75c
push 0x4e3bfc
mov ecx, dword [ebp + 8]
call fcn.00412eb0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x884]
or eax, 1
mov dword [ebp - 0x884], eax
mov eax, dword [ebp + 8]
jmp 0x47fb2e
push str.Advapi32.dll
lea ecx, [ebp - 0x8fc]
call fcn.00412eb0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x8fc]
push ecx
call fcn.00497860
mov ecx, eax
call fcn.00497920
mov dword [ebp - 0x890], eax
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x8fc]
call fcn.004131f0
mov dword [ebp - 4], 3
mov byte [ebp - 4], 0
lea edx, [ebp - 0x8fc]
mov dword [ebp - 0x8dc], edx
mov dword [ebp - 4], 4
mov dword [ebp - 4], 5
mov byte [ebp - 4], 0
cmp dword [ebp - 0x890], 0
jne 0x47f841
mov eax, dword [ebp + 8]
mov dword [ebp - 0x8c8], eax
mov ecx, dword [ebp - 0x8c8]
mov dword [ebp - 0x8b4], ecx
mov dword [ebp - 4], 6
mov edx, dword [ebp - 0x8b4]
mov dword [edx + 0x10], 0
mov eax, dword [ebp - 0x8b4]
mov dword [eax + 0x14], 0
mov dword [ebp - 4], 7
mov dword [ebp - 4], 8
mov dword [ebp - 4], 9
mov ecx, dword [ebp + 8]
call fcn.004132b0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x884]
or ecx, 1
mov dword [ebp - 0x884], ecx
mov eax, dword [ebp + 8]
jmp 0x47fb2e
push str.RegOpenKeyExW
mov edx, dword [ebp - 0x890]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x8ac], eax
push str.RegQueryValueExW
mov eax, dword [ebp - 0x890]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x8c0], eax
push str.RegCloseKey
mov ecx, dword [ebp - 0x890]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x8a8], eax
cmp dword [ebp - 0x8ac], 0
je 0x47f8a4
cmp dword [ebp - 0x8c0], 0
je 0x47f8a4
cmp dword [ebp - 0x8a8], 0
jne 0x47f915
mov edx, dword [ebp + 8]
mov dword [ebp - 0x8cc], edx
mov eax, dword [ebp - 0x8cc]
mov dword [ebp - 0x8b0], eax
mov dword [ebp - 4], 0xa
mov ecx, dword [ebp - 0x8b0]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 0x8b0]
mov dword [edx + 0x14], 0
mov dword [ebp - 4], 0xb
mov dword [ebp - 4], 0xc
mov dword [ebp - 4], 0xd
mov ecx, dword [ebp + 8]
call fcn.004132b0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x884]
or eax, 1
mov dword [ebp - 0x884], eax
mov eax, dword [ebp + 8]
jmp 0x47fb2e
push 4
lea ecx, [ebp - 0x858]
call fcn.0042e570
lea ecx, [ebp - 0x858]
call fcn.00495eb0
mov dword [ebp - 4], 0xe
cmp dword [ebp + 0xc], 0x80000001
jne 0x47f950
push 0x20019
lea ecx, [ebp - 0x858]
call fcn.00495f00
mov dword [ebp + 0xc], eax
lea ecx, [ebp - 0x878]
call fcn.00412f80
mov byte [ebp - 4], 0xf
mov dword [ebp - 0x87c], 0
mov dword [ebp - 0x8a0], 0x20019
cmp dword [ebp + 0x18], 0
je 0x47f988
mov ecx, dword [ebp - 0x8a0]
or ecx, dword [ebp + 0x18]
mov dword [ebp - 0x8a0], ecx
lea edx, [ebp - 0x87c]
push edx
mov eax, dword [ebp - 0x8a0]
push eax
push 0
mov ecx, dword [ebp + 0x10]
call fcn.0041cdc0
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [ebp - 0x8ac]
test eax, eax
jne 0x47facf
mov dword [ebp - 0x8e0], 0x400
push 0x800
push 0
lea edx, [ebp - 0x840]
push edx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x854], 0x7fe
mov dword [ebp - 0x860], 1
lea eax, [ebp - 0x854]
push eax
lea ecx, [ebp - 0x840]
push ecx
lea edx, [ebp - 0x860]
push edx
push 0
mov ecx, dword [ebp + 0x14]
call fcn.0041cdc0
push eax
mov eax, dword [ebp - 0x87c]
push eax
call dword [ebp - 0x8c0]
test eax, eax
jne 0x47fac2
cmp dword [ebp - 0x854], 0x400
jae 0x47fa59
mov ecx, dword [ebp - 0x854]
shl ecx, 1
mov dword [ebp - 0x8a4], ecx
cmp dword [ebp - 0x8a4], 0x800
jae 0x47fa44
jmp 0x47fa49
call fcn.004b924d
xor edx, edx
mov eax, dword [ebp - 0x8a4]
mov word [ebp + eax - 0x840], dx
lea ecx, [ebp - 0x840]
mov dword [ebp - 0x888], ecx
mov edx, dword [ebp - 0x888]
add edx, 2
mov dword [ebp - 0x8d0], edx
mov eax, dword [ebp - 0x888]
mov cx, word [eax]
mov word [ebp - 0x892], cx
add dword [ebp - 0x888], 2
cmp word [ebp - 0x892], 0
jne 0x47fa74
mov edx, dword [ebp - 0x888]
sub edx, dword [ebp - 0x8d0]
sar edx, 1
mov dword [ebp - 0x8d4], edx
mov eax, dword [ebp - 0x8d4]
push eax
lea ecx, [ebp - 0x840]
push ecx
lea ecx, [ebp - 0x878]
call fcn.00413310
mov edx, dword [ebp - 0x87c]
push edx
call dword [ebp - 0x8a8]
lea eax, [ebp - 0x878]
push eax
mov ecx, dword [ebp + 8]
call fcn.00418f00
mov ecx, dword [ebp - 0x884]
or ecx, 1
mov dword [ebp - 0x884], ecx
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x878]
call fcn.004131f0
mov byte [ebp - 4], 0x11
mov byte [ebp - 4], 0xe
lea edx, [ebp - 0x878]
mov dword [ebp - 0x8e4], edx
mov byte [ebp - 4], 0x12
mov byte [ebp - 4], 0x13
mov byte [ebp - 4], 0xe
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x858]
call fcn.00495ec0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b8ad3
mov esp, ebp
pop ebp
ret 0x14