Function at 0x1006db1e
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.1003f9c4
pop ecx
push 5
lea ecx, [ebp - 8]
call fcn.10046141
push 0x14
lea ecx, [ebp - 0x18]
call fcn.10046141
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 0x1006dca0
push 8
lea eax, [ebp + 8]
push eax
push str._super_r
call fcn.10048195
add esp, 0xc
test al, al
jne 0x1006dc9c
push edi
lea eax, [ebp + 8]
push eax
push 0x100cc018
call fcn.10048195
add esp, 0xc
test al, al
jne 0x1006dc9c
push 6
lea eax, [ebp + 8]
push eax
push 0x100d0c14
call fcn.10048195
add esp, 0xc
test al, al
je 0x1006dbbc
mov byte [ebp - 0xc], bl
jmp 0x1006dca0
push 6
lea eax, [ebp + 8]
push eax
push str._quick
call fcn.10048195
add esp, 0xc
test al, al
je 0x1006dbdc
mov byte [ebp - 0xc], 0xc0
jmp 0x1006dca0
push edi
lea eax, [ebp + 8]
push eax
push 0x100cc7a4
call fcn.10048195
add esp, 0xc
test al, al
je 0x1006dbfe
mov dword [ebp - 0x10], 0x80000003
jmp 0x1006dca0
push edi
lea eax, [ebp + 8]
push eax
push 0x100d0fc0
call fcn.10048195
add esp, 0xc
test al, al
je 0x1006dc1d
mov byte [ebp - 2], 1
jmp 0x1006dca0
push 3
lea eax, [ebp + 8]
push eax
push 0x100d0fbc
call fcn.10048195
add esp, 0xc
test al, al
je 0x1006dc3a
mov byte [ebp - 3], 1
jmp 0x1006dca0
push 4
lea eax, [ebp + 8]
push eax
push str._wun
call fcn.10048195
add esp, 0xc
test al, al
je 0x1006dc57
mov byte [ebp - 3], 1
jmp 0x1006dc14
push 3
lea eax, [ebp + 8]
push eax
push 0x100d0fb0
call fcn.10048195
add esp, 0xc
test al, al
je 0x1006dc74
mov byte [ebp - 1], 1
jmp 0x1006dc14
push edi
lea eax, [ebp + 8]
push eax
push 0x100cc014
call fcn.10048195
add esp, 0xc
test al, al
je 0x1006dc90
mov byte [ebp - 4], 1
jmp 0x1006dca0
lea eax, [ebp + 8]
push eax
call fcn.10008e60
pop ecx
jmp 0x1006dca0
mov byte [ebp - 0xc], 1
mov eax, dword [ebp + 8]
cmp word [eax], 0x2d
je 0x1006db68
cmp word [eax], 0x2a
jne 0x1006dcc6
add eax, edi
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
mov byte [ebp - 1], 1
call fcn.1003f9c4
pop ecx
push ebx
push 0x2c
lea eax, [ebp - 8]
push eax
lea eax, [ebp + 8]
push eax
mov ecx, esi
call fcn.1003aaa0
push ebx
push 0x2c
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 8]
push eax
mov ecx, esi
call fcn.1003aaa0
push dword [ebp - 0x18]
call fcn.100132bf
mov esi, eax
pop ecx
mov dword [ebp - 0x14], esi
call fcn.10043e72
cmp byte [ebp - 4], bl
je 0x1006dd1e
push dword [ebp - 0x18]
xor eax, eax
mov al, byte [ebp - 0xc]
or eax, 0x40
push eax
push dword [ebp - 8]
call fcn.1006d77d
add esp, 0xc
jmp 0x1006de23
cmp byte [ebp - 1], bl
je 0x1006ddcc
cmp word [esi], bx
jne 0x1006dd36
mov edi, 0x80070057
jmp 0x1006de9b
movzx eax, word [0x100e2c20]
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.10040b3a
mov edi, eax
add esp, 0x14
cmp edi, ebx
je 0x1006dd87
lea eax, [ebp - 0xc]
push eax
movzx eax, word [0x100e2c20]
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 0x1006de9b
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ebx
push 0x100e3230
push str.Advapi32.DLL
push str.RegSaveKeyExW
call fcn.10040e9d
mov eax, dword [0x100e3230]
add esp, 0x10
cmp eax, ebx
je 0x1006ddbe
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 0x1006de25
mov ax, word [esi]
cmp ax, bx
jne 0x1006ddd9
cmp byte [ebp - 0xc], bl
jl 0x1006de13
cmp byte [ebp - 3], bl
jne 0x1006de13
cmp ax, bx
je 0x1006ddf4
push esi
push dword [ebp - 8]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegLoadKeyW]
mov edi, eax
jmp 0x1006ddf6
xor edi, edi
cmp byte [ebp - 0xc], bl
jl 0x1006de9b
push ebx
push dword [ebp - 0xc]
push dword [ebp - 8]
call fcn.1006d77d
add esp, 0xc
jmp 0x1006de9b
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 0x1006de9b
cmp edi, ebx
jne 0x1006de9b
cmp byte [ebp - 2], bl
je 0x1006de9b
cmp word [esi], bx
je 0x1006de9b
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.10005b9d
cmp dword [ebp - 0x10], ebx
jne 0x1006de93
push ebx
push ebx
push 3
push ebx
push ebx
push esi
push dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
call fcn.10005b9d
cmp dword [ebp - 0x10], ebx
jne 0x1006de93
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
je 0x1006de89
cmp eax, 0x21
jne 0x1006de93
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1006de47
lea ecx, [ebp - 0x10]
call fcn.10002d56
lea ecx, [ebp - 0x18]
call fcn.1003f96c
lea ecx, [ebp - 8]
call fcn.1003f96c
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 8