Function at 0x100e0810
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101ad420
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x1022c684]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.10020e50
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
call fcn.10005d40
mov byte [ebp - 4], 4
lea ecx, [ebp + 0x14]
call fcn.10004400
movzx eax, al
test eax, eax
jne 0x100e08a4
lea ecx, [ebp + 0x14]
push ecx
push 0x101d0110
lea edx, [ebp - 0x28]
push edx
call fcn.1001a4e0
add esp, 0xc
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x40]
push ecx
lea ecx, [ebp + 0x14]
call fcn.10003ea0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.10005e00
push 0x2001f
lea edx, [ebp + 0x14]
push edx
lea eax, [ebp - 0x2c]
push eax
call fcn.100adf40
add esp, 4
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x48], ecx
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x48]
push edx
lea eax, [ebp - 0x30]
push eax
call fcn.100042a0
add esp, 0xc
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
call fcn.10004390
push eax
push SysReAllocString
lea ecx, [ebp - 0x18]
call fcn.100210a0
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x30]
call fcn.10005e00
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c]
call fcn.10005e00
cmp dword [ebp - 0x20], 0
je 0x100e0968
lea ecx, [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 8]
call fcn.10005d60
mov edx, dword [ebp - 0x38]
or edx, 1
mov dword [ebp - 0x38], edx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
call fcn.10005e00
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.10020e80
mov byte [ebp - 4], 1
lea ecx, [ebp + 0xc]
call fcn.10005e00
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x10]
call fcn.10005e00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call fcn.10005e00
mov eax, dword [ebp + 8]
jmp 0x100e0b47
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
lea ecx, [ebp + 0xc]
call fcn.100043a0
push eax
lea ecx, [ebp - 0x18]
call fcn.10020ea0
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x100e09f6
lea ecx, [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 8]
call fcn.10005d60
mov edx, dword [ebp - 0x38]
or edx, 1
mov dword [ebp - 0x38], edx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
call fcn.10005e00
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.10020e80
mov byte [ebp - 4], 1
lea ecx, [ebp + 0xc]
call fcn.10005e00
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x10]
call fcn.10005e00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call fcn.10005e00
mov eax, dword [ebp + 8]
jmp 0x100e0b47
mov eax, dword [ebp - 0x10]
add eax, 2
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
shr eax, 1
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1016f15a
add esp, 4
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
push eax
lea ecx, [ebp - 0x24]
call fcn.100e5170
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x10]
push ecx
push 0
lea ecx, [ebp - 0x24]
call fcn.100e51b0
push eax
call fcn.1016f6c0
add esp, 0xc
lea edx, [ebp - 0x10]
push edx
lea ecx, [ebp - 0x24]
call fcn.100e51b0
push eax
lea ecx, [ebp + 0xc]
call fcn.10004390
push eax
lea ecx, [ebp - 0x18]
call fcn.100b2f80
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x100e0ad3
lea eax, [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
call fcn.10005d60
mov ecx, dword [ebp - 0x38]
or ecx, 1
mov dword [ebp - 0x38], ecx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24]
call fcn.100e5190
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
call fcn.10005e00
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.10020e80
mov byte [ebp - 4], 1
lea ecx, [ebp + 0xc]
call fcn.10005e00
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x10]
call fcn.10005e00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call fcn.10005e00
mov eax, dword [ebp + 8]
jmp 0x100e0b47
lea ecx, [ebp - 0x24]
call fcn.100e51b0
push eax
lea ecx, [ebp - 0x1c]
call fcn.10005e20
lea edx, [ebp - 0x1c]
push edx
mov ecx, dword [ebp + 8]
call fcn.10005d60
mov eax, dword [ebp - 0x38]
or eax, 1
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24]
call fcn.100e5190
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
call fcn.10005e00
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.10020e80
mov byte [ebp - 4], 1
lea ecx, [ebp + 0xc]
call fcn.10005e00
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x10]
call fcn.10005e00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call fcn.10005e00
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret