Function at 0x1005e790
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 0x100a5751
mov eax, dword fs:[0]
push eax
sub esp, 0x470
mov eax, dword [0x100cd008]
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 0x1005e844
call dword [ebp - 0x3f4]
test eax, eax
je 0x1005e844
mov byte [ebp - 0x3e5], 1
jmp 0x1005e9fc
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 0x1005e908
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 0x1005e908
mov byte [ebp - 0x3e5], 1
jmp 0x1005e9fc
mov byte [ebp - 0x3e6], 0
mov eax, dword fs:[0x30]
movzx ecx, byte [eax + 2]
cmp ecx, 1
jne 0x1005e92a
mov dword [ebp - 0x430], 1
jmp 0x1005e934
mov dword [ebp - 0x430], 0
mov dl, byte [ebp - 0x430]
mov byte [ebp - 0x3e6], dl
movzx eax, byte [ebp - 0x3e6]
test eax, eax
je 0x1005e957
mov byte [ebp - 0x3e5], 1
jmp 0x1005e9fc
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 0x1005e9ae
mov eax, dword [ebp - 0x3ec]
add eax, 1
mov dword [ebp - 0x3ec], eax
cmp dword [ebp - 0x3ec], 4
jae 0x1005e9f5
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 0x1005e9f3
mov edx, dword [ebp - 0x42c]
mov eax, dword [edx]
movzx ecx, byte [eax]
cmp ecx, 0xcc
jne 0x1005e9f3
mov byte [ebp - 0x3e5], 1
jmp 0x1005e9fc
jmp 0x1005e99f
mov byte [ebp - 0x3e5], 0
movzx edx, byte [ebp - 0x3e5]
test edx, edx
je 0x1005ea0c
jmp 0x1005f0a7
mov ecx, dword [ebp + 0x10]
call fcn.1000d5f0
mov ecx, dword [ebp + 8]
call fcn.1000d5f0
mov ecx, dword [ebp + 0xc]
call fcn.1000d5f0
push str.Advapi32.dll
lea ecx, [ebp - 0x464]
call fcn.10002b40
mov dword [ebp - 4], 0
lea eax, [ebp - 0x464]
push eax
call fcn.10075510
mov ecx, eax
call fcn.100755d0
mov dword [ebp - 0x3f0], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x464]
call fcn.10002b00
cmp dword [ebp - 0x3f0], 0
jne 0x1005ea74
jmp 0x1005f0a7
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 0x100b18c4
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 0x1005ead7
cmp dword [ebp - 0x420], 0
je 0x1005ead7
cmp dword [ebp - 0x404], 0
jne 0x1005eadc
jmp 0x1005f0a7
mov dword [ebp - 0x3e4], 0
mov dword [ebp - 0x438], 0x20019
push str.SOFTWARE_
lea ecx, [ebp - 0x3e0]
call fcn.10002b40
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.10008ef0
push 0x100b08f4
lea ecx, [ebp - 0x3e0]
call fcn.10008ef0
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x3e0]
call fcn.10008ef0
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.10002af0
push eax
mov edx, dword [ebp - 0x43c]
push edx
call dword [ebp - 0x428]
test eax, eax
jne 0x1005f095
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 0x1005f07e
mov eax, 2
imul ecx, eax, 0x103
mov dword [ebp - 0x41c], ecx
cmp dword [ebp - 0x41c], 0x208
jae 0x1005edd4
jmp 0x1005edd9
call fcn.10097b9e
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 0x1005f01b
lea edx, [ebp - 0x84]
lea ecx, [ebp - 0x3a8]
call fcn.10064db0
movzx ecx, al
test ecx, ecx
je 0x1005eeed
cmp dword [ebp - 0x3bc], 4
jne 0x1005eee8
mov edx, 1
imul eax, edx, 0x103
mov dword [ebp - 0x418], eax
cmp dword [ebp - 0x418], 0x104
jae 0x1005ee49
jmp 0x1005ee4e
call fcn.10097b9e
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 0x1005ee7b
jmp 0x1005ee80
call fcn.10097b9e
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.10065440
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.1000c210
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x47c]
call fcn.10002b00
jmp 0x1005f01b
lea edx, [ebp - 0x50]
lea ecx, [ebp - 0x3a8]
call fcn.10064db0
movzx ecx, al
test ecx, ecx
je 0x1005ef87
cmp dword [ebp - 0x3bc], 1
jne 0x1005ef82
mov edx, 1
imul eax, edx, 0x103
mov dword [ebp - 0x424], eax
cmp dword [ebp - 0x424], 0x104
jae 0x1005ef2e
jmp 0x1005ef33
call fcn.10097b9e
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 0x1005ef60
jmp 0x1005ef65
call fcn.10097b9e
mov ecx, dword [ebp - 0x410]
mov byte [ebp + ecx - 0x1a0], 0
lea edx, [ebp - 0x1a0]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.10008f20
jmp 0x1005f01b
lea edx, [ebp - 0x9c]
lea ecx, [ebp - 0x3a8]
call fcn.10064db0
movzx eax, al
test eax, eax
je 0x1005f01b
cmp dword [ebp - 0x3bc], 1
jne 0x1005f01b
mov ecx, 1
imul edx, ecx, 0x103
mov dword [ebp - 0x40c], edx
cmp dword [ebp - 0x40c], 0x104
jae 0x1005efc7
jmp 0x1005efcc
call fcn.10097b9e
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 0x1005eff9
jmp 0x1005effe
call fcn.10097b9e
mov eax, dword [ebp - 0x408]
mov byte [ebp + eax - 0x1a0], 0
lea ecx, [ebp - 0x1a0]
push ecx
mov ecx, dword [ebp + 0x10]
call fcn.10008f20
mov edx, 2
imul eax, edx, 0
mov dword [ebp - 0x400], eax
cmp dword [ebp - 0x400], 0x208
jae 0x1005f037
jmp 0x1005f03c
call fcn.10097b9e
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 0x1005ed74
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.10002b00
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10097213
mov esp, ebp
pop ebp
ret 0xc