Function at 0x10011d80
Capabilities:
Check if file exists
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10057ce6
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x468
mov eax, dword [0x1006dd60]
xor eax, ebp
mov dword [ebp - 0x30], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x1c]
call fcn.1000fd00
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.1000d230
push eax
call fcn.10044f60
add esp, 4
cmp eax, 0x100000
ja 0x10011df3
lea ecx, [ebp - 0x1c]
call fcn.1000d230
push eax
call fcn.100450d0
add esp, 4
cmp eax, 3
je 0x10011e02
lea ecx, [ebp - 0x1c]
call fcn.1000d230
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x1c]
call fcn.1000d230
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov dword [ebp - 0x18], eax
xor ecx, ecx
cmp dword [ebp - 0x18], 0
sete cl
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x14], 0
cmp dword [ebp - 0x18], 0
je 0x10011e39
mov dword [ebp - 0x468], 0x1006291c
jmp 0x10011e43
mov dword [ebp - 0x468], 0x10061344
mov edx, dword [ebp - 0x468]
push edx
lea ecx, [ebp - 0x1c]
call fcn.1000d230
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.1002c77c
add esp, 0xc
test eax, eax
je 0x10011e77
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.1000fd80
jmp 0x100120f6
mov byte [ebp - 4], 1
cmp dword [ebp - 0x20], 0
je 0x10011ea8
mov byte [ebp - 0x454], 0xff
mov byte [ebp - 0x453], 0xfe
mov ecx, dword [ebp - 0x14]
push ecx
push 1
push 2
lea edx, [ebp - 0x454]
push edx
call fcn.1002c931
add esp, 0x10
jmp 0x10011eb8
push 2
push 0
mov eax, dword [ebp - 0x14]
push eax
call fcn.1002f899
add esp, 0xc
push 0
lea ecx, [ebp - 0x460]
push ecx
call fcn.100127f0
push eax
lea edx, [ebp - 0x464]
push edx
call fcn.10047390
add esp, 0xc
mov dword [ebp - 0x46c], eax
mov eax, dword [ebp - 0x46c]
mov dword [ebp - 0x470], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x470]
push ecx
lea ecx, [ebp - 0x450]
call fcn.1000f400
mov dword [ebp - 0x474], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x464]
call fcn.1000fd80
xor edx, edx
mov word [ebp - 0x448], dx
push 0x206
push 0
lea eax, [ebp - 0x446]
push eax
call fcn.1002c440
add esp, 0xc
lea ecx, [ebp - 0x450]
call fcn.1000d230
push eax
push 0x104
lea ecx, [ebp - 0x448]
push ecx
call fcn.1002c5f6
add esp, 0xc
mov edx, dword [ebp - 0x14]
push edx
push 1
lea eax, [ebp - 0x448]
push eax
call fcn.1002ac2e
add esp, 4
shl eax, 1
push eax
lea ecx, [ebp - 0x448]
push ecx
call fcn.1002c931
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x23c], eax
xor edx, edx
mov word [ebp - 0x238], dx
push 0x206
push 0
lea eax, [ebp - 0x236]
push eax
call fcn.1002c440
add esp, 0xc
mov ecx, dword [ebp - 0x23c]
push ecx
push str.___d_
push 0x104
lea edx, [ebp - 0x238]
push edx
call fcn.1002f91e
add esp, 0x10
mov eax, dword [ebp - 0x14]
push eax
push 1
lea ecx, [ebp - 0x238]
push ecx
call fcn.1002ac2e
add esp, 4
shl eax, 1
push eax
lea edx, [ebp - 0x238]
push edx
call fcn.1002c931
add esp, 0x10
mov dword [ebp - 0x24], 0x10062930
mov eax, dword [ebp - 0x14]
push eax
push 1
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.1002ac2e
add esp, 4
shl eax, 1
push eax
mov edx, dword [ebp - 0x24]
push edx
call fcn.1002c931
add esp, 0x10
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x2c]
call fcn.1000fd00
mov dword [ebp - 0x478], eax
mov byte [ebp - 4], 5
push 0x20
push 0xd
lea ecx, [ebp - 0x2c]
call fcn.10004e00
push 0x20
push 0xa
lea ecx, [ebp - 0x2c]
call fcn.10004e00
lea ecx, [ebp - 0x2c]
call fcn.1000d230
mov dword [ebp - 0x44c], eax
mov ecx, dword [ebp - 0x14]
push ecx
push 1
mov edx, dword [ebp - 0x44c]
push edx
call fcn.1002ac2e
add esp, 4
shl eax, 1
push eax
mov eax, dword [ebp - 0x44c]
push eax
call fcn.1002c931
add esp, 0x10
mov dword [ebp - 0x28], 0x10062938
mov ecx, dword [ebp - 0x14]
push ecx
push 1
mov edx, dword [ebp - 0x28]
push edx
call fcn.1002ac2e
add esp, 4
shl eax, 1
push eax
mov eax, dword [ebp - 0x28]
push eax
call fcn.1002c931
add esp, 0x10
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.1002fae7
add esp, 4
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c]
call fcn.1000fd80
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x450]
call fcn.1000fd80
jmp 0x100120d4
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x14]
push edx
call fcn.1002ca2a
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.1000fd80
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x30]
xor ecx, ebp
call fcn.1002ac1f
mov esp, ebp
pop ebp
ret