Function at 0x1000e520
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009f4e6
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x100cdbe8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x248], ecx
lea ecx, [ebp - 0x220]
call fcn.10006510
mov dword [ebp - 4], 0
mov byte [ebp - 0x221], 0
push 0x100a9c40
mov ecx, 0x100d0494
call fcn.10002ae0
push 0x2001f
push 0x100a9c44
push SysReAllocStringLen
lea ecx, [ebp - 0x220]
call fcn.10006650
test eax, eax
jne 0x1000e82f
lea ecx, [ebp - 0x22c]
call fcn.10009d80
mov byte [ebp - 4], 1
mov dword [ebp - 0x10], 0x200
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x214]
push ecx
push 0x100a9c68
lea ecx, [ebp - 0x220]
call fcn.10006710
test eax, eax
jne 0x1000e609
cmp dword [ebp - 0x10], 0
jbe 0x1000e609
lea edx, [ebp - 0x214]
push edx
mov ecx, 0x100d0494
call fcn.10002ae0
push 0x100a9c80
lea ecx, [ebp - 0x22c]
call fcn.10002ae0
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0x22c]
call fcn.100099e0
mov dword [ebp - 0x228], 8
lea ecx, [ebp - 0x228]
push ecx
push 0x100cf3a0
lea edx, [ebp - 0x230]
push edx
push 0
push 0x100a9ca4
lea ecx, [ebp - 0x220]
call fcn.1000a250
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1000e65f
cmp dword [ebp - 0x230], 3
jne 0x1000e655
cmp dword [ebp - 0x228], 8
je 0x1000e65d
fldz
fstp qword [0x100cf3a0]
jmp 0x1000e667
fldz
fstp qword [0x100cf3a0]
lea ecx, [ebp - 0x220]
call fcn.10006590
lea ecx, [ebp - 0x22c]
call fcn.10005060
movzx eax, al
test eax, eax
jne 0x1000e820
push 0x2001f
lea ecx, [ebp - 0x22c]
call fcn.1000a250
push eax
push SysReAllocStringLen
lea ecx, [ebp - 0x220]
call fcn.10006650
test eax, eax
jne 0x1000e820
mov dword [ebp - 0x218], 0
jmp 0x1000e6cc
mov ecx, dword [ebp - 0x218]
add ecx, 1
mov dword [ebp - 0x218], ecx
cmp dword [ebp - 0x218], 0x100
jge 0x1000e80e
mov edx, dword [ebp - 0x218]
push edx
push 0x100a9cb0
lea eax, [ebp - 0x22c]
push eax
call fcn.10007300
add esp, 0xc
mov dword [ebp - 0x238], 8
lea ecx, [ebp - 0x238]
push ecx
lea edx, [ebp - 0x244]
push edx
lea eax, [ebp - 0x23c]
push eax
push 0
lea ecx, [ebp - 0x22c]
call fcn.1000a250
push eax
lea ecx, [ebp - 0x220]
call fcn.1000a250
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1000e776
cmp dword [ebp - 0x23c], 3
jne 0x1000e763
cmp dword [ebp - 0x238], 8
jne 0x1000e763
mov ecx, dword [ebp - 0x218]
shl ecx, 4
fld qword [ebp - 0x244]
fstp qword [ecx + 0x100cf3a8]
jmp 0x1000e774
mov edx, dword [ebp - 0x218]
shl edx, 4
fldz
fstp qword [edx + 0x100cf3a8]
jmp 0x1000e787
mov eax, dword [ebp - 0x218]
shl eax, 4
fldz
fstp qword [eax + 0x100cf3a8]
mov ecx, dword [ebp - 0x218]
push ecx
push 0x100a9cb4
lea edx, [ebp - 0x22c]
push edx
call fcn.10007300
add esp, 0xc
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x22c]
call fcn.1000a250
push eax
lea ecx, [ebp - 0x220]
call fcn.100066b0
test eax, eax
jne 0x1000e7f2
cmp dword [ebp - 0x234], 0
jb 0x1000e7f2
cmp dword [ebp - 0x234], 0x100
jae 0x1000e7f2
mov ecx, dword [ebp - 0x218]
shl ecx, 4
mov dx, word [ebp - 0x234]
mov word [ecx + 0x100cf3b4], dx
jmp 0x1000e809
mov eax, dword [ebp - 0x218]
shl eax, 4
mov cx, word [ebp - 0x218]
mov word [eax + 0x100cf3b4], cx
jmp 0x1000e6bd
mov byte [ebp - 0x221], 1
lea ecx, [ebp - 0x220]
call fcn.10006590
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x22c]
call fcn.10009da0
movzx edx, byte [ebp - 0x221]
test edx, edx
jne 0x1000e89a
mov dword [ebp - 0x218], 0
jmp 0x1000e855
mov eax, dword [ebp - 0x218]
add eax, 1
mov dword [ebp - 0x218], eax
cmp dword [ebp - 0x218], 0x100
jge 0x1000e88b
mov ecx, dword [ebp - 0x218]
shl ecx, 4
fldz
fstp qword [ecx + 0x100cf3a8]
mov edx, dword [ebp - 0x218]
shl edx, 4
mov ax, word [ebp - 0x218]
mov word [edx + 0x100cf3b4], ax
jmp 0x1000e846
push 0x100a9cb8
mov ecx, 0x100d0494
call fcn.10002ae0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x220]
call fcn.10006540
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10081238
mov esp, ebp
pop ebp
ret