Function at 0x4a6f70
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 0x5236f1
mov eax, dword fs:[0]
push eax
sub esp, 0x470
mov eax, dword [0x573054]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x44c], 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 - 0x3f4], eax
cmp dword [ebp - 0x3f4], 0
je 0x4a7024
call dword [ebp - 0x3f4]
test eax, eax
je 0x4a7024
mov byte [ebp - 0x3e5], 1
jmp 0x4a71dc
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 - 0x3f8], eax
cmp dword [ebp - 0x3f8], 0
je 0x4a70e8
mov dword [ebp - 0x3c8], 0
lea edx, [ebp - 0x3c8]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [ebp - 0x3f8]
cmp dword [ebp - 0x3c8], 0
je 0x4a70e8
mov byte [ebp - 0x3e5], 1
jmp 0x4a71dc
mov byte [ebp - 0x3e6], 0
mov eax, dword fs:[0x30]
movzx ecx, byte [eax + 2]
cmp ecx, 1
jne 0x4a710a
mov dword [ebp - 0x430], 1
jmp 0x4a7114
mov dword [ebp - 0x430], 0
mov dl, byte [ebp - 0x430]
mov byte [ebp - 0x3e6], dl
movzx eax, byte [ebp - 0x3e6]
test eax, eax
je 0x4a7137
mov byte [ebp - 0x3e5], 1
jmp 0x4a71dc
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 - 0x3f4]
mov dword [ebp - 0x3b0], eax
mov ecx, dword [ebp - 0x3f8]
mov dword [ebp - 0x3ac], ecx
lea edx, [ebp - 0x3b8]
mov dword [ebp - 0x434], edx
mov dword [ebp - 0x3ec], 0
jmp 0x4a718e
mov eax, dword [ebp - 0x3ec]
add eax, 1
mov dword [ebp - 0x3ec], eax
cmp dword [ebp - 0x3ec], 4
jae 0x4a71d5
mov ecx, dword [ebp - 0x3ec]
mov edx, dword [ebp - 0x434]
lea eax, [edx + ecx*4]
mov dword [ebp - 0x42c], eax
mov ecx, dword [ebp - 0x42c]
cmp dword [ecx], 0
je 0x4a71d3
mov edx, dword [ebp - 0x42c]
mov eax, dword [edx]
movzx ecx, byte [eax]
cmp ecx, 0xcc
jne 0x4a71d3
mov byte [ebp - 0x3e5], 1
jmp 0x4a71dc
jmp 0x4a717f
mov byte [ebp - 0x3e5], 0
movzx edx, byte [ebp - 0x3e5]
test edx, edx
je 0x4a71ec
jmp 0x4a7896
mov ecx, dword [ebp + 0x10]
call fcn.00415990
mov ecx, dword [ebp + 8]
call fcn.00415990
mov ecx, dword [ebp + 0xc]
call fcn.00415990
push str.Advapi32.dll
lea ecx, [ebp - 0x464]
call fcn.004032f0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x464]
push eax
call fcn.004c7df0
mov ecx, eax
call fcn.004c7eb0
mov dword [ebp - 0x3f0], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x464]
call fcn.004032a0
cmp dword [ebp - 0x3f0], 0
jne 0x4a7254
jmp 0x4a7896
push 0x53aa50
mov ecx, dword [ebp - 0x3f0]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x428], eax
push str.RegEnumValueW
mov edx, dword [ebp - 0x3f0]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x420], eax
push 0x53aabc
mov eax, dword [ebp - 0x3f0]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x404], eax
cmp dword [ebp - 0x428], 0
je 0x4a72b7
cmp dword [ebp - 0x420], 0
je 0x4a72b7
cmp dword [ebp - 0x404], 0
jne 0x4a72bc
jmp 0x4a7896
mov dword [ebp - 0x3e4], 0
mov dword [ebp - 0x438], 0x20019
push str.SOFTWARE_
lea ecx, [ebp - 0x3e0]
call fcn.004032f0
mov dword [ebp - 4], 1
mov dword [ebp - 0x43c], reloc.OLEAUT32.dll_SysReAllocString
mov ecx, 0x54
mov word [ebp - 0x70], cx
mov edx, 0x65
mov word [ebp - 0x6e], dx
mov eax, 0x6e
mov word [ebp - 0x6c], ax
mov ecx, 0x63
mov word [ebp - 0x6a], cx
mov edx, 0x65
mov word [ebp - 0x68], dx
mov eax, 0x6e
mov word [ebp - 0x66], ax
mov ecx, 0x74
mov word [ebp - 0x64], cx
xor edx, edx
mov word [ebp - 0x62], dx
mov eax, 0x51
mov word [ebp - 0x60], ax
mov ecx, 0x51
mov word [ebp - 0x5e], cx
mov edx, 0x50
mov word [ebp - 0x5c], dx
mov eax, 0x43
mov word [ebp - 0x5a], ax
mov ecx, 0x4d
mov word [ebp - 0x58], cx
mov edx, 0x67
mov word [ebp - 0x56], dx
mov eax, 0x72
mov word [ebp - 0x54], ax
xor ecx, ecx
mov word [ebp - 0x52], cx
lea edx, [ebp - 0x70]
push edx
lea ecx, [ebp - 0x3e0]
call fcn.004090b0
push 0x539e20
lea ecx, [ebp - 0x3e0]
call fcn.004090b0
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x3e0]
call fcn.004090b0
mov ecx, 0x53
mov word [ebp - 0x84], cx
mov edx, 0x75
mov word [ebp - 0x82], dx
mov eax, 0x70
mov word [ebp - 0x80], ax
mov ecx, 0x70
mov word [ebp - 0x7e], cx
mov edx, 0x6c
mov word [ebp - 0x7c], dx
mov eax, 0x79
mov word [ebp - 0x7a], ax
mov ecx, 0x49
mov word [ebp - 0x78], cx
mov edx, 0x44
mov word [ebp - 0x76], dx
xor eax, eax
mov word [ebp - 0x74], ax
mov ecx, 0x56
mov word [ebp - 0x50], cx
mov edx, 0x65
mov word [ebp - 0x4e], dx
mov eax, 0x72
mov word [ebp - 0x4c], ax
mov ecx, 0x73
mov word [ebp - 0x4a], cx
mov edx, 0x69
mov word [ebp - 0x48], dx
mov eax, 0x6f
mov word [ebp - 0x46], ax
mov ecx, 0x6e
mov word [ebp - 0x44], cx
xor edx, edx
mov word [ebp - 0x42], dx
mov eax, 0x49
mov word [ebp - 0x9c], ax
mov ecx, 0x6e
mov word [ebp - 0x9a], cx
mov edx, 0x73
mov word [ebp - 0x98], dx
mov eax, 0x74
mov word [ebp - 0x96], ax
mov ecx, 0x61
mov word [ebp - 0x94], cx
mov edx, 0x6c
mov word [ebp - 0x92], dx
mov eax, 0x6c
mov word [ebp - 0x90], ax
mov ecx, 0x54
mov word [ebp - 0x8e], cx
mov edx, 0x69
mov word [ebp - 0x8c], dx
mov eax, 0x6d
mov word [ebp - 0x8a], ax
mov ecx, 0x65
mov word [ebp - 0x88], cx
xor edx, edx
mov word [ebp - 0x86], dx
lea eax, [ebp - 0x3e4]
push eax
mov ecx, dword [ebp - 0x438]
push ecx
push 0
lea ecx, [ebp - 0x3e0]
call fcn.00405910
push eax
mov edx, dword [ebp - 0x43c]
push edx
call dword [ebp - 0x428]
test eax, eax
jne 0x4a7884
mov dword [ebp - 0x3fc], 0
mov dword [ebp - 0x3bc], 0
mov dword [ebp - 0x3c0], 0x103
mov dword [ebp - 0x3c4], 0x103
push 0x208
push 0
lea eax, [ebp - 0x3a8]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0x104
push 0
lea ecx, [ebp - 0x1a0]
push ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea edx, [ebp - 0x3c4]
push edx
lea eax, [ebp - 0x1a0]
push eax
lea ecx, [ebp - 0x3bc]
push ecx
push 0
lea edx, [ebp - 0x3c0]
push edx
lea eax, [ebp - 0x3a8]
push eax
mov ecx, dword [ebp - 0x3fc]
push ecx
mov edx, dword [ebp - 0x3e4]
push edx
call dword [ebp - 0x420]
test eax, eax
jne 0x4a786d
mov eax, 2
imul ecx, eax, 0x103
mov dword [ebp - 0x41c], ecx
cmp dword [ebp - 0x41c], 0x208
jae 0x4a75b4
jmp 0x4a75b9
call fcn.0050f9fe
xor edx, edx
mov eax, dword [ebp - 0x41c]
mov word [ebp + eax - 0x3a8], dx
mov ecx, 2
imul edx, ecx, 0
movzx eax, word [ebp + edx - 0x3a8]
test eax, eax
je 0x4a780a
lea ecx, [ebp - 0x84]
push ecx
lea edx, [ebp - 0x3a8]
push edx
call fcn.004b3da0
add esp, 8
movzx eax, al
test eax, eax
je 0x4a76d2
cmp dword [ebp - 0x3bc], 4
jne 0x4a76cd
mov ecx, 1
imul edx, ecx, 0x103
mov dword [ebp - 0x418], edx
cmp dword [ebp - 0x418], 0x104
jae 0x4a762e
jmp 0x4a7633
call fcn.0050f9fe
mov eax, dword [ebp - 0x418]
mov byte [ebp + eax - 0x1a0], 0
mov ecx, 1
imul edx, ecx, 0x102
mov dword [ebp - 0x414], edx
cmp dword [ebp - 0x414], 0x104
jae 0x4a7660
jmp 0x4a7665
call fcn.0050f9fe
mov eax, dword [ebp - 0x414]
mov byte [ebp + eax - 0x1a0], 0
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [ebp + edx - 0x1a0]
mov dword [ebp - 0x440], eax
mov edx, dword [ebp - 0x440]
lea ecx, [ebp - 0x47c]
call fcn.004b4340
mov dword [ebp - 0x444], eax
mov ecx, dword [ebp - 0x444]
mov dword [ebp - 0x448], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x448]
push edx
mov ecx, dword [ebp + 8]
call fcn.004032b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x47c]
call fcn.004032a0
jmp 0x4a780a
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x3a8]
push ecx
call fcn.004b3da0
add esp, 8
movzx edx, al
test edx, edx
je 0x4a7771
cmp dword [ebp - 0x3bc], 1
jne 0x4a776c
mov eax, 1
imul ecx, eax, 0x103
mov dword [ebp - 0x424], ecx
cmp dword [ebp - 0x424], 0x104
jae 0x4a7718
jmp 0x4a771d
call fcn.0050f9fe
mov edx, dword [ebp - 0x424]
mov byte [ebp + edx - 0x1a0], 0
mov eax, 1
imul ecx, eax, 0x102
mov dword [ebp - 0x410], ecx
cmp dword [ebp - 0x410], 0x104
jae 0x4a774a
jmp 0x4a774f
call fcn.0050f9fe
mov edx, dword [ebp - 0x410]
mov byte [ebp + edx - 0x1a0], 0
lea eax, [ebp - 0x1a0]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00403270
jmp 0x4a780a
lea ecx, [ebp - 0x9c]
push ecx
lea edx, [ebp - 0x3a8]
push edx
call fcn.004b3da0
add esp, 8
movzx eax, al
test eax, eax
je 0x4a780a
cmp dword [ebp - 0x3bc], 1
jne 0x4a780a
mov ecx, 1
imul edx, ecx, 0x103
mov dword [ebp - 0x40c], edx
cmp dword [ebp - 0x40c], 0x104
jae 0x4a77b6
jmp 0x4a77bb
call fcn.0050f9fe
mov eax, dword [ebp - 0x40c]
mov byte [ebp + eax - 0x1a0], 0
mov ecx, 1
imul edx, ecx, 0x102
mov dword [ebp - 0x408], edx
cmp dword [ebp - 0x408], 0x104
jae 0x4a77e8
jmp 0x4a77ed
call fcn.0050f9fe
mov eax, dword [ebp - 0x408]
mov byte [ebp + eax - 0x1a0], 0
lea ecx, [ebp - 0x1a0]
push ecx
mov ecx, dword [ebp + 0x10]
call fcn.00403270
mov edx, 2
imul eax, edx, 0
mov dword [ebp - 0x400], eax
cmp dword [ebp - 0x400], 0x208
jae 0x4a7826
jmp 0x4a782b
call fcn.0050f9fe
xor ecx, ecx
mov edx, dword [ebp - 0x400]
mov word [ebp + edx - 0x3a8], cx
mov dword [ebp - 0x3c0], 0x103
mov dword [ebp - 0x3c4], 0x103
mov dword [ebp - 0x3bc], 0
mov eax, dword [ebp - 0x3fc]
add eax, 1
mov dword [ebp - 0x3fc], eax
jmp 0x4a7554
mov ecx, dword [ebp - 0x3e4]
push ecx
call dword [ebp - 0x404]
mov dword [ebp - 0x3e4], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3e0]
call fcn.004032a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050f48d
mov esp, ebp
pop ebp
ret 0xc