Function at 0x10015160
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007a79b
mov eax, dword fs:[0]
push eax
sub esp, 0x27c
mov eax, dword [0x10098688]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x284], 0
mov eax, 2
imul eax, eax, 0xf
mov ecx, 0x6f
mov word [ebp + eax - 0x68], cx
mov edx, 2
imul edx, edx, 0x1d
mov eax, 0x68
mov word [ebp + edx - 0x68], ax
mov ecx, 2
imul ecx, ecx, 0x15
mov edx, 0x79
mov word [ebp + ecx - 0x68], dx
mov eax, 2
imul eax, eax, 3
mov ecx, 0x54
mov word [ebp + eax - 0x68], cx
mov edx, 2
imul edx, edx, 0xe
mov eax, 0x73
mov word [ebp + edx - 0x68], ax
mov ecx, 2
shl ecx, 4
mov edx, 0x66
mov word [ebp + ecx - 0x68], dx
mov eax, 2
imul eax, eax, 0x1e
mov ecx, 0x79
mov word [ebp + eax - 0x68], cx
mov edx, 2
imul edx, edx, 0x11
mov eax, 0x74
mov word [ebp + edx - 0x68], ax
mov ecx, 2
imul ecx, ecx, 6
mov edx, 0x52
mov word [ebp + ecx - 0x68], dx
mov eax, 2
imul eax, eax, 7
mov ecx, 0x45
mov word [ebp + eax - 0x68], cx
mov edx, 2
imul edx, edx, 0
mov eax, 0x53
mov word [ebp + edx - 0x68], ax
mov ecx, 2
shl ecx, 1
mov edx, 0x46
mov word [ebp + ecx - 0x68], dx
mov eax, 2
shl eax, 2
mov ecx, 0x57
mov word [ebp + eax - 0x68], cx
mov edx, 2
imul edx, edx, 0x16
mov eax, 0x70
mov word [ebp + edx - 0x68], ax
mov ecx, 2
imul ecx, ecx, 0x18
mov edx, 0x6f
mov word [ebp + ecx - 0x68], dx
mov eax, 2
imul eax, eax, 0x1c
mov ecx, 0x70
mov word [ebp + eax - 0x68], cx
mov edx, 2
imul edx, edx, 0x1f
mov dword [ebp - 0x280], edx
cmp dword [ebp - 0x280], 0x40
jae 0x100152cd
jmp 0x100152d2
call fcn.1005a87f
xor eax, eax
mov ecx, dword [ebp - 0x280]
mov word [ebp + ecx - 0x68], ax
mov edx, 2
imul edx, edx, 0x19
mov eax, 0x67
mov word [ebp + edx - 0x68], ax
mov ecx, 2
imul ecx, ecx, 0x14
mov edx, 0x72
mov word [ebp + ecx - 0x68], dx
mov eax, 2
imul eax, eax, 5
mov ecx, 0x41
mov word [ebp + eax - 0x68], cx
mov edx, 2
imul edx, edx, 9
mov eax, 0x4d
mov word [ebp + edx - 0x68], ax
mov ecx, 2
imul ecx, ecx, 0x12
mov edx, 0x5c
mov word [ebp + ecx - 0x68], dx
mov eax, 2
imul eax, eax, 0xd
mov ecx, 0x6f
mov word [ebp + eax - 0x68], cx
mov edx, 2
imul edx, edx, 0x13
mov eax, 0x43
mov word [ebp + edx - 0x68], ax
mov ecx, 2
shl ecx, 3
mov edx, 0x5c
mov word [ebp + ecx - 0x68], dx
mov eax, 2
imul eax, eax, 0xb
mov ecx, 0x63
mov word [ebp + eax - 0x68], cx
mov edx, 2
imul edx, edx, 0xc
mov eax, 0x72
mov word [ebp + edx - 0x68], ax
mov ecx, 2
imul ecx, ecx, 0x1a
mov edx, 0x72
mov word [ebp + ecx - 0x68], dx
mov eax, 2
imul eax, eax, 0x17
mov ecx, 0x74
mov word [ebp + eax - 0x68], cx
mov edx, 2
shl edx, 0
mov eax, 0x4f
mov word [ebp + edx - 0x68], ax
mov ecx, 2
imul ecx, ecx, 0xa
mov edx, 0x69
mov word [ebp + ecx - 0x68], dx
mov eax, 2
imul eax, eax, 0x1b
mov ecx, 0x61
mov word [ebp + eax - 0x68], cx
mov edx, 2
imul edx, edx, 5
mov eax, 0x6e
mov word [ebp + edx - 0x28], ax
mov ecx, 2
shl ecx, 0
mov edx, 0x61
mov word [ebp + ecx - 0x28], dx
mov eax, 2
imul eax, eax, 0
mov ecx, 0x4d
mov word [ebp + eax - 0x28], cx
mov edx, 2
shl edx, 1
mov eax, 0x63
mov word [ebp + edx - 0x28], ax
mov ecx, 2
imul ecx, ecx, 0xb
mov dword [ebp - 0x27c], ecx
cmp dword [ebp - 0x27c], 0x18
jae 0x1001544d
jmp 0x10015452
call fcn.1005a87f
xor edx, edx
mov eax, dword [ebp - 0x27c]
mov word [ebp + eax - 0x28], dx
mov ecx, 2
imul ecx, ecx, 0xa
mov edx, 0x64
mov word [ebp + ecx - 0x28], dx
mov eax, 2
shl eax, 3
mov ecx, 0x75
mov word [ebp + eax - 0x28], cx
mov edx, 2
imul edx, edx, 3
mov eax, 0x68
mov word [ebp + edx - 0x28], ax
mov ecx, 2
imul ecx, ecx, 6
mov edx, 0x65
mov word [ebp + ecx - 0x28], dx
mov eax, 2
imul eax, eax, 7
mov ecx, 0x47
mov word [ebp + eax - 0x28], cx
mov edx, 2
imul edx, edx, 9
mov eax, 0x69
mov word [ebp + edx - 0x28], ax
mov ecx, 2
shl ecx, 2
mov edx, 0x69
mov word [ebp + ecx - 0x28], dx
lea ecx, [ebp - 0x274]
call fcn.1000fa80
mov dword [ebp - 4], 0
mov byte [ebp - 0x268], 0
push 0x1ff
push 0
lea eax, [ebp - 0x267]
push eax
call fcn.1005ec70
add esp, 0xc
mov dword [ebp - 0x278], 0x200
mov byte [ebp - 0x269], 0
lea ecx, [ebp - 0x270]
push ecx
push 0x20019
push 0
lea edx, [ebp - 0x68]
push edx
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100155f5
lea eax, [ebp - 0x278]
push eax
lea ecx, [ebp - 0x268]
push ecx
lea edx, [ebp - 0x288]
push edx
push 0
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x270]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10015577
mov byte [ebp - 0x269], 1
jmp 0x100155cb
lea edx, [ebp - 0x270]
push edx
push 0x20119
push 0
lea eax, [ebp - 0x68]
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100155cb
lea ecx, [ebp - 0x278]
push ecx
lea edx, [ebp - 0x268]
push edx
lea eax, [ebp - 0x288]
push eax
push 0
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x270]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100155cb
mov byte [ebp - 0x269], 1
movzx eax, byte [ebp - 0x269]
test eax, eax
je 0x100155f5
lea ecx, [ebp - 0x268]
push ecx
lea ecx, [ebp - 0x274]
call fcn.1000e170
mov edx, dword [ebp - 0x270]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x274]
push eax
mov ecx, dword [ebp + 8]
call fcn.1000f9e0
mov ecx, dword [ebp - 0x284]
or ecx, 1
mov dword [ebp - 0x284], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x274]
call fcn.10004ee0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1005c9a6
mov esp, ebp
pop ebp
ret