Function at 0x1000dd40
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006f2c6
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x10087040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 8]
mov dword [ebp - 0x230], edi
cmp dword [ebx + 0x130], 0
jne 0x1000dfb3
mov eax, dword [0x10089eac]
mov dword [ebp - 0x220], 0
test al, 1
jne 0x1000ddc4
push 0x64
or eax, 1
push 0
push 0x10089e48
mov dword [0x10089eac], eax
call fcn.10043f30
add esp, 0xc
call fcn.10005170
push 0x10072aa0
call fcn.1004245d
add esp, 4
lea eax, [ebp - 0x220]
push eax
push 0xf003f
push 0
push dword [0x10089e5c]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1000de57
push 0x208
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.10043f30
add esp, 0xc
mov dword [ebp - 0x224], 1
lea eax, [ebp - 0x228]
mov dword [ebp - 0x228], 0x208
push eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x224]
push eax
push 0
push str.InstallLocation
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x220], 0
push eax
jmp 0x1000de5c
push 0x1007b468
lea ecx, [ebp - 0x24c]
call fcn.100098a0
lea ecx, [ebp - 0x24c]
push ecx
lea ecx, [ebx + 0x120]
call fcn.1000a350
mov ecx, dword [ebp - 0x238]
cmp ecx, 7
jbe 0x1000deb9
mov edx, dword [ebp - 0x24c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000deaf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000e038
push ecx
push edx
call fcn.10042472
add esp, 8
cmp dword [ebx + 0x130], 0
jne 0x1000dfb3
mov eax, dword [0x10089eac]
test al, 1
jne 0x1000defa
push 0x64
or eax, 1
push 0
push 0x10089e48
mov dword [0x10089eac], eax
call fcn.10043f30
add esp, 0xc
call fcn.10005170
push 0x10072aa0
call fcn.1004245d
add esp, 4
mov ecx, dword [0x10089e54]
add ecx, 0xfffffff0
call fcn.10005bd0
add eax, 0x10
mov dword [ebp - 0x220], eax
push ecx
lea ecx, [ebp - 0x220]
mov dword [ebp - 4], 0
call fcn.1000f560
mov esi, dword [ebp - 0x220]
lea ecx, [ebp - 0x22c]
mov edx, esi
call fcn.100060c0
mov byte [ebp - 4], 1
mov ecx, dword [eax]
mov edx, ecx
lea eax, [edx + 2]
mov dword [ebp - 0x224], eax
nop dword [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x1000df50
sub edx, dword [ebp - 0x224]
sar edx, 1
push edx
push ecx
lea ecx, [ebx + 0x120]
call fcn.1000a240
mov byte [ebp - 4], 0
or ecx, 0xffffffff
mov edx, dword [ebp - 0x22c]
mov eax, ecx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000df97
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
or ecx, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x1000dfb3
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebx + 0x134], 7
lea esi, [ebx + 0x120]
jbe 0x1000dfc4
mov esi, dword [esi]
call fcn.10003fc0
mov ecx, eax
test ecx, ecx
je 0x1000e03d
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
push esi
mov ecx, edi
mov dword [ebp - 4], 2
call fcn.10005830
test al, al
jne 0x1000e018
test esi, esi
jne 0x1000dff4
xor ecx, ecx
jmp 0x1000e00f
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000e000
sub ecx, edx
sar ecx, 1
push ecx
push esi
mov ecx, edi
call fcn.10005aa0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10041e20
mov esp, ebp
pop ebp
ret 4
call fcn.10045dc4
push 0x80004005
call fcn.100013a0
int3