Function at 0x1000fa50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10080f2c
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x100a1040]
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 dword [ebp - 0x230], ecx
mov ebx, dword [ebp + 8]
mov eax, ecx
mov dword [ebp - 0x240], ebx
cmp dword [eax + 0x130], 0
jne 0x1000fd47
mov esi, dword [0x100a4098]
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 0
test esi, esi
je 0x1000fac4
lock inc dword [esi + 4]
mov esi, dword [0x100a4098]
mov ecx, dword [0x100a4094]
mov dword [ebp - 0x238], ecx
mov dword [ebp - 0x234], esi
mov dword [ebp - 4], 0
lea edx, [ebp - 0x23c]
mov eax, dword [ecx]
push edx
call dword [eax + 0x30]
lea ecx, [ebp - 0x22c]
push ecx
push 0xf003f
push 0
push dword [eax]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edx, dword [ebp - 0x23c]
or edi, 0xffffffff
mov dword [ebp - 0x220], eax
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000fb2a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x1000fb54
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1000fb54
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x1000fb54
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
cmp dword [ebp - 0x220], 0
jne 0x1000fbcd
push 0x208
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.10055b90
add esp, 0xc
mov dword [ebp - 0x228], 1
lea eax, [ebp - 0x224]
mov dword [ebp - 0x224], 0x208
push eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x228]
push eax
push 0
push str.InstallLocation
push dword [ebp - 0x22c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x22c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x22c], 0
lea eax, [ebp - 0x21c]
jmp 0x1000fbd2
mov eax, 0x1008f490
push eax
lea ecx, [ebp - 0x25c]
call fcn.1000c060
mov eax, dword [ebp - 0x230]
lea ecx, [ebp - 0x25c]
add eax, 0x120
push ecx
mov ecx, eax
mov dword [ebp - 0x224], eax
call fcn.1000bfd0
mov ecx, dword [ebp - 0x248]
cmp ecx, 7
jbe 0x1000fc3d
mov edx, dword [ebp - 0x25c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000fc33
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000fdc8
push ecx
push edx
call fcn.10053bf1
add esp, 8
mov eax, dword [ebp - 0x230]
cmp dword [eax + 0x130], 0
jne 0x1000fd47
mov esi, dword [0x100a4098]
mov dword [ebp - 0x220], 0
test esi, esi
je 0x1000fc6e
lock inc dword [esi + 4]
mov esi, dword [0x100a4098]
mov ecx, dword [0x100a4094]
mov dword [ebp - 0x238], ecx
mov dword [ebp - 0x234], esi
mov dword [ebp - 4], 1
lea edx, [ebp - 0x220]
mov eax, dword [ecx]
push edx
call dword [eax + 0x1c]
mov byte [ebp - 4], 3
test esi, esi
je 0x1000fcba
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1000fcba
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x1000fcba
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
push ecx
lea ecx, [ebp - 0x220]
call fcn.10010fc0
mov edx, dword [ebp - 0x220]
lea ecx, [ebp - 0x234]
call fcn.10031fd0
mov byte [ebp - 4], 4
mov esi, dword [eax]
mov edx, esi
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x1000fce2
sub edx, ecx
mov ecx, dword [ebp - 0x224]
sar edx, 1
push edx
push esi
call fcn.1000c570
mov byte [ebp - 4], 3
mov eax, edi
mov edx, dword [ebp - 0x234]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000fd1f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x220]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x1000fd41
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x230]
cmp dword [eax + 0x134], 7
lea esi, [eax + 0x120]
jbe 0x1000fd58
mov esi, dword [esi]
call fcn.10004070
mov ecx, eax
test ecx, ecx
je 0x1000fdcd
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
push esi
mov ecx, ebx
mov dword [ebp - 4], 5
call fcn.10007ac0
test al, al
jne 0x1000fda8
test esi, esi
jne 0x1000fd88
xor ecx, ecx
jmp 0x1000fd9f
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000fd90
sub ecx, edx
sar ecx, 1
push ecx
push esi
mov ecx, ebx
call fcn.10007d40
mov eax, ebx
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.100535a4
mov esp, ebp
pop ebp
ret 4
call fcn.10058b57
push 0x80004005
call fcn.10001410
int3