Function at 0x1000d500
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f0e8c
mov eax, dword fs:[0]
push eax
sub esp, 0x81c
mov eax, dword [0x101341c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp word [0x10139848], 0
jne 0x1000d7b1
mov dword [ebp - 0x828], 0
mov dword [ebp - 0x824], 0
mov dword [ebp - 0x820], 0
push 0x20219
push str.SOFTWAREUltra_Uninstaller
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x828]
mov dword [ebp - 4], 0
call fcn.1000da10
mov ebx, dword [ebp - 0x828]
test eax, eax
jne 0x1000d7a6
lea eax, [ebp - 0x818]
mov dword [ebp - 0x818], 0x800
push eax
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0x814]
push eax
push 0
push 0x100fda2c
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1000d7a6
mov eax, dword [ebp - 0x814]
cmp eax, 1
je 0x1000d5d2
cmp eax, 2
jne 0x1000d7a6
mov eax, dword [ebp - 0x818]
test eax, eax
je 0x1000d5f6
test al, 1
jne 0x1000d7a6
shr eax, 1
cmp word [ebp + eax*2 - 0x812], 0
je 0x1000d5ff
jmp 0x1000d7a6
xor eax, eax
mov word [ebp - 0x810], ax
mov ecx, 0x10139848
lea esi, [ebp - 0x810]
mov edx, 0x3ff
sub esi, ecx
lea eax, [edx + 0x7ffffbff]
test eax, eax
je 0x1000d62f
movzx eax, word [esi + ecx]
test ax, ax
je 0x1000d62f
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x1000d611
lea eax, [ecx - 2]
test edx, edx
push 0x10139848
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
lea ecx, [ebp - 0x814]
call fcn.100069c0
mov byte [ebp - 4], 1
call fcn.10007340
mov ecx, eax
test ecx, ecx
je 0x1000d7cf
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x818], eax
mov eax, dword [ebp - 0x814]
or edi, 0xffffffff
mov byte [ebp - 4], 2
cmp dword [eax - 0xc], 0
jl 0x1000d6e4
push 0x100fdfe0
push eax
call fcn.100719c4
add esp, 8
test eax, eax
je 0x1000d6e4
sub eax, dword [ebp - 0x814]
sar eax, 1
test eax, eax
jle 0x1000d6e4
push eax
lea eax, [ebp - 0x81c]
push eax
lea ecx, [ebp - 0x814]
call fcn.1000d9a0
push eax
lea ecx, [ebp - 0x818]
mov byte [ebp - 4], 3
call fcn.10006c70
mov edx, dword [ebp - 0x81c]
mov eax, edi
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000d6f6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x1000d6f6
lea eax, [ebp - 0x814]
push eax
lea ecx, [ebp - 0x818]
call fcn.10006c70
mov eax, dword [ebp - 0x818]
mov edx, 0x100fdfe4
mov ecx, eax
mov si, word [ecx]
cmp si, word [edx]
jne 0x1000d729
test si, si
je 0x1000d725
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x1000d729
add ecx, 4
add edx, 4
test si, si
jne 0x1000d703
xor ecx, ecx
jmp 0x1000d72e
sbb ecx, ecx
or ecx, 1
lea edx, [eax - 0x10]
mov byte [ebp - 4], 1
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test ecx, ecx
jne 0x1000d77b
test eax, eax
jg 0x1000d74d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x814]
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x1000d76c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test ebx, ebx
je 0x1000d777
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
jmp 0x1000d7b3
test eax, eax
jg 0x1000d787
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x814]
mov byte [ebp - 4], 0
lea edx, [eax - 0x10]
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x1000d7a6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test ebx, ebx
je 0x1000d7b1
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100464aa
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10003ad0
int3