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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x113d147
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x115f604]
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 [0x1161d94]
mov edx, dword [eax + 0xc]
mov edi, dword [ebp + 8]
xor esi, esi
mov ecx, 0x1161d94
mov dword [ebp - 0x120], esi
call edx
add eax, 0x10
mov dword [ebp - 0x124], eax
mov dword [ebp - 4], esi
mov dword [ebp - 0x128], esi
mov eax, dword [0x1161d94]
mov edx, dword [eax + 0xc]
mov ecx, 0x1161d94
mov byte [ebp - 4], 1
mov dword [ebp - 0x130], esi
mov dword [ebp - 0x13c], esi
call edx
add eax, 0x10
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x134], esi
push esi
push 0x10262a8
lea eax, [ebp - 0x120]
push eax
push 0x1026220
lea ecx, [ebp - 0x11c]
push 2
push ecx
mov byte [ebp - 4], 2
call fcn.01075110
add esp, 0x18
mov edx, dword [0x11608f0]
push 0xffffffffffffffff
push edx
mov bl, 3
push esi
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], bl
call fcn.010c8ad0
test eax, eax
je 0x10c91fc
mov eax, dword [edi]
cmp dword [eax - 0xc], esi
jne 0x10c90f8
lea ecx, [ebp - 0x124]
push ecx
call fcn.0111e490
cmp eax, esi
mov dword [ebp - 0x120], eax
jl 0x10c9241
mov edx, dword [0x115f544]
push edx
lea ecx, [ebp - 0x124]
call fcn.0109f810
mov eax, dword [ebp - 0x124]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x10c9241
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
test eax, eax
jg 0x10c909d
call edi
jmp 0x10c90a9
call edi
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x120], eax
call fcn.01127f00
test al, al
je 0x10c90d9
mov ecx, dword [ebp - 0x124]
mov edx, dword [ebp - 0x120]
push ecx
push edx
push 0x10261c0
push 0x1026138
push esi
call fcn.01128b70
add esp, 0x14
mov eax, dword [ebp - 0x120]
push eax
call fcn.010c5da0
test al, al
je 0x10c9241
mov dword [ebp - 0x120], esi
jmp 0x10c9241
mov ecx, dword [0x115f544]
push ecx
lea ecx, [ebp - 0x12c]
call fcn.0107f6b0
lea edx, [ebp - 0x128]
push edx
push esi
push 1
lea eax, [ebp - 0x12c]
push eax
mov byte [ebp - 4], 4
call fcn.0111f5a0
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x12c]
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10c914f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebp - 0x120], esi
jge 0x10c918a
call fcn.01127f00
test al, al
je 0x10c9241
mov ecx, dword [0x115f544]
mov edx, dword [ebp - 0x120]
push ecx
push edx
push 0x1025db0
push 0x10260b0
push esi
call fcn.01128b70
add esp, 0x14
jmp 0x10c9241
mov eax, dword [edi]
mov edi, dword [eax - 0xc]
mov edx, dword [ebp - 0x128]
push esi
lea ecx, [ebp - 0x130]
push ecx
push edi
push eax
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x10c91e8
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
test eax, eax
jg 0x10c91ba
call edi
jmp 0x10c91c6
call edi
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x120], eax
call fcn.01127f00
test al, al
je 0x10c9241
mov eax, dword [ebp - 0x120]
push eax
push 0x1026070
push 0x1025fe8
jmp 0x10c9238
cmp dword [ebp - 0x130], edi
je 0x10c9241
mov dword [ebp - 0x120], 0x8000ffff
jmp 0x10c9241
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
test eax, eax
jg 0x10c920c
call edi
jmp 0x10c9218
call edi
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x120], eax
call fcn.01127f00
test al, al
je 0x10c9241
mov ecx, dword [ebp - 0x120]
push ecx
push 0x1025f58
push 0x1025ed0
push esi
call fcn.01128b70
add esp, 0x10
mov ebx, dword [ebp - 0x120]
lea ecx, [ebp - 0x11c]
mov byte [ebp - 4], 2
call fcn.01075230
cmp dword [ebp - 0x13c], esi
mov edi, dword [ebp - 0x134]
mov byte [ebp - 4], 1
je 0x10c9273
cmp edi, esi
je 0x10c927e
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
cmp edi, esi
je 0x10c927e
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x138]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10c92a0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x128]
cmp eax, esi
je 0x10c92b7
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x128], esi
mov eax, dword [ebp - 0x124]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10c92e0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebx
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.010840d6
mov esp, ebp
pop ebp
ret 4