Function at 0x46bde6
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.0043e7bd
pop ecx
push 5
lea ecx, [ebp - 8]
call fcn.00444f8a
push 0x14
lea ecx, [ebp - 0x18]
call fcn.00444f8a
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 0x46bf68
push 8
lea eax, [ebp + 8]
push eax
push str._super_r
call fcn.00446fac
add esp, 0xc
test al, al
jne 0x46bf64
push edi
lea eax, [ebp + 8]
push eax
push 0x4c6f00
call fcn.00446fac
add esp, 0xc
test al, al
jne 0x46bf64
push 6
lea eax, [ebp + 8]
push eax
push str._super
call fcn.00446fac
add esp, 0xc
test al, al
je 0x46be84
mov byte [ebp - 0xc], bl
jmp 0x46bf68
push 6
lea eax, [ebp + 8]
push eax
push str._quick
call fcn.00446fac
add esp, 0xc
test al, al
je 0x46bea4
mov byte [ebp - 0xc], 0xc0
jmp 0x46bf68
push edi
lea eax, [ebp + 8]
push eax
push 0x4c762c
call fcn.00446fac
add esp, 0xc
test al, al
je 0x46bec6
mov dword [ebp - 0x10], 0x80000003
jmp 0x46bf68
push edi
lea eax, [ebp + 8]
push eax
push 0x4cbc0c
call fcn.00446fac
add esp, 0xc
test al, al
je 0x46bee5
mov byte [ebp - 2], 1
jmp 0x46bf68
push 3
lea eax, [ebp + 8]
push eax
push 0x4cbc08
call fcn.00446fac
add esp, 0xc
test al, al
je 0x46bf02
mov byte [ebp - 3], 1
jmp 0x46bf68
push 4
lea eax, [ebp + 8]
push eax
push str._wun
call fcn.00446fac
add esp, 0xc
test al, al
je 0x46bf1f
mov byte [ebp - 3], 1
jmp 0x46bedc
push 3
lea eax, [ebp + 8]
push eax
push 0x4cbbfc
call fcn.00446fac
add esp, 0xc
test al, al
je 0x46bf3c
mov byte [ebp - 1], 1
jmp 0x46bedc
push edi
lea eax, [ebp + 8]
push eax
push 0x4c6efc
call fcn.00446fac
add esp, 0xc
test al, al
je 0x46bf58
mov byte [ebp - 4], 1
jmp 0x46bf68
lea eax, [ebp + 8]
push eax
call fcn.00409344
pop ecx
jmp 0x46bf68
mov byte [ebp - 0xc], 1
mov eax, dword [ebp + 8]
cmp word [eax], 0x2d
je 0x46be30
cmp word [eax], 0x2a
jne 0x46bf8e
add eax, edi
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
mov byte [ebp - 1], 1
call fcn.0043e7bd
pop ecx
push ebx
push 0x2c
lea eax, [ebp - 8]
push eax
lea eax, [ebp + 8]
push eax
mov ecx, esi
call fcn.0043993e
push ebx
push 0x2c
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 8]
push eax
mov ecx, esi
call fcn.0043993e
push dword [ebp - 0x18]
call fcn.004132c6
mov esi, eax
pop ecx
mov dword [ebp - 0x14], esi
call fcn.00442bda
cmp byte [ebp - 4], bl
je 0x46bfe6
push dword [ebp - 0x18]
xor eax, eax
mov al, byte [ebp - 0xc]
or eax, 0x40
push eax
push dword [ebp - 8]
call fcn.0046ba45
add esp, 0xc
jmp 0x46c0eb
cmp byte [ebp - 1], bl
je 0x46c094
cmp word [esi], bx
jne 0x46bffe
mov edi, 0x80070057
jmp 0x46c163
movzx eax, word [0x4dcc20]
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.0043f95e
mov edi, eax
add esp, 0x14
cmp edi, ebx
je 0x46c04f
lea eax, [ebp - 0xc]
push eax
movzx eax, word [0x4dcc20]
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 0x46c163
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ebx
push 0x4dd218
push str.Advapi32.DLL
push str.RegSaveKeyExW
call fcn.0043fcc1
mov eax, dword [0x4dd218]
add esp, 0x10
cmp eax, ebx
je 0x46c086
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 0x46c0ed
mov ax, word [esi]
cmp ax, bx
jne 0x46c0a1
cmp byte [ebp - 0xc], bl
jl 0x46c0db
cmp byte [ebp - 3], bl
jne 0x46c0db
cmp ax, bx
je 0x46c0bc
push esi
push dword [ebp - 8]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegLoadKeyW]
mov edi, eax
jmp 0x46c0be
xor edi, edi
cmp byte [ebp - 0xc], bl
jl 0x46c163
push ebx
push dword [ebp - 0xc]
push dword [ebp - 8]
call fcn.0046ba45
add esp, 0xc
jmp 0x46c163
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 0x46c163
cmp edi, ebx
jne 0x46c163
cmp byte [ebp - 2], bl
je 0x46c163
cmp word [esi], bx
je 0x46c163
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.00405c00
cmp dword [ebp - 0x10], ebx
jne 0x46c15b
push ebx
push ebx
push 3
push ebx
push ebx
push esi
push dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
call fcn.00405c00
cmp dword [ebp - 0x10], ebx
jne 0x46c15b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
je 0x46c151
cmp eax, 0x21
jne 0x46c15b
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x46c10f
lea ecx, [ebp - 0x10]
call fcn.00402cc5
lea ecx, [ebp - 0x18]
call fcn.0043e825
lea ecx, [ebp - 8]
call fcn.0043e825
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 8