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

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
sub esp, 0x1c
push ecx
push edi
lea edi, [esp + 8]
mov eax, 0xcccccccc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
pop edi
pop ecx
mov dword [ebp - 0xc], 0
call fcn.0052fe80
cmp al, 0
je 0x48fe52
lea eax, [ebp - 0x14]
push eax
mov edx, dword [ebp + 8]
mov ecx, edx
mov esi, dword [ecx]
mov ecx, edx
call dword [esi + 0x28]
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
call fcn.0040cf40
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0xc]
call fcn.0040d2e0
cmp dword [ebp - 0x18], 0
je 0x48fe42
mov ecx, dword [ebp - 0x18]
call fcn.0040c8f0
cmp dword [ebp - 0x14], 0
je 0x48fe99
mov ecx, dword [ebp - 0x14]
call fcn.0040c8f0
jmp 0x48fe99
lea eax, [ebp - 0x1c]
push eax
mov edx, dword [ebp + 8]
mov ecx, edx
mov esi, dword [ecx]
mov ecx, edx
call dword [esi + 0x28]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0047cc50
pop ecx
pop ecx
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0xc]
call fcn.0040d2e0
cmp dword [ebp - 0x20], 0
je 0x48fe8b
mov ecx, dword [ebp - 0x20]
call fcn.0040c8f0
cmp dword [ebp - 0x1c], 0
je 0x48fe99
mov ecx, dword [ebp - 0x1c]
call fcn.0040c8f0
call fcn.0052fe80
cmp al, 0
je 0x48feb3
lea ecx, [ebp - 0xc]
call fcn.0040d1f0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x48fec2
lea ecx, [ebp - 0xc]
call fcn.0040d1c0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
call fcn.0052fe80
cmp al, 0
je 0x48fef1
push 0
push reloc.OLEAUT32.dll_SysReAllocString
push 3
push 0
push 3
push SysReAllocString
lea ecx, [ebp - 0xc]
call fcn.0040d1f0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x24], eax
jmp 0x48ff15
push 0
push reloc.OLEAUT32.dll_SysReAllocString
push 3
push 0
push 3
push SysReAllocString
lea ecx, [ebp - 0xc]
call fcn.0040d1c0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jne 0x48ffaf
call fcn.0052fe80
cmp al, 0
je 0x48ff4e
push 0
push reloc.OLEAUT32.dll_SysReAllocString
push 1
push 0
push 3
push 0xc0000000
lea ecx, [ebp - 0xc]
call fcn.0040d1f0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x24], eax
jmp 0x48ff72
push 0
push reloc.OLEAUT32.dll_SysReAllocString
push 1
push 0
push 3
push 0xc0000000
lea ecx, [ebp - 0xc]
call fcn.0040d1c0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
je 0x48ffd1
push 0
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
cmp dword [ebp - 0xc], 0
je 0x48ffa6
mov ecx, dword [ebp - 0xc]
call fcn.0040c8f0
mov al, bl
lea esp, [ebp - 8]
pop esi
pop ebx
pop ebp
ret
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
cmp dword [ebp - 0xc], 0
je 0x48ffc8
mov ecx, dword [ebp - 0xc]
call fcn.0040c8f0
mov al, bl
lea esp, [ebp - 8]
pop esi
pop ebx
pop ebp
ret
mov bl, 0
cmp dword [ebp - 0xc], 0
je 0x48ffe1
mov ecx, dword [ebp - 0xc]
call fcn.0040c8f0
mov al, bl
lea esp, [ebp - 8]
pop esi
pop ebx
pop ebp
ret