Function at 0x8331c
Capabilities:
Delete file
Delete registry value

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xf
push 0
push 0
dec ecx
jne 0x83324
push ecx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x8375d
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x8335d
lea edx, [ebp - 0x2c]
mov eax, 0x8376c
call fcn.00078120
mov eax, dword [ebp - 0x2c]
call fcn.00082db4
jmp 0x83732
lea edx, [ebp - 0x34]
mov eax, 0x8377c
call fcn.00078120
push dword [ebp - 0x34]
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.000790a4
push dword [ebp - 0x38]
lea edx, [ebp - 0x3c]
mov eax, 0x83798
call fcn.00078120
push dword [ebp - 0x3c]
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.00013fa4
mov eax, dword [ebp - 0x30]
call fcn.00082d8c
mov dword [ebp - 0x10], 0xffffffff
push 0
call sub.kernel32.dll_SetLastError
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.000790a4
mov eax, dword [ebp - 0x1c]
call fcn.00013ee4
cmp eax, 2
jl 0x83433
mov eax, dword [ebp - 0x1c]
cmp byte [eax], 0x22
jne 0x833e0
lea eax, [ebp - 0x1c]
mov ecx, 1
mov edx, 1
call fcn.0001412c
mov eax, dword [ebp - 0x1c]
call fcn.00013ee4
mov edx, dword [ebp - 0x1c]
cmp byte [edx + eax - 1], 0x22
jne 0x83409
mov eax, dword [ebp - 0x1c]
call fcn.00013ee4
mov edx, eax
lea eax, [ebp - 0x1c]
mov ecx, 1
call fcn.0001412c
mov eax, dword [ebp - 0x1c]
call fcn.000140a8
push eax
call sub.kernel32.dll_DeleteFileA
test eax, eax
jne 0x83425
call fcn.00082d24
mov dword [ebp - 0x10], eax
jmp 0x8342a
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_SetLastError
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, 0x400
call fcn.00079390
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x83629
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
mov eax, dword [0xeabe0]
mov eax, dword [eax]
add eax, 0xf003f
push eax
push 0
push 0x8379c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x835ca
xor eax, eax
mov dword [ebp - 0x20], eax
xor eax, eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
mov ecx, 0x837e0
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
call fcn.00078908
test eax, eax
jne 0x8353a
cmp dword [ebp - 0x18], 2
je 0x834ca
cmp dword [ebp - 0x18], 1
jne 0x8353a
cmp dword [ebp - 0x20], 3
jb 0x8353a
mov eax, dword [ebp - 0x14]
call fcn.00078894
cmp eax, dword [ebp - 0x20]
jbe 0x8353a
mov eax, dword [ebp - 0x14]
call fcn.000788ec
push eax
call sub.kernel32.dll_DeleteFileA
test eax, eax
jne 0x8353a
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x44]
mov eax, 0x837f4
call fcn.00078120
push dword [ebp - 0x44]
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 0x14]
call fcn.000788cc
push dword [ebp - 0x48]
lea edx, [ebp - 0x4c]
mov eax, 0x83798
call fcn.00078120
push dword [ebp - 0x4c]
lea eax, [ebp - 0x40]
mov edx, 3
call fcn.00013fa4
mov eax, dword [ebp - 0x40]
call fcn.00082d8c
lea edx, [ebp - 0x50]
mov eax, dword [ebp - 0x10]
call fcn.000747a0
mov eax, dword [ebp - 0x50]
call fcn.00082d8c
push 0x837e0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegDeleteValueA
test eax, eax
je 0x83581
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x54]
mov eax, 0x8381c
call fcn.00078120
lea eax, [ebp - 0x54]
push eax
lea edx, [ebp - 0x58]
mov eax, dword [ebp - 0x10]
call fcn.000747a0
mov edx, dword [ebp - 0x58]
pop eax
call fcn.00013eec
mov eax, dword [ebp - 0x54]
call fcn.00082d8c
push 0x8384c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegDeleteValueA
test eax, eax
je 0x835ff
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x5c]
mov eax, 0x8385c
call fcn.00078120
lea eax, [ebp - 0x5c]
push eax
lea edx, [ebp - 0x60]
mov eax, dword [ebp - 0x10]
call fcn.000747a0
mov edx, dword [ebp - 0x60]
pop eax
call fcn.00013eec
mov eax, dword [ebp - 0x5c]
call fcn.00082d8c
jmp 0x835ff
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x64]
mov eax, 0x8388c
call fcn.00078120
lea eax, [ebp - 0x64]
push eax
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 0x10]
call fcn.000747a0
mov edx, dword [ebp - 0x68]
pop eax
call fcn.00013eec
mov eax, dword [ebp - 0x64]
call fcn.00082d8c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x83630
cmp dword [ebp - 0xc], 0
je 0x8361b
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
call fcn.000793b4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x83764
lea eax, [ebp - 0x7c]
mov edx, 0x15
call fcn.00013c88
lea eax, [ebp - 0x24]
call fcn.00013c64
lea eax, [ebp - 0x1c]
call fcn.00013c64
ret