Function at 0x75b299a4
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x75bc8d18]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
and dword [ebp - 0x1c], 0
or dword [ebp - 0x2c], 0xffffffff
or dword [ebp - 0x28], 0xffffffff
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x10]
push esi
push edi
mov dword [ebp - 0x30], eax
xor eax, eax
lea edi, [ebp - 8]
stosb byte es:[edi], al
mov esi, 0x75bc8fe0
xor edi, edi
lea eax, [ebp - 8]
inc edi
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x48], esi
mov byte [ebp - 0x15], 0
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], eax
call fcn.759c8759
mov dword [ebp - 0x34], eax
test eax, eax
jne 0x75b29a4f
cmp dword [ebp - 0x10], edi
jle 0x75b29a12
push dword [ebp - 0x14]
call fcn.759c6f79
pop ecx
mov eax, dword [0x75bc8fe0]
push esi
call dword [eax + 8]
cmp dword [ebp - 0x2c], 0xffffffff
je 0x75b29a2a
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor bl, bl
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov al, bl
xor ecx, ebp
pop ebx
call fcn.759b1748
leave
ret
mov edi, dword [ebx]
lea ecx, [ebp - 0x44]
add edi, 0x3c
call fcn.759c6ee9
push eax
push dword [ebp - 0x30]
push ebx
call dword [edi]
push eax
lea ecx, [ebp - 0x1c]
call fcn.759cbe5f
xor edi, edi
cmp dword [ebp - 0x1c], edi
jne 0x75b29c74
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x20]
lea ecx, [ebp - 0x2c]
push ecx
push edi
push eax
call fcn.75ba8361
add esp, 0xc
push eax
lea ecx, [ebp - 0x1c]
call fcn.759cbe5f
cmp dword [ebp - 0x1c], edi
jne 0x75b29c74
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
push ebx
call dword [eax + 0x30]
push 1
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], esi
call fcn.759b87f0
call fcn.759d7938
push eax
lea ecx, [ebp - 0x38]
call fcn.759c755e
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x20]
mov edi, dword [ebp - 0x34]
mov esi, dword [edi]
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x30], eax
add esi, 0x3c
call fcn.759c6f3c
push eax
push dword [ebp - 0x30]
push edi
call dword [esi]
push eax
lea ecx, [ebp - 0x1c]
call fcn.759cbe5f
cmp dword [ebp - 0x1c], 0
je 0x75b29b20
lea ecx, [ebp - 0x40]
call fcn.759b87d1
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x75b29c74
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x75b29c74
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
mov edi, dword [ebp - 0x24]
push eax
call dword [ecx + 0x20]
mov esi, dword [edi]
push eax
lea ecx, [ebp - 0x58]
add esi, 0x90
call fcn.75b31d83
push eax
lea ecx, [ebp - 0x20]
call fcn.759c6ee9
push eax
push 1
push 0x75b29cd8
push 0
push edi
call dword [esi]
push eax
lea ecx, [ebp - 0x1c]
call fcn.759cbe5f
lea ecx, [ebp - 0x58]
call fcn.759cc6cc
cmp dword [ebp - 0x1c], 0
jne 0x75b29af9
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
mov edi, dword [ebp - 0x24]
push eax
call dword [ecx + 0x20]
mov esi, dword [edi]
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], eax
add esi, 0x3c
call fcn.759c6ee9
push eax
push dword [ebp - 0x34]
push edi
call dword [esi]
push eax
lea ecx, [ebp - 0x1c]
call fcn.759cbe5f
xor edi, edi
cmp dword [ebp - 0x1c], edi
je 0x75b29bb8
lea ecx, [ebp - 0x40]
call fcn.759b87d1
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
cmp eax, edi
jmp 0x75b29b0f
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x20]
push edi
push 0x4100180
push 2
push edi
push 1
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push eax
lea ecx, [ebp - 0x28]
call fcn.75acb2de
cmp dword [ebp - 0x28], 0xffffffff
je 0x75b29b9d
push 0x400
lea ecx, [ebp - 0x14]
call fcn.75a1d617
cmp dword [ebp - 0x14], edi
jne 0x75b29bff
mov byte [ebp - 0x15], 0
jmp 0x75b29b9d
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebx]
push eax
push dword [ebp - 0x14]
mov dword [ebp - 0x34], eax
push ebx
call dword [ecx + 0x18]
mov esi, eax
cmp esi, edi
je 0x75b29c3b
push edi
lea eax, [ebp - 0x30]
push eax
push esi
push dword [ebp - 0x14]
mov dword [ebp - 0x30], edi
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x75b29b9d
cmp dword [ebp - 0x30], esi
jne 0x75b29b9d
cmp esi, dword [ebp - 0x34]
je 0x75b29bff
lea ecx, [ebp - 0x40]
call fcn.759b87d1
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
cmp eax, edi
je 0x75b29c5e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 1
push dword [ebp - 0x2c]
push dword [ebp - 0x28]
call dword [0x75bc82f8]
cmp eax, 1
jne 0x75b29c74
mov byte [ebp - 0x15], al
push 0xffffffffffffffff
lea ecx, [ebp - 0x2c]
call fcn.75acb2de
push 0xffffffffffffffff
lea ecx, [ebp - 0x28]
call fcn.75acb2de
call fcn.759c6f05
cmp dword [ebp - 0x10], 1
jle 0x75b29c9c
push dword [ebp - 0x14]
call fcn.759c6f79
pop ecx
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp - 0x28], 0xffffffff
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x75b29cb6
push dword [ebp - 0x28]
call esi
cmp dword [ebp - 0x2c], 0xffffffff
je 0x75b29cc1
push dword [ebp - 0x2c]
call esi
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x75b29cce
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov bl, byte [ebp - 0x15]
jmp 0x75b29a2c