Function at 0x46bc78
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.0043e611
pop ecx
push 5
lea ecx, [ebp - 8]
call fcn.00444e50
push 0x14
lea ecx, [ebp - 0x18]
call fcn.00444e50
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 0x46bdfa
push 8
lea eax, [ebp + 8]
push eax
push str._super_r
call fcn.00446de5
add esp, 0xc
test al, al
jne 0x46bdf6
push edi
lea eax, [ebp + 8]
push eax
push 0x4c5ee8
call fcn.00446de5
add esp, 0xc
test al, al
jne 0x46bdf6
push 6
lea eax, [ebp + 8]
push eax
push str._super
call fcn.00446de5
add esp, 0xc
test al, al
je 0x46bd16
mov byte [ebp - 0xc], bl
jmp 0x46bdfa
push 6
lea eax, [ebp + 8]
push eax
push str._quick
call fcn.00446de5
add esp, 0xc
test al, al
je 0x46bd36
mov byte [ebp - 0xc], 0xc0
jmp 0x46bdfa
push edi
lea eax, [ebp + 8]
push eax
push 0x4c6614
call fcn.00446de5
add esp, 0xc
test al, al
je 0x46bd58
mov dword [ebp - 0x10], 0x80000003
jmp 0x46bdfa
push edi
lea eax, [ebp + 8]
push eax
push 0x4cabf4
call fcn.00446de5
add esp, 0xc
test al, al
je 0x46bd77
mov byte [ebp - 2], 1
jmp 0x46bdfa
push 3
lea eax, [ebp + 8]
push eax
push 0x4cabf0
call fcn.00446de5
add esp, 0xc
test al, al
je 0x46bd94
mov byte [ebp - 3], 1
jmp 0x46bdfa
push 4
lea eax, [ebp + 8]
push eax
push str._wun
call fcn.00446de5
add esp, 0xc
test al, al
je 0x46bdb1
mov byte [ebp - 3], 1
jmp 0x46bd6e
push 3
lea eax, [ebp + 8]
push eax
push 0x4cabe4
call fcn.00446de5
add esp, 0xc
test al, al
je 0x46bdce
mov byte [ebp - 1], 1
jmp 0x46bd6e
push edi
lea eax, [ebp + 8]
push eax
push 0x4c5ee4
call fcn.00446de5
add esp, 0xc
test al, al
je 0x46bdea
mov byte [ebp - 4], 1
jmp 0x46bdfa
lea eax, [ebp + 8]
push eax
call fcn.00405b6e
pop ecx
jmp 0x46bdfa
mov byte [ebp - 0xc], 1
mov eax, dword [ebp + 8]
cmp word [eax], 0x2d
je 0x46bcc2
cmp word [eax], 0x2a
jne 0x46be20
add eax, edi
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
mov byte [ebp - 1], 1
call fcn.0043e611
pop ecx
push ebx
push 0x2c
lea eax, [ebp - 8]
push eax
lea eax, [ebp + 8]
push eax
mov ecx, esi
call fcn.00439738
push ebx
push 0x2c
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 8]
push eax
mov ecx, esi
call fcn.00439738
push dword [ebp - 0x18]
call fcn.0041310a
mov esi, eax
pop ecx
mov dword [ebp - 0x14], esi
call fcn.00442a66
cmp byte [ebp - 4], bl
je 0x46be78
push dword [ebp - 0x18]
xor eax, eax
mov al, byte [ebp - 0xc]
or eax, 0x40
push eax
push dword [ebp - 8]
call fcn.0046b8d7
add esp, 0xc
jmp 0x46bf7d
cmp byte [ebp - 1], bl
je 0x46bf26
cmp word [esi], bx
jne 0x46be90
mov edi, 0x80070057
jmp 0x46bff5
movzx eax, word [0x4dbc28]
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.0043f809
mov edi, eax
add esp, 0x14
cmp edi, ebx
je 0x46bee1
lea eax, [ebp - 0xc]
push eax
movzx eax, word [0x4dbc28]
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 0x46bff5
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
push ebx
push 0x4dc220
push str.Advapi32.DLL
push str.RegSaveKeyExW
call fcn.0043fb6c
mov eax, dword [0x4dc220]
add esp, 0x10
cmp eax, ebx
je 0x46bf18
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 0x46bf7f
mov ax, word [esi]
cmp ax, bx
jne 0x46bf33
cmp byte [ebp - 0xc], bl
jl 0x46bf6d
cmp byte [ebp - 3], bl
jne 0x46bf6d
cmp ax, bx
je 0x46bf4e
push esi
push dword [ebp - 8]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegLoadKeyW]
mov edi, eax
jmp 0x46bf50
xor edi, edi
cmp byte [ebp - 0xc], bl
jl 0x46bff5
push ebx
push dword [ebp - 0xc]
push dword [ebp - 8]
call fcn.0046b8d7
add esp, 0xc
jmp 0x46bff5
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 0x46bff5
cmp edi, ebx
jne 0x46bff5
cmp byte [ebp - 2], bl
je 0x46bff5
cmp word [esi], bx
je 0x46bff5
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.00405bea
cmp dword [ebp - 0x10], ebx
jne 0x46bfed
push ebx
push ebx
push 3
push ebx
push ebx
push esi
push dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
call fcn.00405bea
cmp dword [ebp - 0x10], ebx
jne 0x46bfed
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x20
je 0x46bfe3
cmp eax, 0x21
jne 0x46bfed
push 1
call dword [sym.imp.KERNEL32.DLL_Sleep]
jmp 0x46bfa1
lea ecx, [ebp - 0x10]
call fcn.00402cb0
lea ecx, [ebp - 0x18]
call fcn.0043e679
lea ecx, [ebp - 8]
call fcn.0043e679
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 8