Function at 0x100dd430
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a3540
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x10222354]
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.10003f70
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
call fcn.1000b9c0
mov byte [ebp - 4], 4
lea ecx, [ebp + 0x14]
call fcn.10008000
movzx eax, al
test eax, eax
jne 0x100dd4c4
lea ecx, [ebp + 0x14]
push ecx
push 0x101c57c0
lea edx, [ebp - 0x28]
push edx
call fcn.1001e050
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.10007b80
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.1000ba80
push 0x2001f
lea edx, [ebp + 0x14]
push edx
lea eax, [ebp - 0x2c]
push eax
call fcn.100e11d0
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.10007ea0
add esp, 0xc
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
call fcn.10007f90
push eax
push SysReAllocStringLen
lea ecx, [ebp - 0x18]
call fcn.100041c0
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x30]
call fcn.1000ba80
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c]
call fcn.1000ba80
cmp dword [ebp - 0x20], 0
je 0x100dd588
lea ecx, [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 8]
call fcn.1000b9e0
mov edx, dword [ebp - 0x38]
or edx, 1
mov dword [ebp - 0x38], edx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
call fcn.1000ba80
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.10003fa0
mov byte [ebp - 4], 1
lea ecx, [ebp + 0xc]
call fcn.1000ba80
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x10]
call fcn.1000ba80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call fcn.1000ba80
mov eax, dword [ebp + 8]
jmp 0x100dd767
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
lea ecx, [ebp + 0xc]
call fcn.10007fa0
push eax
lea ecx, [ebp - 0x18]
call fcn.10003fc0
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x100dd616
lea ecx, [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 8]
call fcn.1000b9e0
mov edx, dword [ebp - 0x38]
or edx, 1
mov dword [ebp - 0x38], edx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
call fcn.1000ba80
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.10003fa0
mov byte [ebp - 4], 1
lea ecx, [ebp + 0xc]
call fcn.1000ba80
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x10]
call fcn.1000ba80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call fcn.1000ba80
mov eax, dword [ebp + 8]
jmp 0x100dd767
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.10165c5a
add esp, 4
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
push eax
lea ecx, [ebp - 0x24]
call fcn.100e1650
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x10]
push ecx
push 0
lea ecx, [ebp - 0x24]
call fcn.100e1690
push eax
call fcn.10166680
add esp, 0xc
lea edx, [ebp - 0x10]
push edx
lea ecx, [ebp - 0x24]
call fcn.100e1690
push eax
lea ecx, [ebp + 0xc]
call fcn.10007f90
push eax
lea ecx, [ebp - 0x18]
call fcn.100b13b0
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x100dd6f3
lea eax, [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
call fcn.1000b9e0
mov ecx, dword [ebp - 0x38]
or ecx, 1
mov dword [ebp - 0x38], ecx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24]
call fcn.100e1670
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
call fcn.1000ba80
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.10003fa0
mov byte [ebp - 4], 1
lea ecx, [ebp + 0xc]
call fcn.1000ba80
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x10]
call fcn.1000ba80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call fcn.1000ba80
mov eax, dword [ebp + 8]
jmp 0x100dd767
lea ecx, [ebp - 0x24]
call fcn.100e1690
push eax
lea ecx, [ebp - 0x1c]
call fcn.1000baa0
lea edx, [ebp - 0x1c]
push edx
mov ecx, dword [ebp + 8]
call fcn.1000b9e0
mov eax, dword [ebp - 0x38]
or eax, 1
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24]
call fcn.100e1670
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
call fcn.1000ba80
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.10003fa0
mov byte [ebp - 4], 1
lea ecx, [ebp + 0xc]
call fcn.1000ba80
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x10]
call fcn.1000ba80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call fcn.1000ba80
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret