Function at 0x46df50
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.0043fe57
pop ecx
push 5
lea ecx, [ebp - 8]
call fcn.004465ac
push 0x14
lea ecx, [ebp - 0x18]
call fcn.004465ac
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 0x46e0d2
push 8
lea eax, [ebp + 8]
push eax
push str._super_r
call fcn.004485c7
add esp, 0xc
test al, al
jne 0x46e0ce
push edi
lea eax, [ebp + 8]
push eax
push 0x4cbfe8
call fcn.004485c7
add esp, 0xc
test al, al
jne 0x46e0ce
push 6
lea eax, [ebp + 8]
push eax
push 0x4d0bbc
call fcn.004485c7
add esp, 0xc
test al, al
je 0x46dfee
mov byte [ebp - 0xc], bl
jmp 0x46e0d2
push 6
lea eax, [ebp + 8]
push eax
push str._quick
call fcn.004485c7
add esp, 0xc
test al, al
je 0x46e00e
mov byte [ebp - 0xc], 0xc0
jmp 0x46e0d2
push edi
lea eax, [ebp + 8]
push eax
push 0x4cc76c
call fcn.004485c7
add esp, 0xc
test al, al
je 0x46e030
mov dword [ebp - 0x10], 0x80000003
jmp 0x46e0d2
push edi
lea eax, [ebp + 8]
push eax
push 0x4d0f68
call fcn.004485c7
add esp, 0xc
test al, al
je 0x46e04f
mov byte [ebp - 2], 1
jmp 0x46e0d2
push 3
lea eax, [ebp + 8]
push eax
push 0x4d0f64
call fcn.004485c7
add esp, 0xc
test al, al
je 0x46e06c
mov byte [ebp - 3], 1
jmp 0x46e0d2
push 4
lea eax, [ebp + 8]
push eax
push str._wun
call fcn.004485c7
add esp, 0xc
test al, al
je 0x46e089
mov byte [ebp - 3], 1
jmp 0x46e046
push 3
lea eax, [ebp + 8]
push eax
push 0x4d0f58
call fcn.004485c7
add esp, 0xc
test al, al
je 0x46e0a6
mov byte [ebp - 1], 1
jmp 0x46e046
push edi
lea eax, [ebp + 8]
push eax
push 0x4cbfe4
call fcn.004485c7
add esp, 0xc
test al, al
je 0x46e0c2
mov byte [ebp - 4], 1
jmp 0x46e0d2
lea eax, [ebp + 8]
push eax
call fcn.00408f31
pop ecx
jmp 0x46e0d2
mov byte [ebp - 0xc], 1
mov eax, dword [ebp + 8]
cmp word [eax], 0x2d
je 0x46df9a
cmp word [eax], 0x2a
jne 0x46e0f8
add eax, edi
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
mov byte [ebp - 1], 1
call fcn.0043fe57
pop ecx
push ebx
push 0x2c
lea eax, [ebp - 8]
push eax
lea eax, [ebp + 8]
push eax
mov ecx, esi
call fcn.0043ae93
push ebx
push 0x2c
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 8]
push eax
mov ecx, esi
call fcn.0043ae93
push dword [ebp - 0x18]
call fcn.004135f9
mov esi, eax
pop ecx
mov dword [ebp - 0x14], esi
call fcn.004442f4
cmp byte [ebp - 4], bl
je 0x46e150
push dword [ebp - 0x18]
xor eax, eax
mov al, byte [ebp - 0xc]
or eax, 0x40
push eax
push dword [ebp - 8]
call fcn.0046dbaf
add esp, 0xc
jmp 0x46e255
cmp byte [ebp - 1], bl
je 0x46e1fe
cmp word [esi], bx
jne 0x46e168
mov edi, 0x80070057
jmp 0x46e2cd
movzx eax, word [0x4e2c20]
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.00440fbc
mov edi, eax
add esp, 0x14
cmp edi, ebx
je 0x46e1b9
lea eax, [ebp - 0xc]
push eax
movzx eax, word [0x4e2c20]
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 0x46e2cd
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ebx
push 0x4e3238
push str.Advapi32.DLL
push str.RegSaveKeyExW
call fcn.0044131f
mov eax, dword [0x4e3238]
add esp, 0x10
cmp eax, ebx
je 0x46e1f0
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 0x46e257
mov ax, word [esi]
cmp ax, bx
jne 0x46e20b
cmp byte [ebp - 0xc], bl
jl 0x46e245
cmp byte [ebp - 3], bl
jne 0x46e245
cmp ax, bx
je 0x46e226
push esi
push dword [ebp - 8]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegLoadKeyW]
mov edi, eax
jmp 0x46e228
xor edi, edi
cmp byte [ebp - 0xc], bl
jl 0x46e2cd
push ebx
push dword [ebp - 0xc]
push dword [ebp - 8]
call fcn.0046dbaf
add esp, 0xc
jmp 0x46e2cd
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 0x46e2cd
cmp edi, ebx
jne 0x46e2cd
cmp byte [ebp - 2], bl
je 0x46e2cd
cmp word [esi], bx
je 0x46e2cd
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.00405c6d
cmp dword [ebp - 0x10], ebx
jne 0x46e2c5
push ebx
push ebx
push 3
push ebx
push ebx
push esi
push dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
call fcn.00405c6d
cmp dword [ebp - 0x10], ebx
jne 0x46e2c5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
je 0x46e2bb
cmp eax, 0x21
jne 0x46e2c5
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x46e279
lea ecx, [ebp - 0x10]
call fcn.00402d2b
lea ecx, [ebp - 0x18]
call fcn.0043fe25
lea ecx, [ebp - 8]
call fcn.0043fe25
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 8