Function at 0x10073570
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1014bf04
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x1019646c]
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
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x24c], edi
mov dword [ebp - 0x22c], edi
mov dword [ebp - 0x228], 0
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 1
push 0
push eax
mov dword [ebp - 0x220], 1
mov dword [ebp - 0x21c], 0x104
call fcn.101166b0
add esp, 0xc
cmp dword [ebp + 0x18], 0
je 0x10073640
lea eax, [ebp - 0x224]
mov dword [ebp - 0x224], 0
push eax
push 1
push 0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x220]
push eax
push 0
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x224]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10073660
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x220]
push eax
push ebx
push dword [ebp + 0xc]
push esi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea esi, [ebp - 0x218]
mov dword [edi], 0
mov dword [ebp - 0x23c], esi
call fcn.10017640
mov ecx, eax
test ecx, ecx
je 0x10073944
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
mov ebx, 1
or ecx, 0xffffffff
cmp word [ebp - 0x218], 0
mov dword [ebp - 0x228], ebx
je 0x1007390a
mov dword [ebp - 0x238], ebx
test esi, esi
je 0x100738ec
call fcn.10017640
mov ecx, eax
test ecx, ecx
je 0x10073944
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x234], eax
push esi
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 2
call fcn.10019430
test al, al
jne 0x1007370c
mov eax, esi
lea edx, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100736f0
sub eax, edx
lea ecx, [ebp - 0x234]
sar eax, 1
push eax
push esi
call fcn.1001c180
mov eax, dword [edi]
mov byte [ebp - 4], 4
mov dword [ebp - 0x230], 0
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x1007372c
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0x10073740
call fcn.10017640
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
test eax, eax
je 0x10073944
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
or ebx, 2
mov dword [ebp - 0x230], eax
mov eax, dword [edi]
push 2
push 0x1015a520
mov dword [ebp - 0x228], ebx
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.100195c0
add esp, 0x14
mov edi, dword [ebp - 0x230]
mov ecx, dword [edi - 0x10]
lea eax, [edi - 0x10]
mov byte [ebp - 4], 5
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x248], eax
test ecx, ecx
je 0x100737a2
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0x100737b6
call fcn.10017640
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
test eax, eax
je 0x10073944
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
mov esi, dword [ebp - 0x234]
add eax, 0x10
mov ebx, dword [ebp - 0x238]
mov dword [ebp - 0x224], eax
or ebx, 6
lea eax, [ebp - 0x224]
mov dword [ebp - 0x228], ebx
push dword [esi - 0xc]
push esi
push dword [edi - 0xc]
push edi
push eax
call fcn.100195c0
mov edx, dword [ebp - 0x22c]
add esp, 0x14
mov eax, dword [ebp - 0x224]
mov edx, dword [edx]
sub edx, 0x10
lea edi, [eax - 0x10]
mov dword [ebp - 0x240], edx
cmp edi, edx
je 0x10073876
cmp dword [edx + 0xc], 0
lea ecx, [edx + 0xc]
mov dword [ebp - 0x238], ecx
jl 0x10073867
mov ecx, dword [edi]
cmp ecx, dword [edx]
jne 0x10073867
push edi
call fcn.10019550
mov edx, dword [ebp - 0x238]
add esp, 4
mov dword [ebp - 0x244], eax
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x1007385a
mov eax, dword [ebp - 0x240]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x244]
mov ecx, dword [ebp - 0x22c]
add eax, 0x10
mov dword [ecx], eax
jmp 0x10073876
push dword [eax - 0xc]
mov ecx, dword [ebp - 0x22c]
push eax
call fcn.1001c180
and ebx, 0xfffffffb
mov byte [ebp - 4], 4
mov dword [ebp - 0x228], ebx
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x10073898
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x248]
and ebx, 0xfffffffd
mov dword [ebp - 0x228], ebx
or eax, 0xffffffff
mov byte [ebp - 4], 3
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100738c0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esi - 0xc]
add esi, 0xfffffff0
mov ecx, dword [ebp - 0x23c]
mov byte [ebp - 4], 1
lea edi, [ecx + eax*2]
or ecx, 0xffffffff
mov eax, ecx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x100738f1
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x100738ee
xor edi, edi
or ecx, 0xffffffff
cmp word [edi + 2], 0
lea esi, [edi + 2]
mov edi, dword [ebp - 0x22c]
mov dword [ebp - 0x23c], esi
jmp 0x100736a1
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 0
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x10073926
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
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 - 0x10]
xor ecx, ebp
call fcn.100f5f8d
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10013b40
int3