Function at 0x462244
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.00439c95
pop ecx
push 5
lea ecx, [ebp - 8]
call fcn.0043fdb8
push 0x14
lea ecx, [ebp - 0x18]
call fcn.0043fdb8
xor ebx, ebx
mov dword [ebp - 0x10], 0x80000002
mov byte [ebp - 1], bl
mov byte [ebp - 0xc], 0xff
mov byte [ebp - 2], bl
mov byte [ebp - 3], bl
jmp 0x462385
push 8
lea eax, [ebp + 8]
push eax
push str._super_r
call fcn.00441bc4
add esp, 0xc
test al, al
je 0x4622a8
mov byte [ebp - 0xc], 1
jmp 0x462385
push 6
lea eax, [ebp + 8]
push eax
push str._super
call fcn.00441bc4
add esp, 0xc
test al, al
je 0x4622c7
mov byte [ebp - 0xc], bl
jmp 0x462385
push 6
lea eax, [ebp + 8]
push eax
push str._quick
call fcn.00441bc4
add esp, 0xc
test al, al
je 0x4622e7
mov byte [ebp - 0xc], 0xff
jmp 0x462385
push 2
lea eax, [ebp + 8]
push eax
push 0x4b41ac
call fcn.00441bc4
add esp, 0xc
test al, al
je 0x462307
mov dword [ebp - 0x10], 0x80000003
jmp 0x462385
push 2
lea eax, [ebp + 8]
push eax
push 0x4b8180
call fcn.00441bc4
add esp, 0xc
test al, al
je 0x462324
mov byte [ebp - 2], 1
jmp 0x462385
push 3
lea eax, [ebp + 8]
push eax
push 0x4b817c
call fcn.00441bc4
add esp, 0xc
test al, al
je 0x462341
mov byte [ebp - 3], 1
jmp 0x462385
push 4
lea eax, [ebp + 8]
push eax
push str._wun
call fcn.00441bc4
add esp, 0xc
test al, al
je 0x46235e
mov byte [ebp - 3], 1
jmp 0x46231e
push 3
lea eax, [ebp + 8]
push eax
push 0x4b75c0
call fcn.00441bc4
add esp, 0xc
test al, al
je 0x46237b
mov byte [ebp - 1], 1
jmp 0x46231e
lea eax, [ebp + 8]
push eax
call fcn.00405444
pop ecx
mov eax, dword [ebp + 8]
cmp word [eax], 0x2d
je 0x462288
cmp word [eax], 0x2a
jne 0x4623ab
inc eax
inc eax
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
mov byte [ebp - 1], 1
call fcn.00439c95
pop ecx
push ebx
push 0x2c
lea eax, [ebp - 8]
push eax
lea eax, [ebp + 8]
push eax
mov ecx, esi
call fcn.004350f0
push ebx
push 0x2c
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 8]
push eax
mov ecx, esi
call fcn.004350f0
push dword [ebp - 0x18]
call fcn.00411f27
cmp byte [ebp - 1], bl
pop ecx
mov edi, eax
je 0x462467
cmp word [edi], bx
jne 0x4623f2
mov esi, 0x80070057
jmp 0x46257b
movzx eax, word [0x4c8bcc]
push 4
mov esi, 0x20019
or eax, esi
push eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
mov dword [ebp - 0xc], ebx
push dword [ebp - 0x10]
call fcn.0043ad24
add esp, 0x14
cmp eax, ebx
je 0x462442
lea eax, [ebp - 0xc]
push eax
movzx eax, word [0x4c8bcc]
or eax, esi
push eax
push ebx
push dword [ebp - 8]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
mov dword [ebp - 0x14], eax
jne 0x462578
push edi
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
push 4
push ebx
push edi
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSaveKeyExW]
push dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x462505
test byte [0x4c9c70], 2
jne 0x4624a1
or byte [0x4c9c70], 0x12
push ebx
push 2
push str.SeRestorePrivilege
call fcn.00412301
push ebx
push 2
push str.SeSecurityPrivilege
call fcn.00412301
push ebx
push 2
push str.SeTakeOwnershipPrivilege
call fcn.00412301
add esp, 0x24
push ebx
push 2
mov esi, str.SeBackupPrivilege
push esi
call fcn.00412301
push 1
push 2
push esi
call fcn.00412301
add esp, 0x18
cmp word [edi], bx
je 0x4624f2
cmp byte [ebp - 3], bl
jne 0x4624f2
push edi
push dword [ebp - 8]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegLoadKeyW]
cmp byte [ebp - 0xc], bl
mov dword [ebp - 0x14], eax
jl 0x462578
push dword [ebp - 0xc]
lea eax, [ebp - 8]
push eax
call fcn.00462115
pop ecx
pop ecx
jmp 0x462578
push dword [ebp - 8]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegUnLoadKeyW]
mov dword [ebp - 0x14], eax
mov byte [ebp - 1], 0x10
cmp byte [ebp - 1], bl
je 0x462578
cmp dword [ebp - 0x14], ebx
jne 0x462578
cmp byte [ebp - 2], bl
je 0x462578
cmp word [edi], bx
je 0x462578
push ebx
mov dword [ebp - 0x10], 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 - 0x10]
call fcn.004054c4
cmp dword [ebp - 0x10], ebx
jne 0x462570
push ebx
push ebx
push 3
push ebx
push ebx
push esi
push edi
lea ecx, [ebp - 0x10]
call fcn.004054c4
cmp dword [ebp - 0x10], ebx
jne 0x462570
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x20
je 0x462566
cmp eax, 0x21
jne 0x462570
push 1
call dword [sym.imp.KERNEL32.DLL_Sleep]
jmp 0x462528
lea ecx, [ebp - 0x10]
call fcn.00402c5b
mov esi, dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
call fcn.00439cfd
lea ecx, [ebp - 8]
call fcn.00439cfd
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8