Function at 0x418f50
Capabilities:
Delete file
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54bd60
mov eax, dword fs:[0]
push eax
sub esp, 0x2a8
mov eax, dword [0x60c9c8]
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 - 0x10], esp
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x2a0]
push ecx
push 0x2001f
xor esi, esi
push esi
push str.SYSTEMCurrentControlSetControlSession_Manager
push 0x80000002
mov dword [ebp - 0x2ac], eax
mov dword [ebp - 4], esi
mov dword [ebp - 0x2a0], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
je 0x41947f
mov eax, dword [ebp - 0x2a0]
lea edx, [ebp - 0x294]
push edx
push esi
push esi
push esi
push str.PendingFileRenameOperations
mov dword [ebp - 0x294], esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push eax
call esi
mov eax, dword [ebp - 0x294]
shr eax, 1
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00432a59
mov ebx, eax
mov eax, dword [ebp - 0x294]
shr eax, 1
xor ecx, ecx
inc eax
add esp, 4
mov edx, 2
mul edx
seto cl
mov dword [ebp - 0x2b0], ebx
neg ecx
or ecx, eax
push ecx
call fcn.00432a59
mov ecx, dword [ebp - 0x2a0]
add esp, 4
mov edi, eax
lea eax, [ebp - 0x294]
push eax
push ebx
push 0
push 0
push str.PendingFileRenameOperations
push ecx
mov dword [ebp - 0x2a8], edi
call esi
test eax, eax
je 0x41907e
test ebx, ebx
je 0x41905d
push ebx
call fcn.00432a4e
add esp, 4
test edi, edi
je 0x41906a
push edi
call fcn.00432a4e
add esp, 4
mov edx, dword [ebp - 0x2a0]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x419484
mov eax, dword [ebp - 0x294]
mov ecx, eax
xor edi, edi
shr ecx, 1
inc ecx
mov dword [ebp - 0x2a4], ecx
mov ecx, dword [ebp - 0x2a8]
mov dword [ebp - 0x290], edi
mov dword [ebp - 0x29c], edi
mov dword [ebp - 0x298], ecx
mov esi, ebx
jmp 0x4190b3
mov edi, dword [ebp - 0x290]
cmp edi, eax
jae 0x419439
mov edx, dword [ebp - 0x2ac]
push edx
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x4192bb
xor eax, eax
mov word [ebp - 0x270], ax
mov eax, esi
mov dword [ebp - 0x2b4], esi
mov dword [ebp - 0x25c], 7
mov dword [ebp - 0x260], 0
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x419100
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [ebp - 0x270]
call fcn.0040cc10
cmp dword [ebp - 0x25c], 8
mov ebx, dword [ebp - 0x260]
jb 0x41913a
mov ecx, dword [ebp - 0x270]
push ecx
call fcn.00432a4e
add esp, 4
mov eax, dword [ebp - 0x294]
xor edx, edx
mov dword [ebp - 0x25c], 7
mov dword [ebp - 0x260], 0
mov word [ebp - 0x270], dx
lea esi, [esi + ebx*2]
lea edi, [edi + ebx*2]
mov dword [ebp - 0x290], edi
cmp word [esi], dx
jne 0x41917a
cmp edi, eax
jae 0x41917a
add esi, 2
add edi, 2
jmp 0x419163
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x21a]
push ecx
mov word [ebp - 0x21c], ax
call fcn.00531fb0
push 6
push str.____
call fcn.005330ca
push eax
push esi
lea edx, [ebp - 0x21c]
push 0x104
push edx
call fcn.00533b6b
add esp, 0x24
push str.____
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x4192b0
mov ecx, dword [ebp - 0x2b4]
push 0x3a
push ecx
call fcn.00533c38
add esp, 8
sub eax, 2
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
xor edx, edx
mov eax, esi
mov word [ebp - 0x28c], dx
mov dword [ebp - 0x278], 7
mov dword [ebp - 0x27c], 0
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x419215
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [ebp - 0x28c]
call fcn.0040cc10
cmp dword [ebp - 0x278], 8
mov ebx, dword [ebp - 0x27c]
jb 0x41924f
mov eax, dword [ebp - 0x28c]
push eax
call fcn.00432a4e
add esp, 4
mov eax, dword [ebp - 0x294]
xor ecx, ecx
mov dword [ebp - 0x278], 7
mov dword [ebp - 0x27c], 0
mov word [ebp - 0x28c], cx
lea esi, [esi + ebx*2]
lea edi, [edi + ebx*2]
mov dword [ebp - 0x290], edi
cmp word [esi], cx
jne 0x41928f
cmp edi, eax
jae 0x419297
add esi, 2
add edi, 2
jmp 0x419278
cmp edi, eax
jb 0x4190bb
mov eax, dword [ebp - 0x298]
xor edx, edx
add dword [ebp - 0x29c], 2
mov word [eax], dx
lea esp, [esp]
mov eax, dword [ebp - 0x294]
jmp 0x4190b3
mov ecx, dword [ebp - 0x2a4]
mov edx, dword [ebp - 0x298]
push esi
push ecx
push edx
call fcn.00532f33
mov edi, dword [ebp - 0x298]
add esp, 0xc
xor eax, eax
mov word [ebp - 0x254], ax
mov ebx, 7
mov eax, edi
mov dword [ebp - 0x240], ebx
mov dword [ebp - 0x244], 0
lea edx, [eax + 2]
jmp 0x419300
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x419300
sub eax, edx
sar eax, 1
push eax
push edi
lea ecx, [ebp - 0x254]
call fcn.0040cc10
cmp dword [ebp - 0x240], 8
mov edi, dword [ebp - 0x244]
jb 0x41933a
mov ecx, dword [ebp - 0x254]
push ecx
call fcn.00432a4e
add esp, 4
sub dword [ebp - 0x2a4], edi
mov dword [ebp - 0x240], ebx
xor edx, edx
lea ebx, [edi + edi]
add dword [ebp - 0x298], ebx
xor eax, eax
mov word [ebp - 0x238], ax
mov eax, esi
mov word [ebp - 0x254], dx
mov dword [ebp - 0x228], edx
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x224], 7
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x419380
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [ebp - 0x238]
call fcn.0040cc10
cmp dword [ebp - 0x224], 8
mov edi, dword [ebp - 0x228]
jb 0x4193ba
mov ecx, dword [ebp - 0x238]
push ecx
call fcn.00432a4e
add esp, 4
add dword [ebp - 0x29c], ebx
xor edx, edx
lea eax, [edi + edi]
add dword [ebp - 0x290], eax
mov dword [ebp - 0x224], 7
mov dword [ebp - 0x228], 0
mov word [ebp - 0x238], dx
lea esi, [esi + edi*2]
lea esp, [esp]
mov eax, dword [ebp - 0x294]
cmp dword [ebp - 0x290], eax
jae 0x4190ad
cmp word [esi], dx
jne 0x4190ad
mov eax, dword [ebp - 0x298]
xor ecx, ecx
mov word [eax], cx
mov ecx, 2
add dword [ebp - 0x29c], ecx
add dword [ebp - 0x290], ecx
add eax, ecx
add esi, ecx
dec dword [ebp - 0x2a4]
mov dword [ebp - 0x298], eax
jmp 0x4193f0
mov edx, dword [ebp - 0x29c]
mov esi, dword [ebp - 0x2a8]
mov eax, dword [ebp - 0x2a0]
push edx
push esi
push 7
push 0
push str.PendingFileRenameOperations
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 0x2a0]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x2b0]
push edx
call fcn.00432a4e
push esi
call fcn.00432a4e
add esp, 8
mov eax, 1
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.00531f97
mov esp, ebp
pop ebp
ret 4