Function at 0x4293e4
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x4293ec
push ebx
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
call fcn.004082dc
xor eax, eax
push ebp
push 0x429662
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4448c8]
cmp byte [eax + 0xa4], 0
je 0x42944a
push 0x429674
push dword [ebp - 4]
push 0x4296bc
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00408da4
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
call fcn.00408fd8
mov eax, dword [ebp - 0x14]
mov dl, 1
call fcn.0042838c
push 0
push 0x80
push 1
push 0
push 0
push 0xc0000000
lea eax, [ebp - 0x1c]
mov ecx, 0x4296bc
mov edx, dword [ebp - 4]
call fcn.00408d28
mov eax, dword [ebp - 0x1c]
call fcn.00408ca0
push eax
call sub.kernel32.dll_CreateFileW
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x4294ad
mov eax, dword [0x4448c8]
cmp byte [eax + 0xa4], 0
je 0x429628
mov dl, 1
mov eax, 0x4296f0
call fcn.0042838c
xor eax, eax
call fcn.0042858c
jmp 0x429628
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_SetFilePointerEx
test eax, eax
jne 0x4294e5
mov eax, dword [0x4448c8]
cmp byte [eax + 0xa4], 0
je 0x429536
mov dl, 1
mov eax, 0x42974c
call fcn.0042838c
xor eax, eax
call fcn.0042858c
jmp 0x429536
mov eax, dword [0x4448c8]
mov eax, dword [eax + 0x50]
mov ebx, eax
test ebx, ebx
je 0x4294f8
sub ebx, 4
mov ebx, dword [ebx]
push 0
lea eax, [ebp - 0x10]
push eax
push ebx
mov eax, dword [0x4448c8]
mov eax, dword [eax + 0x50]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_WriteFile
test eax, eax
jne 0x429536
mov eax, dword [0x4448c8]
cmp byte [eax + 0xa4], 0
je 0x429536
mov dl, 1
mov eax, 0x4297a4
call fcn.0042838c
xor eax, eax
call fcn.0042858c
mov eax, dword [0x4448c8]
mov eax, dword [eax + 0x50]
test eax, eax
je 0x429547
sub eax, 4
mov eax, dword [eax]
mov edx, dword [ebp - 0x10]
cmp edx, eax
je 0x429605
mov eax, dword [0x4448c8]
cmp byte [eax + 0xa4], 0
je 0x429605
xor eax, eax
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x4295f7
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x4297ec
mov eax, dword [ebp - 0x10]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x20]
call fcn.00418c40
push dword [ebp - 0x20]
push 0x429824
lea eax, [ebp - 8]
mov edx, 3
call fcn.00409168
mov eax, dword [0x4448c8]
mov eax, dword [eax + 0x50]
mov ebx, eax
test ebx, ebx
je 0x4295b3
sub ebx, 4
mov ebx, dword [ebx]
push dword [ebp - 8]
lea edx, [ebp - 0x28]
mov eax, ebx
call fcn.00418c24
push dword [ebp - 0x28]
push 0x429840
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.00409168
mov eax, dword [ebp - 0x24]
mov dl, 1
call fcn.0042838c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4295fe
lea eax, [ebp - 8]
call fcn.004081c8
pop eax
jmp eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [0x4448c8]
cmp byte [eax + 0xa4], 0
je 0x429628
mov dl, 1
mov eax, 0x42985c
call fcn.0042838c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x429669
lea eax, [ebp - 0x28]
mov edx, 3
call fcn.00408228
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00408298
lea eax, [ebp - 0x14]
call fcn.004081c8
lea eax, [ebp - 4]
call fcn.00408210
pop eax
jmp eax