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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x75bc8d18]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
and dword [ebp - 0x30], 0
and dword [ebp - 0x1c], 0
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, dword [edi]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x2c], ecx
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x18], 0x75bc8fe0
add esi, 0x3c
call fcn.759c6ee9
push eax
mov eax, dword [ebx]
push ebx
call dword [eax + 0x20]
push eax
push edi
call dword [esi]
push eax
lea ecx, [ebp - 0x1c]
call fcn.759cbe5f
cmp dword [eax], 0
je 0x75aaaccd
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x2c]
call fcn.75aa516f
mov esi, eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x75aaacc6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
jmp 0x75aab16d
xor esi, esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], esi
call fcn.759c6f3c
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx]
push eax
push 0x75a1085c
push ecx
call dword [edx]
mov ecx, dword [ebp - 0x2c]
test eax, eax
je 0x75aaad21
push dword [ebp - 0x18]
push 0xb74
push 0x1000000
call fcn.75a9e9a2
mov eax, dword [ebp - 0x28]
cmp eax, esi
je 0x75aaad0e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
cmp eax, esi
jmp 0x75aab162
push esi
push esi
push esi
push edi
call fcn.75aa03f1
cmp eax, 1
jne 0x75aaad01
mov esi, dword [edi]
mov eax, dword [ebx]
push 0
push ebx
add esi, 0xc0
call dword [eax + 0x20]
push eax
push edi
call dword [esi]
push eax
lea ecx, [ebp - 0x1c]
call fcn.759cbe5f
cmp dword [eax], 0
je 0x75aaad74
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x2c]
call fcn.75aa516f
mov esi, eax
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x75aaacb0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x75aaacb0
call fcn.759b3eb3
mov dword [ebp - 0x34], eax
cmp eax, 0xffffffff
jne 0x75aaadcd
push 0x5dd
call fcn.75a203dc
pop ecx
mov ecx, dword [ebp - 0x2c]
mov esi, eax
push esi
call fcn.75aa516f
mov edi, eax
test esi, esi
je 0x75aaada3
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x75aaadb0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x75aaadc6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, edi
jmp 0x75aab16d
xor ecx, ecx
inc ecx
cmp eax, ecx
jne 0x75aaadf0
mov eax, dword [edi]
push edi
mov dword [ebp - 0x30], ecx
call dword [eax + 0x1c]
mov esi, eax
push esi
call fcn.75b65dea
pop ecx
test al, al
je 0x75aaadf3
mov byte [ebp - 0x1d], 1
jmp 0x75aaadf7
mov esi, dword [ebp - 0x30]
mov byte [ebp - 0x1d], 0
xor ebx, ebx
test byte [ebp - 0x30], 1
je 0x75aaae09
cmp esi, ebx
je 0x75aaae09
mov eax, dword [esi]
push esi
call dword [eax + 8]
cmp byte [ebp - 0x1d], 0
je 0x75aaae14
call fcn.759d82c4
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x20]
mov esi, dword [ebp - 0x24]
push ebx
push 0x100080
push 2
push esi
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x24], eax
cmp eax, 0xffffffff
je 0x75aaae96
push eax
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 3
je 0x75aaae56
cmp eax, 2
jne 0x75aaae96
cmp dword [0x75bc8ca8], ebx
je 0x75aaae85
push ebx
push ebx
mov eax, 0x759b7ff8
push eax
push eax
push eax
push eax
push eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x20]
push eax
push 0x759fe368
push ebx
push ebx
push 9
call fcn.759c26bf
add esp, 0x30
push dword [ebp - 0x24]
call edi
or dword [ebp - 0x24], 0xffffffff
push 0x6e
call dword [sym.imp.KERNEL32.dll_SetLastError]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x38], eax
cmp eax, 0xb7
jne 0x75aaafae
mov dword [ebp - 0x38], ebx
cmp esi, ebx
je 0x75aaafae
cmp dword [esi + 4], ebx
je 0x75aaafae
cmp dword [ebp - 0x34], 1
jne 0x75aaafae
push 1
lea ecx, [ebp - 0x40]
call fcn.759b87f0
push dword [esi + 4]
call fcn.75b30efd
pop ecx
push 1
lea ecx, [ebp - 0x30]
mov ebx, eax
call fcn.75a1d306
mov eax, ebx
shr eax, 3
and eax, 1
push eax
push 0
lea ecx, [ebp - 0x34]
call fcn.75a96077
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x20]
push dword [esi + 4]
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_SetFileSecurityW]
test eax, eax
jne 0x75aaaf86
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x2c]
push eax
push 0x786
push 0x1000000
call fcn.75a9ea22
cmp dword [ebp - 0x24], 0xffffffff
je 0x75aaaf40
push dword [ebp - 0x24]
call edi
cmp dword [ebp - 0x34], 2
je 0x75aaaf4f
push dword [ebp - 0x34]
call fcn.75a1d2ce
pop ecx
cmp dword [ebp - 0x30], 2
je 0x75aaaf5e
push dword [ebp - 0x30]
call fcn.75a1d2ce
pop ecx
lea ecx, [ebp - 0x40]
call fcn.759b87d1
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x75aaaf73
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
test eax, eax
jmp 0x75aab162
cmp dword [ebp - 0x34], 2
je 0x75aaaf95
push dword [ebp - 0x34]
call fcn.75a1d2ce
pop ecx
cmp dword [ebp - 0x30], 2
je 0x75aaafa4
push dword [ebp - 0x30]
call fcn.75a1d2ce
pop ecx
lea ecx, [ebp - 0x40]
call fcn.759b87d1
xor ebx, ebx
cmp byte [ebp - 0x1d], 0
je 0x75aaafbc
push 1
call fcn.759d07de
pop ecx
cmp dword [ebp - 0x24], 0xffffffff
je 0x75aab11d
cmp dword [ebp - 0x38], ebx
jne 0x75aab11d
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov ebx, eax
mov esi, 0x10000
cmp ebx, esi
jbe 0x75aab02d
lea eax, [ebp - 0x38]
push eax
push ebx
push dword [ebp - 0x24]
call fcn.75b66009
test al, al
jne 0x75aab02d
push dword [ebp - 0x24]
call edi
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x20]
push dword [ebp - 0x38]
mov ecx, dword [ebp - 0x2c]
push eax
push 0xb74
push 0x1000000
call fcn.75a9eb6f
jmp 0x75aaaf66
test ebx, ebx
jne 0x75aab032
inc ebx
cmp ebx, esi
ja 0x75aab038
mov esi, ebx
push esi
lea ecx, [ebp - 0x14]
call fcn.759da627
cmp dword [ebp - 0x14], 0
jne 0x75aab05e
cmp dword [ebp - 0x10], 1
jle 0x75aaaf66
push 0
call fcn.759c6f79
pop ecx
jmp 0x75aaaf66
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
push ebx
push dword [ebp - 0x14]
push eax
call dword [ecx + 0x18]
mov esi, eax
test esi, esi
je 0x75aab08b
push 0
lea eax, [ebp - 0x30]
push eax
push esi
push dword [ebp - 0x14]
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x75aab0ce
cmp esi, ebx
je 0x75aab05e
push dword [ebp - 0x24]
call edi
cmp dword [ebp - 0x10], 1
jle 0x75aab0a3
push dword [ebp - 0x14]
call fcn.759c6f79
pop ecx
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x75aab0b0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x75aab0c6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
inc eax
jmp 0x75aab16d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x24]
mov dword [ebp - 0x38], eax
call edi
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x20]
push dword [ebp - 0x38]
mov ecx, dword [ebp - 0x2c]
push eax
push 0xb74
push 0x1000000
call fcn.75a9eb6f
cmp dword [ebp - 0x10], 1
jle 0x75aaaf66
push dword [ebp - 0x14]
jmp 0x75aab053
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x20]
push dword [ebp - 0x38]
mov ecx, dword [ebp - 0x2c]
push eax
push 0xb74
push 0x1000000
call fcn.75a9eb6f
cmp dword [ebp - 0x24], 0xffffffff
je 0x75aab147
push dword [ebp - 0x24]
call edi
mov eax, dword [ebp - 0x28]
cmp eax, ebx
je 0x75aab154
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x75aab16a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 3
pop eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.759b1748
leave
ret 0x10