Function at 0x75acd455
Capabilities:
Get common file path
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 + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0x3c], ecx
inc esi
push esi
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x38], eax
call fcn.759b87f0
push 0x104
lea ecx, [ebp - 0x14]
call fcn.759ca725
xor ebx, ebx
cmp dword [ebp - 0x14], ebx
jne 0x75acd4a5
cmp dword [ebp - 0x10], esi
jle 0x75acd63d
push ebx
jmp 0x75acd637
call fcn.759b3eb3
cmp eax, esi
jne 0x75acd4be
push dword [ebp - 0x14]
push ebx
call fcn.75b31956
pop ecx
pop ecx
mov dword [ebp - 0x28], eax
jmp 0x75acd51b
cmp eax, ebx
jne 0x75acd62f
call fcn.75a3aae6
mov ebx, dword [ebp - 0x14]
mov esi, eax
mov eax, dword [esi]
push esi
call dword [eax + 0x20]
push ebx
xor ebx, ebx
push ebx
push 0x75a09a20
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x75acd4f9
mov eax, dword [esi]
push esi
call dword [eax + 8]
cmp dword [ebp - 0x10], 1
jmp 0x75acd632
push ebx
push 0x100000
push 5
push ebx
push 1
push 0x40000000
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x28], eax
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [edi]
push edi
call dword [eax + 0x14]
cmp dword [ebp - 0x28], 0xffffffff
mov ebx, eax
mov esi, 0x10000
je 0x75acd552
cmp ebx, esi
jbe 0x75acd552
mov eax, dword [edi]
push 0
push edi
call dword [eax + 0x14]
push eax
push dword [ebp - 0x28]
call fcn.75b66009
test al, al
jne 0x75acd552
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x75acd4f0
test ebx, ebx
jne 0x75acd557
inc ebx
cmp ebx, esi
ja 0x75acd55d
mov esi, ebx
push esi
lea ecx, [ebp - 0x24]
call fcn.759da627
xor ebx, ebx
cmp dword [ebp - 0x24], ebx
jne 0x75acd583
cmp dword [ebp - 0x20], 1
jle 0x75acd4f0
push ebx
call fcn.759c6f79
pop ecx
jmp 0x75acd4f0
push dword [ebp - 0x20]
mov eax, dword [edi]
push dword [ebp - 0x24]
push edi
call dword [eax + 0x18]
mov esi, eax
cmp esi, ebx
je 0x75acd5ae
push ebx
lea eax, [ebp - 0x40]
push eax
push esi
push dword [ebp - 0x24]
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x75acd5ae
or esi, 0xffffffff
cmp esi, dword [ebp - 0x20]
je 0x75acd583
cmp dword [ebp - 0x28], 0xffffffff
je 0x75acd5c2
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, 0xffffffff
jne 0x75acd5d6
cmp dword [ebp - 0x20], 1
jle 0x75acd4f0
push dword [ebp - 0x24]
jmp 0x75acd578
push dword [ebp - 0x14]
lea ecx, [ebp - 0x34]
call fcn.759c6e99
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x3c]
mov dword [ecx + 0x20], eax
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
push dword [ebp - 0x38]
lea ecx, [ebp - 0x34]
call fcn.759ca326
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp - 0x20], 1
jle 0x75acd613
push dword [ebp - 0x24]
call fcn.759c6f79
pop ecx
cmp dword [ebp - 0x10], 1
jle 0x75acd622
push dword [ebp - 0x14]
call fcn.759c6f79
pop ecx
lea ecx, [ebp - 0x30]
call fcn.759b87d1
xor eax, eax
inc eax
jmp 0x75acd647
cmp dword [ebp - 0x10], esi
jle 0x75acd63d
push dword [ebp - 0x14]
call fcn.759c6f79
pop ecx
lea ecx, [ebp - 0x30]
call fcn.759b87d1
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.759b1748
leave
ret 8