Function at 0x40eab0
Capabilities:
Query or enumerate registry value
Resolve function by parsing pe exports
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x473b4c
mov eax, dword fs:[0]
push eax
mov eax, 0x206c
call fcn.0046d800
mov eax, dword [0x4c40a0]
xor eax, esp
mov dword [esp + 0x2068], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c40a0]
xor eax, esp
push eax
lea eax, [esp + 0x2080]
mov dword fs:[0], eax
lea eax, [esp + 0x1c]
push eax
push 0xf003f
xor edi, edi
push edi
push str.SYSTEMCurrentControlSetControlSession_Manager
push 0x80000002
mov esi, ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40ed73
push 0x1ffe
lea edx, [esp + 0x82]
xor ecx, ecx
push edi
push edx
mov word [esp + 0x88], cx
call fcn.00464050
mov ebp, 7
xor eax, eax
add esp, 0xc
mov dword [esp + 0x24], 0x2000
mov dword [esp + 0x20], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x3c], edi
mov word [esp + 0x2c], ax
mov dword [esp + 0x2088], edi
xor ecx, ecx
mov eax, esi
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x58], edi
mov word [esp + 0x48], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x40eb71
sub eax, edx
sar eax, 1
push eax
mov eax, esi
lea esi, [esp + 0x48]
call fcn.0040a600
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0x28]
push ecx
push edi
mov byte [esp + 0x2098], 1
mov edx, dword [esp + 0x2c]
push str.PendingFileRenameOperations
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40ecfa
mov eax, dword [esp + 0x24]
shr eax, 1
xor ecx, ecx
push eax
lea eax, [esp + 0x80]
lea esi, [esp + 0x64]
mov dword [esp + 0x18], edi
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x78], edi
mov word [esp + 0x68], cx
call fcn.0040a600
push 0xffffffffffffffff
push edi
mov eax, esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x2090], 2
call fcn.0040a0f0
mov ebx, 8
mov byte [esp + 0x2088], 1
cmp dword [esp + 0x78], ebx
jb 0x40ec1f
mov edx, dword [esp + 0x64]
push edx
call fcn.0046190e
add esp, 4
mov eax, dword [esp + 0x3c]
xor ebp, ebp
mov dword [esp + 0x18], ebp
cmp eax, edi
jbe 0x40ecf3
cmp ebp, eax
jbe 0x40ec3a
call fcn.00461eec
mov eax, dword [esp + 0x2c]
cmp dword [esp + 0x40], ebx
jae 0x40ec48
lea eax, [esp + 0x2c]
cmp word [eax + ebp*2], di
jne 0x40ece2
mov edi, dword [esp + 0x14]
mov dword [esp + 0x14], ebp
lea eax, [esp + 0x28]
sub ebp, edi
push eax
mov ecx, ebp
mov edx, edi
lea esi, [esp + 0x64]
call fcn.00409e00
mov byte [esp + 0x2088], 3
mov eax, dword [esp + 0x48]
cmp dword [esp + 0x5c], ebx
jae 0x40ec84
lea eax, [esp + 0x48]
mov ebx, dword [esp + 0x58]
push eax
xor eax, eax
lea edx, [esp + 0x64]
call fcn.0040a1a0
cmp eax, 0xffffffff
je 0x40ecb3
lea eax, [ebp + 1]
mov ebx, edi
lea esi, [esp + 0x28]
call fcn.00409d70
lea ecx, [edi - 1]
dec edi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], edi
mov eax, 1
add dword [esp + 0x14], eax
mov byte [esp + 0x2088], al
cmp dword [esp + 0x78], 8
jb 0x40ecd7
mov edx, dword [esp + 0x64]
push edx
call fcn.0046190e
add esp, 4
mov ebp, dword [esp + 0x18]
mov ebx, 8
xor edi, edi
mov eax, dword [esp + 0x3c]
inc ebp
mov dword [esp + 0x18], ebp
cmp ebp, eax
jb 0x40ec3a
mov ebp, 7
jmp 0x40ecff
mov ebx, 8
mov eax, dword [esp + 0x2c]
cmp dword [esp + 0x40], ebx
jae 0x40ed0d
lea eax, [esp + 0x2c]
mov ecx, dword [esp + 0x3c]
lea edx, [ecx + ecx]
mov ecx, dword [esp + 0x1c]
push edx
push eax
mov eax, dword [esp + 0x28]
push eax
push edi
push str.PendingFileRenameOperations
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [esp + 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x5c], ebx
jb 0x40ed4a
mov eax, dword [esp + 0x48]
push eax
call fcn.0046190e
add esp, 4
xor ecx, ecx
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x58], edi
mov word [esp + 0x48], cx
cmp dword [esp + 0x40], ebx
jb 0x40ed6c
mov edx, dword [esp + 0x2c]
push edx
call fcn.0046190e
add esp, 4
mov eax, 1
jmp 0x40ed75
xor eax, eax
mov ecx, dword [esp + 0x2080]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2068]
xor ecx, esp
call fcn.00461919
add esp, 0x2078
ret