Function at 0x1000dde0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a2550
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x100d00b4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov esi, 0x10105428
sub esi, edx
mov al, byte [edx]
lea edx, [edx + 1]
mov byte [esi + edx - 1], al
test al, al
jne 0x1000de12
mov ebx, 0x10105428
lea ecx, [ebx - 1]
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x1000de27
mov eax, dword [0x100bb394]
mov dword [ecx], eax
mov ax, word [0x100bb398]
mov word [ecx + 4], ax
mov al, byte [0x100bb39a]
push 0x100bb39c
push str.90729A37
mov byte [ecx + 6], al
call fcn.1006ef80
add esp, 8
test eax, eax
je 0x1000ded6
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], 0x40
push eax
push 0x20019
push 0
push 0x100bb3a4
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000ded6
lea eax, [ebp - 0x10]
push eax
push 0x101050d0
push 0
push 0
push 0x100bb3a0
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1000ded6
mov edx, 0x101050d0
mov esi, edx
nop word [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x1000deb0
sub edx, esi
lea edi, [ebx - 1]
nop dword [eax]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1000dec0
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push ecx
lea ecx, [ebp - 0x28]
call fcn.10005f00
mov dword [ebp - 4], 0
lea edi, [ebx - 1]
nop dword [eax]
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x1000def0
mov eax, dword [0x100bb3b8]
lea ecx, [ebp - 0x28]
mov dword [edi], eax
call fcn.10005f90
mov edx, eax
mov esi, eax
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x1000df10
sub edx, esi
dec ebx
nop word [eax + eax]
mov al, byte [ebx + 1]
inc ebx
test al, al
jne 0x1000df20
mov ecx, edx
mov edi, ebx
shr ecx, 2
sub esp, 0x18
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov dword [ebp - 0x14], esp
mov edx, esp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x1000df58
mov eax, dword [edx]
jmp 0x1000df5a
mov eax, edx
mov byte [eax], 0
cmp byte [0x10105428], 0
jne 0x1000df6a
xor ecx, ecx
jmp 0x1000df7b
mov ecx, 0x10105428
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000df72
sub ecx, esi
push ecx
push 0x10105428
mov ecx, edx
call fcn.100017d0
sub esp, 0x18
mov byte [ebp - 4], 1
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x1000dfa9
mov eax, dword [edx]
jmp 0x1000dfab
mov eax, edx
mov ebx, dword [ebp - 0x18]
mov byte [eax], 0
cmp byte [ebx], 0
jne 0x1000dfba
xor ecx, ecx
jmp 0x1000dfc9
mov ecx, ebx
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000dfc0
sub ecx, esi
push ecx
push ebx
mov ecx, edx
call fcn.100017d0
mov byte [ebp - 4], 0
call fcn.10050470
mov esi, eax
add esp, 0x30
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x1000dff0
push eax
call fcn.1006c2ab
add esp, 4
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x1000e000
push eax
call fcn.1006c2ab
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8