Function at 0x47ea10
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 0x4cee65
mov eax, dword fs:[0]
push eax
sub esp, 0x498
mov eax, dword [0x512008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x468], ecx
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 - 0x400], eax
cmp dword [ebp - 0x400], 0
je 0x47eac4
call dword [ebp - 0x400]
test eax, eax
je 0x47eac4
mov byte [ebp - 0x3e5], 1
jmp 0x47ec7c
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 - 0x404], eax
cmp dword [ebp - 0x404], 0
je 0x47eb88
mov dword [ebp - 0x3c0], 0
lea edx, [ebp - 0x3c0]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [ebp - 0x404]
cmp dword [ebp - 0x3c0], 0
je 0x47eb88
mov byte [ebp - 0x3e5], 1
jmp 0x47ec7c
mov byte [ebp - 0x3e6], 0
mov eax, dword fs:[0x30]
movzx ecx, byte [eax + 2]
cmp ecx, 1
jne 0x47ebaa
mov dword [ebp - 0x40c], 1
jmp 0x47ebb4
mov dword [ebp - 0x40c], 0
mov dl, byte [ebp - 0x40c]
mov byte [ebp - 0x3e6], dl
movzx eax, byte [ebp - 0x3e6]
test eax, eax
je 0x47ebd7
mov byte [ebp - 0x3e5], 1
jmp 0x47ec7c
mov ecx, dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x3b8], ecx
mov edx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [ebp - 0x3b4], edx
mov eax, dword [ebp - 0x400]
mov dword [ebp - 0x3b0], eax
mov ecx, dword [ebp - 0x404]
mov dword [ebp - 0x3ac], ecx
lea edx, [ebp - 0x3b8]
mov dword [ebp - 0x440], edx
mov dword [ebp - 0x3f8], 0
jmp 0x47ec2e
mov eax, dword [ebp - 0x3f8]
add eax, 1
mov dword [ebp - 0x3f8], eax
cmp dword [ebp - 0x3f8], 4
jae 0x47ec75
mov ecx, dword [ebp - 0x3f8]
mov edx, dword [ebp - 0x440]
lea eax, [edx + ecx*4]
mov dword [ebp - 0x410], eax
mov ecx, dword [ebp - 0x410]
cmp dword [ecx], 0
je 0x47ec73
mov edx, dword [ebp - 0x410]
mov eax, dword [edx]
movzx ecx, byte [eax]
cmp ecx, 0xcc
jne 0x47ec73
mov byte [ebp - 0x3e5], 1
jmp 0x47ec7c
jmp 0x47ec1f
mov byte [ebp - 0x3e5], 0
movzx edx, byte [ebp - 0x3e5]
test edx, edx
je 0x47ec8c
jmp 0x47f45f
mov ecx, dword [ebp + 0x10]
call fcn.004211b0
mov ecx, dword [ebp + 8]
call fcn.004211b0
mov ecx, dword [ebp + 0xc]
call fcn.004211b0
push str.Advapi32.dll
lea ecx, [ebp - 0x48c]
call fcn.00412eb0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x48c]
push eax
call fcn.00495180
mov ecx, eax
call fcn.00495240
mov dword [ebp - 0x3f4], eax
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x48c]
call fcn.004131f0
mov dword [ebp - 4], 2
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48c]
mov dword [ebp - 0x470], ecx
mov dword [ebp - 4], 3
mov dword [ebp - 4], 4
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x3f4], 0
jne 0x47ed23
jmp 0x47f45f
push str.RegOpenKeyExW
mov edx, dword [ebp - 0x3f4]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x43c], eax
push str.RegEnumValueW
mov eax, dword [ebp - 0x3f4]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x438], eax
push str.RegCloseKey
mov ecx, dword [ebp - 0x3f4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x42c], eax
cmp dword [ebp - 0x43c], 0
je 0x47ed86
cmp dword [ebp - 0x438], 0
je 0x47ed86
cmp dword [ebp - 0x42c], 0
jne 0x47ed8b
jmp 0x47f45f
mov dword [ebp - 0x3e4], 0
mov dword [ebp - 0x444], 0x20019
push str.SOFTWARE_
lea ecx, [ebp - 0x3e0]
call fcn.00412eb0
mov dword [ebp - 4], 5
mov dword [ebp - 0x448], 0x80000002
mov edx, 0x54
mov word [ebp - 0x70], dx
mov eax, 0x65
mov word [ebp - 0x6e], ax
mov ecx, 0x6e
mov word [ebp - 0x6c], cx
mov edx, 0x63
mov word [ebp - 0x6a], dx
mov eax, 0x65
mov word [ebp - 0x68], ax
mov ecx, 0x6e
mov word [ebp - 0x66], cx
mov edx, 0x74
mov word [ebp - 0x64], dx
xor eax, eax
mov word [ebp - 0x62], ax
mov ecx, 0x51
mov word [ebp - 0x60], cx
mov edx, 0x51
mov word [ebp - 0x5e], dx
mov eax, 0x50
mov word [ebp - 0x5c], ax
mov ecx, 0x43
mov word [ebp - 0x5a], cx
mov edx, 0x4d
mov word [ebp - 0x58], dx
mov eax, 0x67
mov word [ebp - 0x56], ax
mov ecx, 0x72
mov word [ebp - 0x54], cx
xor edx, edx
mov word [ebp - 0x52], dx
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x3e0]
call fcn.0041ce00
push 0x4e15d8
lea ecx, [ebp - 0x3e0]
call fcn.0041ce00
lea ecx, [ebp - 0x60]
push ecx
lea ecx, [ebp - 0x3e0]
call fcn.0041ce00
mov edx, 0x53
mov word [ebp - 0x84], dx
mov eax, 0x75
mov word [ebp - 0x82], ax
mov ecx, 0x70
mov word [ebp - 0x80], cx
mov edx, 0x70
mov word [ebp - 0x7e], dx
mov eax, 0x6c
mov word [ebp - 0x7c], ax
mov ecx, 0x79
mov word [ebp - 0x7a], cx
mov edx, 0x49
mov word [ebp - 0x78], dx
mov eax, 0x44
mov word [ebp - 0x76], ax
xor ecx, ecx
mov word [ebp - 0x74], cx
mov edx, 0x56
mov word [ebp - 0x50], dx
mov eax, 0x65
mov word [ebp - 0x4e], ax
mov ecx, 0x72
mov word [ebp - 0x4c], cx
mov edx, 0x73
mov word [ebp - 0x4a], dx
mov eax, 0x69
mov word [ebp - 0x48], ax
mov ecx, 0x6f
mov word [ebp - 0x46], cx
mov edx, 0x6e
mov word [ebp - 0x44], dx
xor eax, eax
mov word [ebp - 0x42], ax
mov ecx, 0x49
mov word [ebp - 0x9c], cx
mov edx, 0x6e
mov word [ebp - 0x9a], dx
mov eax, 0x73
mov word [ebp - 0x98], ax
mov ecx, 0x74
mov word [ebp - 0x96], cx
mov edx, 0x61
mov word [ebp - 0x94], dx
mov eax, 0x6c
mov word [ebp - 0x92], ax
mov ecx, 0x6c
mov word [ebp - 0x90], cx
mov edx, 0x54
mov word [ebp - 0x8e], dx
mov eax, 0x69
mov word [ebp - 0x8c], ax
mov ecx, 0x6d
mov word [ebp - 0x8a], cx
mov edx, 0x65
mov word [ebp - 0x88], dx
xor eax, eax
mov word [ebp - 0x86], ax
lea ecx, [ebp - 0x3e4]
push ecx
mov edx, dword [ebp - 0x444]
push edx
push 0
lea ecx, [ebp - 0x3e0]
call fcn.0041cdc0
push eax
mov eax, dword [ebp - 0x448]
push eax
call dword [ebp - 0x43c]
test eax, eax
jne 0x47f41e
mov dword [ebp - 0x408], 0
mov dword [ebp - 0x3bc], 0
mov dword [ebp - 0x3c4], 0x103
mov dword [ebp - 0x3c8], 0x103
push 0x208
push 0
lea ecx, [ebp - 0x3a8]
push ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0x104
push 0
lea edx, [ebp - 0x1a0]
push edx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x3c8]
push eax
lea ecx, [ebp - 0x1a0]
push ecx
lea edx, [ebp - 0x3bc]
push edx
push 0
lea eax, [ebp - 0x3c4]
push eax
lea ecx, [ebp - 0x3a8]
push ecx
mov edx, dword [ebp - 0x408]
push edx
mov eax, dword [ebp - 0x3e4]
push eax
call dword [ebp - 0x438]
test eax, eax
jne 0x47f407
mov ecx, 2
imul edx, ecx, 0x103
mov dword [ebp - 0x434], edx
cmp dword [ebp - 0x434], 0x208
jae 0x47f083
jmp 0x47f088
call fcn.004b6b8d
xor eax, eax
mov ecx, dword [ebp - 0x434]
mov word [ebp + ecx - 0x3a8], ax
mov edx, 2
imul eax, edx, 0
movzx ecx, word [ebp + eax - 0x3a8]
test ecx, ecx
je 0x47f3a4
lea edx, [ebp - 0x84]
lea ecx, [ebp - 0x3a8]
call fcn.004865b0
movzx edx, al
test edx, edx
je 0x47f1bc
cmp dword [ebp - 0x3bc], 4
jne 0x47f1b7
mov eax, 1
imul ecx, eax, 0x103
mov dword [ebp - 0x430], ecx
cmp dword [ebp - 0x430], 0x104
jae 0x47f0f8
jmp 0x47f0fd
call fcn.004b6b8d
mov edx, dword [ebp - 0x430]
mov byte [ebp + edx - 0x1a0], 0
mov eax, 1
imul ecx, eax, 0x102
mov dword [ebp - 0x428], ecx
cmp dword [ebp - 0x428], 0x104
jae 0x47f12a
jmp 0x47f12f
call fcn.004b6b8d
mov edx, dword [ebp - 0x428]
mov byte [ebp + edx - 0x1a0], 0
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp + ecx - 0x1a0]
mov dword [ebp - 0x44c], edx
mov edx, dword [ebp - 0x44c]
lea ecx, [ebp - 0x4a4]
call fcn.00486bc0
mov dword [ebp - 0x450], eax
mov eax, dword [ebp - 0x450]
mov dword [ebp - 0x454], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x454]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00418e50
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x4a4]
call fcn.004131f0
mov byte [ebp - 4], 8
mov byte [ebp - 4], 5
lea edx, [ebp - 0x4a4]
mov dword [ebp - 0x474], edx
mov byte [ebp - 4], 9
mov byte [ebp - 4], 0xa
mov byte [ebp - 4], 5
jmp 0x47f3a4
lea edx, [ebp - 0x50]
lea ecx, [ebp - 0x3a8]
call fcn.004865b0
movzx eax, al
test eax, eax
je 0x47f2b1
cmp dword [ebp - 0x3bc], 1
jne 0x47f2ac
mov ecx, 1
imul edx, ecx, 0x103
mov dword [ebp - 0x424], edx
cmp dword [ebp - 0x424], 0x104
jae 0x47f201
jmp 0x47f206
call fcn.004b6b8d
mov eax, dword [ebp - 0x424]
mov byte [ebp + eax - 0x1a0], 0
mov ecx, 1
imul edx, ecx, 0x102
mov dword [ebp - 0x420], edx
cmp dword [ebp - 0x420], 0x104
jae 0x47f233
jmp 0x47f238
call fcn.004b6b8d
mov eax, dword [ebp - 0x420]
mov byte [ebp + eax - 0x1a0], 0
lea ecx, [ebp - 0x1a0]
mov dword [ebp - 0x3ec], ecx
mov edx, dword [ebp - 0x3ec]
add edx, 2
mov dword [ebp - 0x458], edx
mov eax, dword [ebp - 0x3ec]
mov cx, word [eax]
mov word [ebp - 0x3fa], cx
add dword [ebp - 0x3ec], 2
cmp word [ebp - 0x3fa], 0
jne 0x47f261
mov edx, dword [ebp - 0x3ec]
sub edx, dword [ebp - 0x458]
sar edx, 1
mov dword [ebp - 0x45c], edx
mov eax, dword [ebp - 0x45c]
push eax
lea ecx, [ebp - 0x1a0]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.00413310
jmp 0x47f3a4
lea edx, [ebp - 0x9c]
lea ecx, [ebp - 0x3a8]
call fcn.004865b0
movzx edx, al
test edx, edx
je 0x47f3a4
cmp dword [ebp - 0x3bc], 1
jne 0x47f3a4
mov eax, 1
imul ecx, eax, 0x103
mov dword [ebp - 0x41c], ecx
cmp dword [ebp - 0x41c], 0x104
jae 0x47f2f9
jmp 0x47f2fe
call fcn.004b6b8d
mov edx, dword [ebp - 0x41c]
mov byte [ebp + edx - 0x1a0], 0
mov eax, 1
imul ecx, eax, 0x102
mov dword [ebp - 0x418], ecx
cmp dword [ebp - 0x418], 0x104
jae 0x47f32b
jmp 0x47f330
call fcn.004b6b8d
mov edx, dword [ebp - 0x418]
mov byte [ebp + edx - 0x1a0], 0
lea eax, [ebp - 0x1a0]
mov dword [ebp - 0x3f0], eax
mov ecx, dword [ebp - 0x3f0]
add ecx, 2
mov dword [ebp - 0x460], ecx
mov edx, dword [ebp - 0x3f0]
mov ax, word [edx]
mov word [ebp - 0x3fc], ax
add dword [ebp - 0x3f0], 2
cmp word [ebp - 0x3fc], 0
jne 0x47f359
mov ecx, dword [ebp - 0x3f0]
sub ecx, dword [ebp - 0x460]
sar ecx, 1
mov dword [ebp - 0x464], ecx
mov edx, dword [ebp - 0x464]
push edx
lea eax, [ebp - 0x1a0]
push eax
mov ecx, dword [ebp + 0x10]
call fcn.00413310
mov ecx, 2
imul edx, ecx, 0
mov dword [ebp - 0x414], edx
cmp dword [ebp - 0x414], 0x208
jae 0x47f3c0
jmp 0x47f3c5
call fcn.004b6b8d
xor eax, eax
mov ecx, dword [ebp - 0x414]
mov word [ebp + ecx - 0x3a8], ax
mov dword [ebp - 0x3c4], 0x103
mov dword [ebp - 0x3c8], 0x103
mov dword [ebp - 0x3bc], 0
mov edx, dword [ebp - 0x408]
add edx, 1
mov dword [ebp - 0x408], edx
jmp 0x47f023
mov eax, dword [ebp - 0x3e4]
push eax
call dword [ebp - 0x42c]
mov dword [ebp - 0x3e4], 0
mov dword [ebp - 4], 0xb
lea ecx, [ebp - 0x3e0]
call fcn.004131f0
mov dword [ebp - 4], 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3e0]
mov dword [ebp - 0x46c], ecx
mov dword [ebp - 4], 0xd
mov dword [ebp - 4], 0xe
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b6413
mov esp, ebp
pop ebp
ret 0xc