Function at 0x468bac
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
lea eax, [ebp + 8]
push edi
push eax
mov esi, ecx
call fcn.0043dae7
pop ecx
push 5
lea ecx, [ebp - 8]
call fcn.00443f79
push 0x14
lea ecx, [ebp - 0x18]
call fcn.00443f79
xor ebx, ebx
mov dword [ebp - 0x14], 0x80000002
mov byte [ebp - 1], bl
mov byte [ebp - 0x10], 0xff
mov byte [ebp - 2], bl
mov byte [ebp - 3], bl
jmp 0x468ced
push 8
lea eax, [ebp + 8]
push eax
push 0x4c68a8
call fcn.00445f31
add esp, 0xc
test al, al
je 0x468c10
mov byte [ebp - 0x10], 1
jmp 0x468ced
push 6
lea eax, [ebp + 8]
push eax
push 0x4c6544
call fcn.00445f31
add esp, 0xc
test al, al
je 0x468c2f
mov byte [ebp - 0x10], bl
jmp 0x468ced
push 6
lea eax, [ebp + 8]
push eax
push 0x4c68a0
call fcn.00445f31
add esp, 0xc
test al, al
je 0x468c4f
mov byte [ebp - 0x10], 0xff
jmp 0x468ced
push 2
lea eax, [ebp + 8]
push eax
push 0x4c24a4
call fcn.00445f31
add esp, 0xc
test al, al
je 0x468c6f
mov dword [ebp - 0x14], 0x80000003
jmp 0x468ced
push 2
lea eax, [ebp + 8]
push eax
push 0x4c689c
call fcn.00445f31
add esp, 0xc
test al, al
je 0x468c8c
mov byte [ebp - 2], 1
jmp 0x468ced
push 3
lea eax, [ebp + 8]
push eax
push 0x4c6898
call fcn.00445f31
add esp, 0xc
test al, al
je 0x468ca9
mov byte [ebp - 3], 1
jmp 0x468ced
push 4
lea eax, [ebp + 8]
push eax
push 0x4c6890
call fcn.00445f31
add esp, 0xc
test al, al
je 0x468cc6
mov byte [ebp - 3], 1
jmp 0x468c86
push 3
lea eax, [ebp + 8]
push eax
push 0x4c688c
call fcn.00445f31
add esp, 0xc
test al, al
je 0x468ce3
mov byte [ebp - 1], 1
jmp 0x468c86
lea eax, [ebp + 8]
push eax
call fcn.00408ddd
pop ecx
mov eax, dword [ebp + 8]
cmp word [eax], 0x2d
je 0x468bf0
cmp word [eax], 0x2a
jne 0x468d13
inc eax
inc eax
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
mov byte [ebp - 1], 1
call fcn.0043dae7
pop ecx
push ebx
push 0x2c
lea eax, [ebp - 8]
push eax
lea eax, [ebp + 8]
push eax
mov ecx, esi
call fcn.00438c4b
push ebx
push 0x2c
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 8]
push eax
mov ecx, esi
call fcn.00438c4b
push dword [ebp - 0x18]
call fcn.00412ae5
pop ecx
mov edi, eax
call fcn.00441ceb
cmp byte [ebp - 1], bl
je 0x468df1
cmp word [edi], bx
jne 0x468d5f
mov esi, 0x80070057
jmp 0x468eb0
movzx eax, word [0x4d7c1c]
push 4
mov esi, 0x20019
or eax, esi
push eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 8]
mov dword [ebp - 0x10], ebx
push dword [ebp - 0x14]
call fcn.0043ec4c
add esp, 0x14
cmp eax, ebx
mov dword [ebp - 0xc], eax
je 0x468db2
lea eax, [ebp - 0x10]
push eax
movzx eax, word [0x4d7c1c]
or eax, esi
push eax
push ebx
push dword [ebp - 8]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.DLL_RegOpenKeyExW]
cmp eax, ebx
mov dword [ebp - 0xc], eax
jne 0x468ead
push edi
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
push ebx
push 0x4d8210
push 0x4bea98
push 0x4c687c
call fcn.0043ef59
mov eax, dword [0x4d8210]
add esp, 0x10
cmp eax, ebx
je 0x468de6
push 4
push ebx
push edi
push dword [ebp - 0x10]
call eax
mov dword [ebp - 0xc], eax
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.DLL_RegCloseKey]
jmp 0x468e3a
cmp word [edi], bx
je 0x468e27
cmp byte [ebp - 3], bl
jne 0x468e27
push edi
push dword [ebp - 8]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.DLL_RegLoadKeyW]
cmp byte [ebp - 0x10], bl
mov dword [ebp - 0xc], eax
jl 0x468ead
push dword [ebp - 0x10]
lea eax, [ebp - 8]
push eax
call fcn.00468a7d
pop ecx
pop ecx
jmp 0x468ead
push dword [ebp - 8]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.DLL_RegUnLoadKeyW]
mov dword [ebp - 0xc], eax
mov byte [ebp - 1], 0x10
cmp byte [ebp - 1], bl
je 0x468ead
cmp dword [ebp - 0xc], ebx
jne 0x468ead
cmp byte [ebp - 2], bl
je 0x468ead
cmp word [edi], bx
je 0x468ead
push ebx
mov dword [ebp - 0x14], ebx
call dword [sym.imp.KERNEL32.DLL_SetLastError]
mov esi, 0x80000000
push ebx
push 0x2000000
push 3
push ebx
push ebx
push esi
push edi
lea ecx, [ebp - 0x14]
call fcn.0040569f
cmp dword [ebp - 0x14], ebx
jne 0x468ea5
push ebx
push ebx
push 3
push ebx
push ebx
push esi
push edi
lea ecx, [ebp - 0x14]
call fcn.0040569f
cmp dword [ebp - 0x14], ebx
jne 0x468ea5
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x20
je 0x468e9b
cmp eax, 0x21
jne 0x468ea5
push 1
call dword [sym.imp.KERNEL32.DLL_Sleep]
jmp 0x468e5d
lea ecx, [ebp - 0x14]
call fcn.00402cb5
mov esi, dword [ebp - 0xc]
lea ecx, [ebp - 0x18]
call fcn.0043db4f
lea ecx, [ebp - 8]
call fcn.0043db4f
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8