Function at 0x1011f988
Capabilities:
Delete registry value
Move file
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x290]
mov eax, 0x6228
call fcn.10146c50
mov eax, dword [0x101f6410]
xor eax, ebp
mov dword [ebp + 0x28c], eax
push ebx
push esi
mov esi, dword [ebp + 0x298]
push edi
xor edi, edi
push 0x206
lea eax, [ebp + 0x86]
push edi
push eax
mov word [ebp + 0x84], di
call fcn.10146c80
push esi
push 0x101a32c4
push 0xffffffffffffffff
mov esi, 0x104
lea eax, [ebp + 0x84]
push esi
push eax
call fcn.1014612c
add esp, 0x20
push esi
lea eax, [ebp + 0x84]
push eax
call dword [sym.imp.USER32.dll_CharUpperBuffW]
mov esi, 0x1ffc
push esi
lea eax, [ebp - 0x1f94]
push edi
push eax
mov dword [ebp - 0x1f98], edi
call fcn.10146c80
push esi
lea eax, [ebp - 0x5f94]
push edi
push eax
mov dword [ebp - 0x5f98], edi
call fcn.10146c80
push esi
lea eax, [ebp - 0x3f94]
push edi
push eax
mov dword [ebp - 0x3f98], edi
call fcn.10146c80
add esp, 0x24
lea eax, [ebp + 0x78]
push eax
push edi
lea eax, [ebp + 0x70]
push eax
mov dword [ebp + 0x78], edi
mov ebx, str.PendingFileRenameOperations
push ebx
mov edi, str.SYSTEMCurrentControlSetControlSession_Manager
push edi
mov esi, reloc.OLEAUT32.dll_SysReAllocString
push esi
mov dword [ebp + 0x70], 7
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov eax, dword [ebp + 0x78]
add eax, eax
xor ecx, ecx
push 2
pop edx
mov dword [ebp + 0x78], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10144fc2
test eax, eax
pop ecx
mov dword [ebp + 0x74], eax
je 0x1011fd00
push dword [ebp + 0x78]
push 0
push eax
call fcn.10146c80
add esp, 0xc
lea eax, [ebp + 0x78]
push eax
push dword [ebp + 0x74]
lea eax, [ebp + 0x70]
push eax
push ebx
push edi
push esi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x1011fd00
push ebx
push edi
push esi
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
mov ebx, dword [ebp + 0x74]
mov eax, dword [ebp + 0x78]
and dword [ebp + 0x7c], 0
lea edx, [ebx + eax*2]
jmp 0x1011fbea
mov eax, dword [ebp + 0x7c]
cmp eax, 0x800
jge 0x1011fbf7
mov edi, eax
shl edi, 2
mov eax, ebx
mov dword [ebp + edi - 0x1f98], ebx
lea ecx, [eax + 2]
mov si, word [eax]
inc eax
inc eax
test si, si
jne 0x1011faf1
sub eax, ecx
sar eax, 1
lea ecx, [ebx + eax*2 + 2]
mov eax, ecx
lea esi, [ebp + edi - 0x3f98]
lea ebx, [eax + 2]
mov dword [esi], ecx
mov dword [ebp + 0x80], ebx
mov bx, word [eax]
inc eax
inc eax
test bx, bx
jne 0x1011fb17
sub eax, dword [ebp + 0x80]
sar eax, 1
lea ebx, [ecx + eax*2 + 2]
cmp ebx, edx
jae 0x1011fbf7
mov ecx, dword [ebp + edi - 0x1f98]
test ecx, ecx
je 0x1011fbf4
mov eax, dword [esi]
test eax, eax
mov dword [ebp + 0x80], eax
je 0x1011fbf4
push 4
push 0x101b72bc
push ecx
call fcn.101474c4
add esp, 0xc
test eax, eax
jne 0x1011fbe1
mov eax, dword [ebp + edi - 0x1f98]
push 4
push 0x101b72bc
push dword [ebp + 0x80]
add eax, 8
mov dword [ebp + edi - 0x1f98], eax
call fcn.101474c4
add esp, 0xc
test eax, eax
jne 0x1011fba7
mov eax, dword [ebp + 0x80]
add eax, 8
and dword [ebp + edi - 0x5f98], 0
mov dword [esi], eax
jmp 0x1011fbde
push 5
push 0x101b72b0
push dword [ebp + 0x80]
call fcn.101474c4
add esp, 0xc
test eax, eax
mov eax, dword [ebp + 0x80]
jne 0x1011fbd8
add eax, 0xa
mov dword [esi], eax
mov dword [ebp + edi - 0x5f98], 1
jmp 0x1011fbde
cmp word [eax], 0
jne 0x1011fbe1
inc dword [ebp + 0x7c]
mov eax, dword [ebp + 0x78]
mov ecx, dword [ebp + 0x74]
lea edx, [ecx + eax*2]
cmp ebx, edx
jb 0x1011fad2
jmp 0x1011fbf7
dec dword [ebp + 0x7c]
mov eax, dword [ebp + 0x7c]
and dword [ebp + 0x80], 0
test eax, eax
jle 0x1011fd00
shl eax, 2
mov dword [ebp + 0x6c], eax
jmp 0x1011fc14
mov eax, dword [ebp + 0x6c]
cmp dword [ebp + eax - 0x1f98], 0
je 0x1011fd00
cmp dword [ebp + eax - 0x3f98], 0
je 0x1011fd00
mov esi, dword [ebp + 0x80]
shl esi, 2
mov ebx, dword [ebp + esi - 0x1f98]
mov eax, ebx
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x1011fc45
sub eax, ecx
sar eax, 1
push eax
push ebx
call dword [sym.imp.USER32.dll_CharUpperBuffW]
lea eax, [ebp + 0x84]
push eax
push ebx
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
cmp dword [ebp + 0x29c], 0
je 0x1011fca9
test eax, eax
jne 0x1011fceb
lea ecx, [ebp + esi - 0x3f98]
mov eax, dword [ecx]
lea edi, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x1011fc82
sub eax, edi
sar eax, 1
jne 0x1011fc95
and dword [ecx], 0
cmp dword [ebp + esi - 0x5f98], 1
jne 0x1011fca5
push 5
push dword [ecx]
jmp 0x1011fce4
push 4
jmp 0x1011fca1
test eax, eax
jne 0x1011fceb
lea eax, [ebp + 0x84]
lea esi, [ebp + esi - 0x3f98]
mov edi, dword [esi]
push eax
push edi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x1011fceb
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x1011fccd
sub eax, edx
sar eax, 1
jne 0x1011fce0
and dword [esi], 0
push 5
push dword [esi]
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
inc dword [ebp + 0x80]
mov eax, dword [ebp + 0x80]
cmp eax, dword [ebp + 0x7c]
jl 0x1011fc11
push dword [ebp + 0x74]
call fcn.10145563
pop ecx
mov ecx, dword [ebp + 0x28c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10145d71
add ebp, 0x290
leave
ret