Function at 0x426801
Capabilities:
Delete file
Set file attributes

Disassembly:
push 0x38
mov eax, 0x5c5452
call fcn.0058ec2b
xor esi, esi
mov dword [ebp - 4], esi
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 8]
push eax
push 4
pop ecx
mov byte [ebp - 0xd], 0
call fcn.0042b91b
mov byte [ebp - 4], 1
push eax
mov ecx, str.hkey
call fcn.00409ed0
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.004085f6
test bl, bl
je 0x426a5e
lea eax, [ebp - 0x1c]
push eax
xor ebx, ebx
call fcn.0040855f
mov byte [ebp - 4], 2
lea eax, [ebp - 0x18]
push eax
call fcn.0040855f
mov byte [ebp - 4], 3
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], esi
mov byte [ebp - 4], 4
push ecx
mov eax, esp
mov dword [ebp - 0x20], esp
push 0x687e90
push eax
call fcn.004085b5
mov byte [ebp - 4], 5
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp + 8]
push eax
mov byte [ebp - 4], 4
call fcn.00426746
add esp, 0xc
cmp dword [ebp - 0x40], 1
jbe 0x4268ba
mov eax, dword [ebp - 0x44]
add eax, 4
lea edi, [ebp - 0x18]
call fcn.00408619
cmp dword [ebp - 0x40], esi
je 0x4268d0
ja 0x4268cb
push 0x80070057
call fcn.00402d13
mov eax, dword [ebp - 0x44]
jmp 0x4268d3
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00408586
mov byte [ebp - 4], 6
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], esi
mov byte [ebp - 4], 7
push ecx
mov eax, esp
mov dword [ebp - 0x20], esp
mov edi, 0x6810d0
push edi
push eax
call fcn.004085b5
mov byte [ebp - 4], 8
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 7
call fcn.00426746
add esp, 0xc
cmp dword [ebp - 0x30], 1
jbe 0x42699f
cmp dword [ebp - 0x30], esi
jbe 0x4268c1
push dword [ebp - 0x34]
mov ecx, str.hkey_users
call fcn.00409ed0
test eax, eax
jne 0x42693e
mov ebx, reloc.WS2_32.dll_closesocket
jmp 0x42699f
cmp dword [ebp - 0x30], esi
jbe 0x4268c1
push dword [ebp - 0x34]
mov ecx, str.hkey_current_user
call fcn.00409ed0
test eax, eax
jne 0x42695f
mov ebx, closesocket
jmp 0x42699f
cmp dword [ebp - 0x30], esi
jbe 0x4268c1
push dword [ebp - 0x34]
mov ecx, str.hkey_classes_root
call fcn.00409ed0
test eax, eax
jne 0x426980
mov ebx, closesocket
jmp 0x42699f
cmp dword [ebp - 0x30], esi
jbe 0x4268c1
push dword [ebp - 0x34]
mov ecx, str.hkey_local_machine
call fcn.00409ed0
test eax, eax
jne 0x42699f
mov ebx, reloc.OLEAUT32.dll_SysReAllocString
push edi
xor ecx, ecx
lea esi, [ebp - 0x14]
call fcn.0042b6cc
inc eax
mov ecx, esi
call fcn.0042b519
xor eax, eax
cmp ebx, eax
je 0x426a20
push dword [ebp + 0xc]
mov ecx, dword [ebp - 0x18]
cmp dword [ecx - 0xc], eax
push eax
push ecx
mov eax, esp
je 0x4269fa
mov dword [ebp - 0x20], esp
lea ecx, [ebp - 0x18]
push ecx
push eax
call fcn.00408586
mov byte [ebp - 4], 9
push ecx
mov eax, esp
mov dword [ebp - 0x24], esp
mov ecx, esi
push ecx
push eax
call fcn.00408586
mov byte [ebp - 4], 0xa
push ebx
mov byte [ebp - 4], 7
call fcn.00425ca5
add esp, 0x14
jmp 0x426a18
mov dword [ebp - 0x24], esp
lea ecx, [ebp - 0x14]
push ecx
push eax
call fcn.00408586
mov byte [ebp - 4], 0xb
push ebx
mov byte [ebp - 4], 7
call fcn.004265d1
add esp, 0x10
test al, al
je 0x426a20
mov byte [ebp - 0xd], 1
mov byte [ebp - 4], 6
lea esi, [ebp - 0x34]
call fcn.00431483
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x14]
call fcn.004085f6
mov byte [ebp - 4], 3
lea esi, [ebp - 0x44]
call fcn.00431483
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.004085f6
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.004085f6
jmp 0x426a7d
push 0x80
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x426a7d
mov byte [ebp - 0xd], 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004085f6
mov al, byte [ebp - 0xd]
call fcn.0058ed03
ret