Function at 0x426e1a
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x7c
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x60], 0
mov eax, dword [ebp + 8]
cmp dword [eax*4 + 0x433380], 0
jle 0x427258
mov eax, dword [ebp + 8]
add eax, 1
mov dword [esp + 0xc], eax
mov dword [esp + 8], str._d:
mov dword [esp + 4], 0x32
lea eax, [ebp - 0x3e]
mov dword [esp], eax
call sub.cygwin1.dll_snprintf
mov esi, eax
mov dword [0x433210], 0
mov dword [0x433220], 0
mov ebx, 0x434540
mov edx, dword [ebp + 8]
mov edx, dword [ebx + edx*4]
mov dword [ebp - 0x6c], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx*4 + 0x433380]
mov eax, dword [ecx*4 + 0x434740]
lea ecx, [ebp - 0x50]
mov dword [esp + 8], ecx
lea ecx, [ebp - 0x4c]
mov dword [esp + 4], ecx
mov dword [esp], 0
mov ecx, 0
call fcn.00426dd1
add eax, esi
mov dword [ebp - 0x64], eax
mov esi, 0
mov eax, 0
mov edi, dword [ebp + 8]
cmp dword [ebx + edi*4], 0
je 0x427001
add dword [ebp - 0x64], 3
lea ebx, [ebp - 0x48]
mov edx, dword [ebp + 8]
mov eax, dword [edx*4 + 0x43c980]
mov dword [esp + 8], ebx
lea ecx, [ebp - 0x44]
mov dword [esp + 4], ecx
mov dword [esp], 0
mov ecx, 0
mov edx, dword [ebp - 0x6c]
call fcn.00426dd1
mov esi, eax
mov eax, dword [0x42a03c]
test eax, eax
je 0x426fb2
call sub.cygwin1.dll___getreent
mov eax, dword [eax + 8]
cmp eax, dword [0x43cce0]
jne 0x426fb2
mov edx, dword [0x42a03c]
mov edi, dword [ebp - 0x64]
lea eax, [esi + edi]
cmp eax, edx
jl 0x426fb2
cmp dword [ebp - 0x6c], 0
jle 0x426fb2
sub dword [ebp - 0x6c], 1
cmp dword [ebp - 0x6c], 0
jle 0x426f01
mov eax, dword [ebp - 0x6c]
shl eax, 4
mov edx, dword [ebp + 8]
add eax, dword [edx*4 + 0x43c980]
add eax, 4
mov edx, 1
cmp dword [eax], 1
jne 0x426fa0
cmp dword [eax - 4], 2
jne 0x426fa0
cmp dword [eax + 4], 5
ja 0x426fa0
mov ecx, dword [eax + 4]
mov esi, edx
shl esi, cl
mov ecx, esi
test cl, 0x26
jne 0x426f01
sub dword [ebp - 0x6c], 1
sub eax, 0x10
cmp dword [ebp - 0x6c], 0
jg 0x426f7d
jmp 0x426f01
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0x4c]
jle 0x426fbd
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x48]
cmp eax, dword [ebp - 0x50]
jge 0x426fc8
mov dword [ebp - 0x50], eax
mov edi, dword [ebp + 8]
mov edx, dword [edi*4 + 0x434540]
sub edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x6c]
shl eax, 4
add eax, dword [edi*4 + 0x43c980]
lea ecx, [ebp - 0x58]
mov dword [esp + 8], ecx
lea ecx, [ebp - 0x54]
mov dword [esp + 4], ecx
mov dword [esp], 0
mov ecx, 0
call fcn.00426dd1
add esi, dword [ebp - 0x64]
cmp esi, eax
cmovge eax, esi
mov dword [ebp - 0x60], eax
mov eax, dword [0x42a03c]
test eax, eax
je 0x42706f
call sub.cygwin1.dll___getreent
mov eax, dword [eax + 8]
cmp eax, dword [0x43cce0]
jne 0x42706f
mov eax, dword [0x42a03c]
cmp dword [ebp - 0x60], eax
jl 0x42706f
mov dword [esp + 4], 0
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00426cbd
mov dword [ebp - 0x60], eax
mov eax, dword [0x43cce0]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 2
mov dword [esp + 4], 1
mov dword [esp], 0x4306ea
call sub.cygwin1.dll_fwrite
jmp 0x427258
mov eax, dword [0x43cce0]
mov dword [esp + 4], eax
mov dword [esp], 0xa
call sub.cygwin1.dll_fputc
mov eax, dword [ebp - 0x4c]
mov dword [0x433210], eax
cmp dword [ebp - 0x50], eax
jg 0x4271a2
mov dword [0x433220], 0
cmp dword [0x433210], 0
jne 0x4270ca
lea edx, [ebp - 0x3e]
mov dword [esp + 8], edx
mov dword [esp + 4], 0x4305ae
mov eax, dword [0x43cce0]
mov dword [esp], eax
call sub.cygwin1.dll_fprintf
add dword [0x433220], eax
lea ecx, [ebp - 0x3e]
mov dword [ebp - 0x68], ecx
mov eax, 0
mov ecx, 0xffffffff
mov edi, dword [ebp - 0x68]
repne scasb al, byte es:[edi]
not ecx
lea esi, [ecx - 1]
mov eax, dword [ebp + 8]
mov edx, dword [eax*4 + 0x433380]
mov eax, dword [eax*4 + 0x434740]
lea edi, [ebp - 0x48]
mov dword [esp + 8], edi
lea ecx, [ebp - 0x44]
mov dword [esp + 4], ecx
mov dword [esp], esi
mov ecx, 1
call fcn.00426dd1
mov ebx, eax
mov eax, dword [ebp + 8]
cmp dword [eax*4 + 0x434540], 0
je 0x427177
cmp dword [0x433210], 0
jne 0x42714b
mov dword [esp + 8], 0x430608
mov dword [esp + 4], 0x4305ae
mov eax, dword [0x43cce0]
mov dword [esp], eax
call sub.cygwin1.dll_fprintf
add dword [0x433220], eax
lea edx, [esi + ebx + 3]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx*4 + 0x43c980]
lea esi, [ebp - 0x48]
mov dword [esp + 8], esi
lea ecx, [ebp - 0x44]
mov dword [esp + 4], ecx
mov dword [esp], edx
mov ecx, 1
mov edx, dword [ebp - 0x6c]
call fcn.00426dd1
mov eax, dword [0x43cce0]
mov dword [esp + 4], eax
mov dword [esp], 0xa
call sub.cygwin1.dll_fputc
mov eax, dword [0x433210]
sub eax, 1
mov dword [0x433210], eax
cmp dword [ebp - 0x50], eax
jle 0x427095
mov eax, dword [ebp - 0x6c]
mov edi, dword [ebp + 8]
cmp eax, dword [edi*4 + 0x434540]
jge 0x427243
mov eax, dword [0x43cce0]
mov dword [esp + 4], eax
mov dword [esp], 0xa
call sub.cygwin1.dll_fputc
mov eax, dword [ebp - 0x54]
mov dword [0x433210], eax
cmp eax, dword [ebp - 0x58]
jl 0x427243
mov ebx, dword [ebp - 0x6c]
shl ebx, 4
lea esi, [ebp - 0x44]
mov dword [0x433220], 0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx*4 + 0x434540]
sub edx, dword [ebp - 0x6c]
mov eax, dword [ecx*4 + 0x43c980]
add eax, ebx
lea edi, [ebp - 0x48]
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], 0
mov ecx, 1
call fcn.00426dd1
mov eax, dword [0x43cce0]
mov dword [esp + 4], eax
mov dword [esp], 0xa
call sub.cygwin1.dll_fputc
mov eax, dword [0x433210]
sub eax, 1
mov dword [0x433210], eax
cmp dword [ebp - 0x58], eax
jle 0x4271e0
mov eax, dword [0x43cce0]
mov dword [esp + 4], eax
mov dword [esp], 0xa
call sub.cygwin1.dll_fputc
mov eax, dword [ebp - 0x60]
add esp, 0x7c
pop ebx
pop esi
pop edi
pop ebp
ret