Function at 0x4a2970
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 0x503cd7
mov eax, dword fs:[0]
push eax
sub esp, 0x4b4
mov eax, dword [0x53e008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x45c], ecx
mov dword [ebp - 0x460], 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 - 0x3fc], eax
cmp dword [ebp - 0x3fc], 0
je 0x4a2a2e
call dword [ebp - 0x3fc]
test eax, eax
je 0x4a2a2e
mov byte [ebp - 0x3e9], 1
jmp 0x4a2be6
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 - 0x400], eax
cmp dword [ebp - 0x400], 0
je 0x4a2af2
mov dword [ebp - 0x3c4], 0
lea edx, [ebp - 0x3c4]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [ebp - 0x400]
cmp dword [ebp - 0x3c4], 0
je 0x4a2af2
mov byte [ebp - 0x3e9], 1
jmp 0x4a2be6
mov byte [ebp - 0x3ea], 0
mov eax, dword fs:[0x30]
movzx ecx, byte [eax + 2]
cmp ecx, 1
jne 0x4a2b14
mov dword [ebp - 0x408], 1
jmp 0x4a2b1e
mov dword [ebp - 0x408], 0
mov dl, byte [ebp - 0x408]
mov byte [ebp - 0x3ea], dl
movzx eax, byte [ebp - 0x3ea]
test eax, eax
je 0x4a2b41
mov byte [ebp - 0x3e9], 1
jmp 0x4a2be6
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 - 0x3fc]
mov dword [ebp - 0x3b0], eax
mov ecx, dword [ebp - 0x400]
mov dword [ebp - 0x3ac], ecx
lea edx, [ebp - 0x3b8]
mov dword [ebp - 0x43c], edx
mov dword [ebp - 0x3f4], 0
jmp 0x4a2b98
mov eax, dword [ebp - 0x3f4]
add eax, 1
mov dword [ebp - 0x3f4], eax
cmp dword [ebp - 0x3f4], 4
jae 0x4a2bdf
mov ecx, dword [ebp - 0x3f4]
mov edx, dword [ebp - 0x43c]
lea eax, [edx + ecx*4]
mov dword [ebp - 0x40c], eax
mov ecx, dword [ebp - 0x40c]
cmp dword [ecx], 0
je 0x4a2bdd
mov edx, dword [ebp - 0x40c]
mov eax, dword [edx]
movzx ecx, byte [eax]
cmp ecx, 0xcc
jne 0x4a2bdd
mov byte [ebp - 0x3e9], 1
jmp 0x4a2be6
jmp 0x4a2b89
mov byte [ebp - 0x3e9], 0
movzx edx, byte [ebp - 0x3e9]
test edx, edx
je 0x4a2bf6
jmp 0x4a32fc
mov ecx, dword [ebp + 0x10]
call fcn.0042ab60
mov ecx, dword [ebp + 8]
call fcn.0042ab60
mov ecx, dword [ebp + 0xc]
call fcn.0042ab60
push str.Advapi32.dll
lea ecx, [ebp - 0x490]
call fcn.00403690
mov dword [ebp - 4], 0
lea eax, [ebp - 0x490]
push eax
call fcn.004bf880
mov ecx, eax
call fcn.004bf940
mov dword [ebp - 0x3f0], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x490]
call fcn.00403610
cmp dword [ebp - 0x3f0], 0
jne 0x4a2c5e
jmp 0x4a32fc
push str.RegOpenKeyExW
mov ecx, dword [ebp - 0x3f0]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x438], eax
push str.RegEnumValueW
mov edx, dword [ebp - 0x3f0]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x434], eax
push str.RegCloseKey
mov eax, dword [ebp - 0x3f0]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x430], eax
cmp dword [ebp - 0x438], 0
je 0x4a2cc1
cmp dword [ebp - 0x434], 0
je 0x4a2cc1
cmp dword [ebp - 0x430], 0
jne 0x4a2cc6
jmp 0x4a32fc
mov dword [ebp - 0x3e8], 0
mov dword [ebp - 0x448], 0x20019
push str.SOFTWARE_
lea ecx, [ebp - 0x3e4]
call fcn.00403690
mov dword [ebp - 4], 1
mov dword [ebp - 0x44c], 0x80000002
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, 0xd2
mov word [ebp - 0x60], ax
mov ecx, 0xd5
mov word [ebp - 0x5e], cx
mov edx, 0xd5
mov word [ebp - 0x5c], dx
mov eax, 0xc5
mov word [ebp - 0x5a], ax
mov ecx, 0xca
mov word [ebp - 0x58], cx
mov edx, 0xef
mov word [ebp - 0x56], dx
mov eax, 0xfb
mov word [ebp - 0x54], ax
xor ecx, ecx
mov word [ebp - 0x52], cx
xor edx, edx
mov byte [ebp - 0x3f5], dl
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x3e4]
call fcn.004035c0
push 0x50d248
lea ecx, [ebp - 0x3e4]
call fcn.004035c0
lea ecx, [ebp - 0x60]
push ecx
lea ecx, [ebp - 0x478]
call fcn.00403690
mov byte [ebp - 4], 2
lea edx, [ebp - 0x478]
push edx
lea eax, [ebp - 0x4a8]
push eax
lea ecx, [ebp - 0x3bd]
call fcn.004a3320
mov dword [ebp - 0x440], eax
mov ecx, dword [ebp - 0x440]
mov dword [ebp - 0x444], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x444]
push edx
lea ecx, [ebp - 0x3e4]
call fcn.004035f0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x4a8]
call fcn.00403610
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x478]
call fcn.00403610
mov eax, 0x53
mov word [ebp - 0x84], ax
mov ecx, 0x75
mov word [ebp - 0x82], cx
mov edx, 0x70
mov word [ebp - 0x80], dx
mov eax, 0x70
mov word [ebp - 0x7e], ax
mov ecx, 0x6c
mov word [ebp - 0x7c], cx
mov edx, 0x79
mov word [ebp - 0x7a], dx
mov eax, 0x49
mov word [ebp - 0x78], ax
mov ecx, 0x44
mov word [ebp - 0x76], cx
xor edx, edx
mov word [ebp - 0x74], dx
mov eax, 0x56
mov word [ebp - 0x50], ax
mov ecx, 0x65
mov word [ebp - 0x4e], cx
mov edx, 0x72
mov word [ebp - 0x4c], dx
mov eax, 0x73
mov word [ebp - 0x4a], ax
mov ecx, 0x69
mov word [ebp - 0x48], cx
mov edx, 0x6f
mov word [ebp - 0x46], dx
mov eax, 0x6e
mov word [ebp - 0x44], ax
xor ecx, ecx
mov word [ebp - 0x42], cx
mov edx, 0x49
mov word [ebp - 0x9c], dx
mov eax, 0x6e
mov word [ebp - 0x9a], ax
mov ecx, 0x73
mov word [ebp - 0x98], cx
mov edx, 0x74
mov word [ebp - 0x96], dx
mov eax, 0x61
mov word [ebp - 0x94], ax
mov ecx, 0x6c
mov word [ebp - 0x92], cx
mov edx, 0x6c
mov word [ebp - 0x90], dx
mov eax, 0x54
mov word [ebp - 0x8e], ax
mov ecx, 0x69
mov word [ebp - 0x8c], cx
mov edx, 0x6d
mov word [ebp - 0x8a], dx
mov eax, 0x65
mov word [ebp - 0x88], ax
xor ecx, ecx
mov word [ebp - 0x86], cx
lea edx, [ebp - 0x3e8]
push edx
mov eax, dword [ebp - 0x448]
push eax
push 0
lea ecx, [ebp - 0x3e4]
call fcn.0040c320
push eax
mov ecx, dword [ebp - 0x44c]
push ecx
call dword [ebp - 0x438]
test eax, eax
jne 0x4a32ea
mov dword [ebp - 0x404], 0
mov dword [ebp - 0x3bc], 0
mov dword [ebp - 0x3c8], 0x103
mov dword [ebp - 0x3cc], 0x103
push 0x208
push 0
lea edx, [ebp - 0x3a8]
push edx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0x104
push 0
lea eax, [ebp - 0x1a0]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x3cc]
push ecx
lea edx, [ebp - 0x1a0]
push edx
lea eax, [ebp - 0x3bc]
push eax
push 0
lea ecx, [ebp - 0x3c8]
push ecx
lea edx, [ebp - 0x3a8]
push edx
mov eax, dword [ebp - 0x404]
push eax
mov ecx, dword [ebp - 0x3e8]
push ecx
call dword [ebp - 0x434]
test eax, eax
jne 0x4a32d3
mov edx, 2
imul eax, edx, 0x103
mov dword [ebp - 0x42c], eax
cmp dword [ebp - 0x42c], 0x208
jae 0x4a3029
jmp 0x4a302e
call fcn.004ec8f5
xor ecx, ecx
mov edx, dword [ebp - 0x42c]
mov word [ebp + edx - 0x3a8], cx
mov eax, 2
imul ecx, eax, 0
movzx edx, word [ebp + ecx - 0x3a8]
test edx, edx
je 0x4a3270
lea edx, [ebp - 0x84]
lea ecx, [ebp - 0x3a8]
call fcn.004afca0
movzx eax, al
test eax, eax
je 0x4a3142
cmp dword [ebp - 0x3bc], 4
jne 0x4a313d
mov ecx, 1
imul edx, ecx, 0x103
mov dword [ebp - 0x428], edx
cmp dword [ebp - 0x428], 0x104
jae 0x4a309e
jmp 0x4a30a3
call fcn.004ec8f5
mov eax, dword [ebp - 0x428]
mov byte [ebp + eax - 0x1a0], 0
mov ecx, 1
imul edx, ecx, 0x102
mov dword [ebp - 0x424], edx
cmp dword [ebp - 0x424], 0x104
jae 0x4a30d0
jmp 0x4a30d5
call fcn.004ec8f5
mov eax, dword [ebp - 0x424]
mov byte [ebp + eax - 0x1a0], 0
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [ebp + edx - 0x1a0]
mov dword [ebp - 0x450], eax
mov edx, dword [ebp - 0x450]
lea ecx, [ebp - 0x4c0]
call fcn.004b0360
mov dword [ebp - 0x454], eax
mov ecx, dword [ebp - 0x454]
mov dword [ebp - 0x458], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x458]
push edx
mov ecx, dword [ebp + 8]
call fcn.0040c390
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4c0]
call fcn.00403610
jmp 0x4a3270
lea edx, [ebp - 0x50]
lea ecx, [ebp - 0x3a8]
call fcn.004afca0
movzx eax, al
test eax, eax
je 0x4a31dc
cmp dword [ebp - 0x3bc], 1
jne 0x4a31d7
mov ecx, 1
imul edx, ecx, 0x103
mov dword [ebp - 0x420], edx
cmp dword [ebp - 0x420], 0x104
jae 0x4a3183
jmp 0x4a3188
call fcn.004ec8f5
mov eax, dword [ebp - 0x420]
mov byte [ebp + eax - 0x1a0], 0
mov ecx, 1
imul edx, ecx, 0x102
mov dword [ebp - 0x41c], edx
cmp dword [ebp - 0x41c], 0x104
jae 0x4a31b5
jmp 0x4a31ba
call fcn.004ec8f5
mov eax, dword [ebp - 0x41c]
mov byte [ebp + eax - 0x1a0], 0
lea ecx, [ebp - 0x1a0]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.0040c330
jmp 0x4a3270
lea edx, [ebp - 0x9c]
lea ecx, [ebp - 0x3a8]
call fcn.004afca0
movzx edx, al
test edx, edx
je 0x4a3270
cmp dword [ebp - 0x3bc], 1
jne 0x4a3270
mov eax, 1
imul ecx, eax, 0x103
mov dword [ebp - 0x418], ecx
cmp dword [ebp - 0x418], 0x104
jae 0x4a321c
jmp 0x4a3221
call fcn.004ec8f5
mov edx, dword [ebp - 0x418]
mov byte [ebp + edx - 0x1a0], 0
mov eax, 1
imul ecx, eax, 0x102
mov dword [ebp - 0x414], ecx
cmp dword [ebp - 0x414], 0x104
jae 0x4a324e
jmp 0x4a3253
call fcn.004ec8f5
mov edx, dword [ebp - 0x414]
mov byte [ebp + edx - 0x1a0], 0
lea eax, [ebp - 0x1a0]
push eax
mov ecx, dword [ebp + 0x10]
call fcn.0040c330
mov ecx, 2
imul edx, ecx, 0
mov dword [ebp - 0x410], edx
cmp dword [ebp - 0x410], 0x208
jae 0x4a328c
jmp 0x4a3291
call fcn.004ec8f5
xor eax, eax
mov ecx, dword [ebp - 0x410]
mov word [ebp + ecx - 0x3a8], ax
mov dword [ebp - 0x3c8], 0x103
mov dword [ebp - 0x3cc], 0x103
mov dword [ebp - 0x3bc], 0
mov edx, dword [ebp - 0x404]
add edx, 1
mov dword [ebp - 0x404], edx
jmp 0x4a2fc9
mov eax, dword [ebp - 0x3e8]
push eax
call dword [ebp - 0x430]
mov dword [ebp - 0x3e8], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3e4]
call fcn.00403610
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ec151
mov esp, ebp
pop ebp
ret 0xc