Function at 0x46a8c9
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.0043e425
pop ecx
push 5
lea ecx, [ebp - 8]
call fcn.00444a2e
push 0x14
lea ecx, [ebp - 0x18]
call fcn.00444a2e
xor ebx, ebx
push 2
mov dword [ebp - 0x10], 0x80000002
mov byte [ebp - 1], bl
mov byte [ebp - 0xc], 0xc0
mov byte [ebp - 2], bl
mov byte [ebp - 3], bl
mov byte [ebp - 4], bl
pop edi
jmp 0x46aa4b
push 8
lea eax, [ebp + 8]
push eax
push str._super_r
call fcn.00446a34
add esp, 0xc
test al, al
jne 0x46aa47
push edi
lea eax, [ebp + 8]
push eax
push 0x4c4e68
call fcn.00446a34
add esp, 0xc
test al, al
jne 0x46aa47
push 6
lea eax, [ebp + 8]
push eax
push str._super
call fcn.00446a34
add esp, 0xc
test al, al
je 0x46a967
mov byte [ebp - 0xc], bl
jmp 0x46aa4b
push 6
lea eax, [ebp + 8]
push eax
push str._quick
call fcn.00446a34
add esp, 0xc
test al, al
je 0x46a987
mov byte [ebp - 0xc], 0xc0
jmp 0x46aa4b
push edi
lea eax, [ebp + 8]
push eax
push 0x4c5594
call fcn.00446a34
add esp, 0xc
test al, al
je 0x46a9a9
mov dword [ebp - 0x10], 0x80000003
jmp 0x46aa4b
push edi
lea eax, [ebp + 8]
push eax
push 0x4c9aa4
call fcn.00446a34
add esp, 0xc
test al, al
je 0x46a9c8
mov byte [ebp - 2], 1
jmp 0x46aa4b
push 3
lea eax, [ebp + 8]
push eax
push 0x4c9aa0
call fcn.00446a34
add esp, 0xc
test al, al
je 0x46a9e5
mov byte [ebp - 3], 1
jmp 0x46aa4b
push 4
lea eax, [ebp + 8]
push eax
push str._wun
call fcn.00446a34
add esp, 0xc
test al, al
je 0x46aa02
mov byte [ebp - 3], 1
jmp 0x46a9bf
push 3
lea eax, [ebp + 8]
push eax
push 0x4c9a94
call fcn.00446a34
add esp, 0xc
test al, al
je 0x46aa1f
mov byte [ebp - 1], 1
jmp 0x46a9bf
push edi
lea eax, [ebp + 8]
push eax
push 0x4c4e64
call fcn.00446a34
add esp, 0xc
test al, al
je 0x46aa3b
mov byte [ebp - 4], 1
jmp 0x46aa4b
lea eax, [ebp + 8]
push eax
call fcn.00409168
pop ecx
jmp 0x46aa4b
mov byte [ebp - 0xc], 1
mov eax, dword [ebp + 8]
cmp word [eax], 0x2d
je 0x46a913
cmp word [eax], 0x2a
jne 0x46aa71
add eax, edi
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
mov byte [ebp - 1], 1
call fcn.0043e425
pop ecx
push ebx
push 0x2c
lea eax, [ebp - 8]
push eax
lea eax, [ebp + 8]
push eax
mov ecx, esi
call fcn.004395a0
push ebx
push 0x2c
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 8]
push eax
mov ecx, esi
call fcn.004395a0
push dword [ebp - 0x18]
call fcn.004130a1
mov esi, eax
pop ecx
mov dword [ebp - 0x14], esi
call fcn.004427a6
cmp byte [ebp - 4], bl
je 0x46aac9
push dword [ebp - 0x18]
xor eax, eax
mov al, byte [ebp - 0xc]
or eax, 0x40
push eax
push dword [ebp - 8]
call fcn.0046a528
add esp, 0xc
jmp 0x46abce
cmp byte [ebp - 1], bl
je 0x46ab77
cmp word [esi], bx
jne 0x46aae1
mov edi, 0x80070057
jmp 0x46ac46
movzx eax, word [0x4dac14]
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.0043f5c9
mov edi, eax
add esp, 0x14
cmp edi, ebx
je 0x46ab32
lea eax, [ebp - 0xc]
push eax
movzx eax, word [0x4dac14]
or eax, esi
push eax
push ebx
push dword [ebp - 8]
push dword [ebp - 0x10]
call dword [sym.imp.advapi32.dll_RegOpenKeyExW]
mov edi, eax
cmp edi, ebx
jne 0x46ac46
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
push ebx
push 0x4db208
push str.Advapi32.DLL
push str.RegSaveKeyExW
call fcn.0043f92c
mov eax, dword [0x4db208]
add esp, 0x10
cmp eax, ebx
je 0x46ab69
push 4
push ebx
push dword [ebp - 0x14]
push dword [ebp - 0xc]
call eax
mov edi, eax
push dword [ebp - 0xc]
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov esi, dword [ebp - 0x14]
jmp 0x46abd0
mov ax, word [esi]
cmp ax, bx
jne 0x46ab84
cmp byte [ebp - 0xc], bl
jl 0x46abbe
cmp byte [ebp - 3], bl
jne 0x46abbe
cmp ax, bx
je 0x46ab9f
push esi
push dword [ebp - 8]
push dword [ebp - 0x10]
call dword [sym.imp.advapi32.dll_RegLoadKeyW]
mov edi, eax
jmp 0x46aba1
xor edi, edi
cmp byte [ebp - 0xc], bl
jl 0x46ac46
push ebx
push dword [ebp - 0xc]
push dword [ebp - 8]
call fcn.0046a528
add esp, 0xc
jmp 0x46ac46
push dword [ebp - 8]
push dword [ebp - 0x10]
call dword [sym.imp.advapi32.dll_RegUnLoadKeyW]
mov byte [ebp - 1], 0x10
mov edi, eax
cmp byte [ebp - 1], bl
je 0x46ac46
cmp edi, ebx
jne 0x46ac46
cmp byte [ebp - 2], bl
je 0x46ac46
cmp word [esi], bx
je 0x46ac46
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 dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
call fcn.00405a2a
cmp dword [ebp - 0x10], ebx
jne 0x46ac3e
push ebx
push ebx
push 3
push ebx
push ebx
push esi
push dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
call fcn.00405a2a
cmp dword [ebp - 0x10], ebx
jne 0x46ac3e
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x20
je 0x46ac34
cmp eax, 0x21
jne 0x46ac3e
push 1
call dword [sym.imp.KERNEL32.DLL_Sleep]
jmp 0x46abf2
lea ecx, [ebp - 0x10]
call fcn.00402cb5
lea ecx, [ebp - 0x18]
call fcn.0043e48d
lea ecx, [ebp - 8]
call fcn.0043e48d
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 8