Function at 0x10007d60
Capabilities:
Delete file
Move file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017f459
mov eax, dword fs:[0]
push eax
sub esp, 0x194
mov eax, dword [0x101f7210]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0xdc], eax
call fcn.1014dd1b
push 0x101cd7ac
lea ecx, [ebp - 0x140]
mov dword [ebp - 0xd8], eax
call fcn.10002570
push 0x10203968
mov dword [ebp - 4], 0
call fcn.10011a60
cmp dword [ebp - 0x12c], 8
lea ecx, [ebp - 0x140]
mov ebx, 0x10203968
cmovae ecx, dword [ebp - 0x140]
mov eax, ebx
cmp dword [0x1020397c], 8
push 0x40
cmovae eax, dword [0x10203968]
push ecx
push eax
call fcn.1014d79c
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x140]
mov edi, eax
call fcn.100024d0
call fcn.1014dd1b
test esi, esi
je 0x10007e43
sub eax, dword [ebp - 0xd8]
lea ecx, [esi + 0x10]
push eax
push ecx
mov edx, str._fsopen_use_time
call fcn.100187a0
add esp, 4
mov ecx, eax
call fcn.10012780
mov edx, 0x101cd7b0
mov ecx, eax
call fcn.100187a0
test edi, edi
je 0x10008103
call fcn.1014dd1b
push 2
push 0
push edi
mov dword [ebp - 0xd8], eax
call fcn.1014dec9
add esp, 0xc
push edi
call fcn.1014e2dc
add esp, 4
mov dword [ebp - 0xd4], eax
call fcn.1014dd1b
test esi, esi
je 0x10007ea6
sub eax, dword [ebp - 0xd8]
lea ecx, [esi + 0x10]
push eax
push ecx
mov edx, str._fseekftell_use_time
call fcn.100187a0
add esp, 4
mov ecx, eax
call fcn.10012780
mov edx, 0x101cd7b0
mov ecx, eax
call fcn.100187a0
cmp dword [ebp - 0xd4], 0xa00000
jl 0x10008116
call fcn.1014dd1b
push edi
mov dword [ebp - 0xd4], eax
call fcn.1014d8d2
add esp, 4
call fcn.1014dd1b
test esi, esi
je 0x10007efe
sub eax, dword [ebp - 0xd4]
lea ecx, [esi + 0x10]
push eax
push ecx
mov edx, str._fclose_use_time
call fcn.100187a0
add esp, 4
mov ecx, eax
call fcn.10012780
mov edx, 0x101cd7b0
mov ecx, eax
call fcn.100187a0
lea ecx, [ebp - 0x70]
call fcn.10002440
lea eax, [ebp - 0x70]
mov dword [ebp - 4], 1
push eax
call fcn.10011390
push ecx
push 0x101cf8e0
push 0x101cd7f4
lea ecx, [ebp - 0x70]
call fcn.10002fd0
push ecx
push 0x101cf8e0
push 0x101cd680
lea ecx, [ebp - 0x70]
call fcn.10002fd0
push ecx
push 0x101cf8e0
push 0x101cd7f8
lea ecx, [ebp - 0x70]
call fcn.10002fd0
cmp dword [ebp - 0x5c], 8
lea edx, [ebp - 0x70]
mov ecx, 0x102038a8
mov eax, 0x102037e8
cmovae edx, dword [ebp - 0x70]
cmp dword [0x102038bc], 8
push edx
cmovae ecx, dword [0x102038a8]
cmp dword [0x102037fc], 8
push ecx
cmovae eax, dword [0x102037e8]
push eax
push 0x101cd7fc
lea eax, [ebp - 0xd0]
push eax
push 0x10203748
call fcn.10010fa0
mov byte [ebp - 4], 2
call fcn.1014dd1b
cmp dword [ebp - 0xbc], 8
lea edx, [ebp - 0xd0]
mov ecx, ebx
mov edi, eax
cmovae edx, dword [ebp - 0xd0]
cmp dword [0x1020397c], 8
push edx
cmovae ecx, dword [0x10203968]
push ecx
call fcn.1014b334
add esp, 0x20
call fcn.1014dd1b
test esi, esi
je 0x10008002
sub eax, edi
lea ecx, [esi + 0x10]
push eax
push ecx
mov edx, str.__trename_use_time
call fcn.100187a0
add esp, 4
mov ecx, eax
call fcn.10012780
mov edx, 0x101cd7b0
mov ecx, eax
call fcn.100187a0
call fcn.1014dd1b
cmp dword [0x1020397c], 8
mov ecx, ebx
mov edi, eax
cmovae ecx, dword [0x10203968]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.1014dd1b
test esi, esi
je 0x10008050
sub eax, edi
lea ecx, [esi + 0x10]
push eax
push ecx
mov edx, str._DeleteFile_use_time
call fcn.100187a0
add esp, 4
mov ecx, eax
call fcn.10012780
mov edx, 0x101cd7b0
mov ecx, eax
call fcn.100187a0
call fcn.1014dd1b
push 0x101cd7ac
lea ecx, [ebp - 0x1a0]
mov dword [ebp - 0xd4], eax
call fcn.10002570
push 0x10203968
mov byte [ebp - 4], 3
call fcn.10011a60
cmp dword [ebp - 0x18c], 8
lea ecx, [ebp - 0x1a0]
push 0x40
cmovae ecx, dword [ebp - 0x1a0]
cmp dword [0x1020397c], 8
push ecx
cmovae ebx, dword [0x10203968]
push ebx
call fcn.1014d79c
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1a0]
mov edi, eax
call fcn.100024d0
call fcn.1014dd1b
test esi, esi
je 0x100080ec
sub eax, dword [ebp - 0xd4]
lea ecx, [esi + 0x10]
push eax
push ecx
mov edx, str._fsopen_use_time
call fcn.100187a0
add esp, 4
mov ecx, eax
call fcn.10012780
mov edx, 0x101cd7b0
mov ecx, eax
call fcn.100187a0
lea ecx, [ebp - 0xd0]
call fcn.100024d0
lea ecx, [ebp - 0x70]
test edi, edi
jne 0x1000810a
call fcn.100024d0
xor al, al
jmp 0x100081c1
mov dword [ebp - 4], 0xffffffff
call fcn.100024d0
call fcn.1014dd1b
mov ebx, dword [ebp + 0x14]
push edi
push ebx
push 1
push dword [ebp - 0xdc]
mov dword [ebp - 0xd4], eax
call fcn.1014daa2
add esp, 0x10
mov dword [ebp - 0xd8], eax
call fcn.1014dd1b
test esi, esi
je 0x10008170
sub eax, dword [ebp - 0xd4]
lea ecx, [esi + 0x10]
push eax
push ecx
mov edx, str._fwrite_use_time
call fcn.100187a0
add esp, 4
mov ecx, eax
call fcn.10012780
mov edx, 0x101cd7b0
mov ecx, eax
call fcn.100187a0
call fcn.1014dd1b
push edi
mov dword [ebp - 0xdc], eax
call fcn.1014d8d2
add esp, 4
call fcn.1014dd1b
test esi, esi
je 0x100081b8
sub eax, dword [ebp - 0xdc]
lea ecx, [esi + 0x10]
push eax
push ecx
mov edx, str._fclose_use_time
call fcn.100187a0
add esp, 4
mov ecx, eax
call fcn.10012780
mov edx, 0x101cd7b0
mov ecx, eax
call fcn.100187a0
cmp dword [ebp - 0xd8], ebx
sete al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1014aad2
mov esp, ebp
pop ebp
ret 0x10