Function at 0x1000e460
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009f4b6
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.100657c0
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.10006600
test eax, eax
jne 0x1000e76f
lea ecx, [ebp - 0x22c]
call fcn.10009d30
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.100066c0
test eax, eax
jne 0x1000e549
cmp dword [ebp - 0x10], 0
jbe 0x1000e549
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.10009990
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.1000abd0
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1000e59f
cmp dword [ebp - 0x230], 3
jne 0x1000e595
cmp dword [ebp - 0x228], 8
je 0x1000e59d
fldz
fstp qword [0x100cf3a0]
jmp 0x1000e5a7
fldz
fstp qword [0x100cf3a0]
lea ecx, [ebp - 0x220]
call fcn.10006540
lea ecx, [ebp - 0x22c]
call fcn.10005060
movzx eax, al
test eax, eax
jne 0x1000e760
push 0x2001f
lea ecx, [ebp - 0x22c]
call fcn.1000abd0
push eax
push SysReAllocStringLen
lea ecx, [ebp - 0x220]
call fcn.10006600
test eax, eax
jne 0x1000e760
mov dword [ebp - 0x218], 0
jmp 0x1000e60c
mov ecx, dword [ebp - 0x218]
add ecx, 1
mov dword [ebp - 0x218], ecx
cmp dword [ebp - 0x218], 0x100
jge 0x1000e74e
mov edx, dword [ebp - 0x218]
push edx
push 0x100a9cb0
lea eax, [ebp - 0x22c]
push eax
call fcn.100072a0
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.1000abd0
push eax
lea ecx, [ebp - 0x220]
call fcn.1000abd0
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1000e6b6
cmp dword [ebp - 0x23c], 3
jne 0x1000e6a3
cmp dword [ebp - 0x238], 8
jne 0x1000e6a3
mov ecx, dword [ebp - 0x218]
shl ecx, 4
fld qword [ebp - 0x244]
fstp qword [ecx + 0x100cf3a8]
jmp 0x1000e6b4
mov edx, dword [ebp - 0x218]
shl edx, 4
fldz
fstp qword [edx + 0x100cf3a8]
jmp 0x1000e6c7
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.100072a0
add esp, 0xc
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x22c]
call fcn.1000abd0
push eax
lea ecx, [ebp - 0x220]
call fcn.10006660
test eax, eax
jne 0x1000e732
cmp dword [ebp - 0x234], 0
jb 0x1000e732
cmp dword [ebp - 0x234], 0x100
jae 0x1000e732
mov ecx, dword [ebp - 0x218]
shl ecx, 4
mov dx, word [ebp - 0x234]
mov word [ecx + 0x100cf3b4], dx
jmp 0x1000e749
mov eax, dword [ebp - 0x218]
shl eax, 4
mov cx, word [ebp - 0x218]
mov word [eax + 0x100cf3b4], cx
jmp 0x1000e5fd
mov byte [ebp - 0x221], 1
lea ecx, [ebp - 0x220]
call fcn.10006540
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x22c]
call fcn.10009d50
movzx edx, byte [ebp - 0x221]
test edx, edx
jne 0x1000e7da
mov dword [ebp - 0x218], 0
jmp 0x1000e795
mov eax, dword [ebp - 0x218]
add eax, 1
mov dword [ebp - 0x218], eax
cmp dword [ebp - 0x218], 0x100
jge 0x1000e7cb
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 0x1000e786
push 0x100a9cb8
mov ecx, 0x100d0494
call fcn.10002ae0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x220]
call fcn.100064f0
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