Function at 0x1005b100
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 0x100abe71
mov eax, dword fs:[0]
push eax
sub esp, 0x470
mov eax, dword [0x100d703c]
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 0x1005b1b4
call dword [ebp - 0x3f4]
test eax, eax
je 0x1005b1b4
mov byte [ebp - 0x3e5], 1
jmp 0x1005b36c
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 0x1005b278
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 0x1005b278
mov byte [ebp - 0x3e5], 1
jmp 0x1005b36c
mov byte [ebp - 0x3e6], 0
mov eax, dword fs:[0x30]
movzx ecx, byte [eax + 2]
cmp ecx, 1
jne 0x1005b29a
mov dword [ebp - 0x430], 1
jmp 0x1005b2a4
mov dword [ebp - 0x430], 0
mov dl, byte [ebp - 0x430]
mov byte [ebp - 0x3e6], dl
movzx eax, byte [ebp - 0x3e6]
test eax, eax
je 0x1005b2c7
mov byte [ebp - 0x3e5], 1
jmp 0x1005b36c
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 0x1005b31e
mov eax, dword [ebp - 0x3ec]
add eax, 1
mov dword [ebp - 0x3ec], eax
cmp dword [ebp - 0x3ec], 4
jae 0x1005b365
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 0x1005b363
mov edx, dword [ebp - 0x42c]
mov eax, dword [edx]
movzx ecx, byte [eax]
cmp ecx, 0xcc
jne 0x1005b363
mov byte [ebp - 0x3e5], 1
jmp 0x1005b36c
jmp 0x1005b30f
mov byte [ebp - 0x3e5], 0
movzx edx, byte [ebp - 0x3e5]
test edx, edx
je 0x1005b37c
jmp 0x1005ba17
mov ecx, dword [ebp + 0x10]
call fcn.1000c7c0
mov ecx, dword [ebp + 8]
call fcn.1000c7c0
mov ecx, dword [ebp + 0xc]
call fcn.1000c7c0
push str.Advapi32.dll
lea ecx, [ebp - 0x464]
call fcn.10003770
mov dword [ebp - 4], 0
lea eax, [ebp - 0x464]
push eax
call fcn.100167f0
mov ecx, eax
call fcn.100168b0
mov dword [ebp - 0x3f0], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x464]
call fcn.100036c0
cmp dword [ebp - 0x3f0], 0
jne 0x1005b3e4
jmp 0x1005ba17
push str.RegOpenKeyExW
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 str.RegCloseKey
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 0x1005b447
cmp dword [ebp - 0x420], 0
je 0x1005b447
cmp dword [ebp - 0x404], 0
jne 0x1005b44c
jmp 0x1005ba17
mov dword [ebp - 0x3e4], 0
mov dword [ebp - 0x438], 0x20019
push str.SOFTWARE_
lea ecx, [ebp - 0x3e0]
call fcn.10003770
mov dword [ebp - 4], 1
mov dword [ebp - 0x43c], 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, 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.1000ec50
push 0x100b64ac
lea ecx, [ebp - 0x3e0]
call fcn.1000ec50
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x3e0]
call fcn.1000ec50
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.10003680
push eax
mov edx, dword [ebp - 0x43c]
push edx
call dword [ebp - 0x428]
test eax, eax
jne 0x1005ba05
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 0x1005b9ee
mov eax, 2
imul ecx, eax, 0x103
mov dword [ebp - 0x41c], ecx
cmp dword [ebp - 0x41c], 0x208
jae 0x1005b744
jmp 0x1005b749
call fcn.1009ebdc
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 0x1005b98b
lea edx, [ebp - 0x84]
lea ecx, [ebp - 0x3a8]
call fcn.1000d4c0
movzx ecx, al
test ecx, ecx
je 0x1005b85d
cmp dword [ebp - 0x3bc], 4
jne 0x1005b858
mov edx, 1
imul eax, edx, 0x103
mov dword [ebp - 0x418], eax
cmp dword [ebp - 0x418], 0x104
jae 0x1005b7b9
jmp 0x1005b7be
call fcn.1009ebdc
mov ecx, dword [ebp - 0x418]
mov byte [ebp + ecx - 0x1a0], 0
mov edx, 1
imul eax, edx, 0x102
mov dword [ebp - 0x414], eax
cmp dword [ebp - 0x414], 0x104
jae 0x1005b7eb
jmp 0x1005b7f0
call fcn.1009ebdc
mov ecx, dword [ebp - 0x414]
mov byte [ebp + ecx - 0x1a0], 0
mov edx, 1
imul eax, edx, 0
mov ecx, dword [ebp + eax - 0x1a0]
mov dword [ebp - 0x440], ecx
mov edx, dword [ebp - 0x440]
lea ecx, [ebp - 0x47c]
call fcn.1000da50
mov dword [ebp - 0x444], eax
mov edx, dword [ebp - 0x444]
mov dword [ebp - 0x448], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x448]
push eax
mov ecx, dword [ebp + 8]
call fcn.10003700
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x47c]
call fcn.100036c0
jmp 0x1005b98b
lea edx, [ebp - 0x50]
lea ecx, [ebp - 0x3a8]
call fcn.1000d4c0
movzx ecx, al
test ecx, ecx
je 0x1005b8f7
cmp dword [ebp - 0x3bc], 1
jne 0x1005b8f2
mov edx, 1
imul eax, edx, 0x103
mov dword [ebp - 0x424], eax
cmp dword [ebp - 0x424], 0x104
jae 0x1005b89e
jmp 0x1005b8a3
call fcn.1009ebdc
mov ecx, dword [ebp - 0x424]
mov byte [ebp + ecx - 0x1a0], 0
mov edx, 1
imul eax, edx, 0x102
mov dword [ebp - 0x410], eax
cmp dword [ebp - 0x410], 0x104
jae 0x1005b8d0
jmp 0x1005b8d5
call fcn.1009ebdc
mov ecx, dword [ebp - 0x410]
mov byte [ebp + ecx - 0x1a0], 0
lea edx, [ebp - 0x1a0]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.10006b50
jmp 0x1005b98b
lea edx, [ebp - 0x9c]
lea ecx, [ebp - 0x3a8]
call fcn.1000d4c0
movzx eax, al
test eax, eax
je 0x1005b98b
cmp dword [ebp - 0x3bc], 1
jne 0x1005b98b
mov ecx, 1
imul edx, ecx, 0x103
mov dword [ebp - 0x40c], edx
cmp dword [ebp - 0x40c], 0x104
jae 0x1005b937
jmp 0x1005b93c
call fcn.1009ebdc
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 0x1005b969
jmp 0x1005b96e
call fcn.1009ebdc
mov eax, dword [ebp - 0x408]
mov byte [ebp + eax - 0x1a0], 0
lea ecx, [ebp - 0x1a0]
push ecx
mov ecx, dword [ebp + 0x10]
call fcn.10006b50
mov edx, 2
imul eax, edx, 0
mov dword [ebp - 0x400], eax
cmp dword [ebp - 0x400], 0x208
jae 0x1005b9a7
jmp 0x1005b9ac
call fcn.1009ebdc
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 0x1005b6e4
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.100036c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1009ea6c
mov esp, ebp
pop ebp
ret 0xc