Function at 0x1000df90
Capabilities:
Query or enumerate registry key
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x1001da25
mov eax, dword fs:[0]
push eax
sub esp, 0x4e8
mov eax, dword [0x10025814]
xor eax, esp
mov dword [esp + 0x4e4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10025814]
xor eax, esp
push eax
lea eax, [esp + 0x4fc]
mov dword fs:[0], eax
xor edi, edi
mov dword [esp + 0x504], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
xor ebx, ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], edi
push str.SoftwareMicrosoftWindowsCurrentVersionExtSettings_
lea ecx, [esp + 0x24]
mov byte [esp + 0x508], 2
call fcn.10003620
mov eax, dword [esp + 0x50c]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x50c], 3
call fcn.10002440
lea eax, [esp + 0x14]
push eax
push 0x20006
push edi
push 0x1001eaf8
push VariantInit
mov dword [esp + 0x28], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
jne 0x1000e048
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edi
push 0x206
lea eax, [esp + 0xf6]
xor edx, edx
push edi
push eax
mov word [esp + 0xfc], dx
call fcn.1000f7e0
add esp, 0xc
mov esi, dword [esp + 0x30]
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x68]
push edx
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x60]
push edx
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x74]
push ecx
lea edx, [esp + 0x38]
push edx
push edi
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x118]
push ecx
push esi
mov dword [esp + 0x6c], 0x104
mov dword [esp + 0x4c], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cmp dword [esp + 0x1c], edi
je 0x1000e2d9
lea ecx, [esp + 0x68]
call fcn.100040d0
xor eax, eax
mov byte [esp + 0x504], 4
mov dword [esp + 0x38], eax
cmp dword [esp + 0x1c], edi
jbe 0x1000e2c8
lea ebx, [eax + 7]
lea edx, [esp + 0x54]
push edx
push edi
push edi
push edi
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x30c]
push edx
push eax
push esi
mov dword [esp + 0x64], 0xff
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, edi
jne 0x1000e2ad
lea eax, [esp + 0x2f8]
push eax
lea ecx, [esp + 0x18]
call fcn.10003620
mov edx, dword [esp + 0x14]
sub esp, 0x1c
mov ecx, esp
xor eax, eax
mov dword [ecx + 0x18], ebx
mov dword [ecx + 0x14], edi
mov word [ecx + 4], ax
mov eax, edx
mov byte [esp + 0x520], 5
mov dword [esp + 0x48], esp
lea ebp, [eax + 2]
mov si, word [eax]
add eax, 2
cmp si, di
jne 0x1000e147
sub eax, ebp
sar eax, 1
push eax
push edx
call fcn.10002350
mov edx, dword [esp + 0x528]
sub esp, 0x1c
mov ecx, esp
xor eax, eax
mov dword [ecx + 0x18], ebx
mov dword [ecx + 0x14], edi
mov word [ecx + 4], ax
mov eax, edx
mov byte [esp + 0x53c], 6
mov dword [esp + 0x50], esp
lea esi, [eax + 2]
mov bp, word [eax]
add eax, 2
cmp bp, di
jne 0x1000e186
sub eax, esi
sar eax, 1
push eax
push edx
call fcn.10002350
lea ecx, [esp + 0xa0]
mov byte [esp + 0x53c], 5
call fcn.10004f70
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
push eax
call fcn.10001350
add eax, 0x10
add esp, 4
mov dword [esp + 0x18], eax
push 1
push 0x1001e44c
lea ecx, [esp + 0x20]
mov byte [esp + 0x50c], bl
call fcn.10002440
mov eax, dword [esp + 0x20]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.10002440
mov ebp, dword [esp + 0x18]
lea ecx, [esp + 0x2c]
push ecx
push 0xf003f
push edi
push ebp
push VariantInit
mov dword [esp + 0x40], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
jne 0x1000e261
mov ecx, dword [esp + 0x24]
xor eax, eax
cmp ecx, edi
je 0x1000e224
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], edi
cmp eax, edi
jne 0x1000e261
push 4
lea edx, [esp + 0x44]
push edx
push 4
push edi
push str.Flags
push esi
mov dword [esp + 0x58], edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp esi, edi
je 0x1000e25d
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
lea eax, [ebp - 0x10]
mov byte [esp + 0x504], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000e285
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x504], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000e2ad
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0x30]
inc eax
mov dword [esp + 0x38], eax
cmp eax, dword [esp + 0x1c]
jb 0x1000e0e3
mov ebx, dword [esp + 0x24]
lea ecx, [esp + 0x68]
mov byte [esp + 0x504], 3
call fcn.100041f0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x504], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000e301
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp ebx, edi
je 0x1000e30c
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, edi
je 0x1000e317
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x50c]
add eax, 0xfffffff0
mov dword [esp + 0x504], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000e345
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x4fc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4e4]
xor ecx, esp
call fcn.1000fcdf
add esp, 0x4f4
ret