Function at 0x457d75
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [ebp + 0x18]
and eax, 1
test eax, eax
setne al
movzx eax, al
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call fcn.00457d0c
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0xc]
cmp dword [ebp - 0x18], eax
je 0x457ff2
cmp dword [ebp + 0xc], 0
jns 0x457dd3
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
add eax, edx
movzx eax, byte [eax]
test al, al
je 0x457ff2
cmp dword [ebp - 0x14], 0
jne 0x457e17
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 8]
jne 0x457e17
cmp dword [ebp + 0x10], 0
je 0x457dfa
mov dword [esp + 4], 0x22
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call fcn.0045763f
cmp dword [ebp + 0x14], 0
je 0x457e13
mov eax, dword [ebp + 0x14]
mov dword [esp + 4], eax
mov dword [esp], 0x22
call sub.cygwin1.dll_fputc
add dword [ebp - 0xc], 1
cmp dword [ebp + 0x10], 0
je 0x457e36
mov eax, dword [ebp - 0x18]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x10]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call fcn.00492789
cmp dword [ebp + 0x14], 0
je 0x457e5d
mov eax, dword [ebp + 0x14]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 1
mov eax, dword [ebp - 0x18]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call sub.cygwin1.dll_fwrite
mov eax, dword [ebp - 0x18]
add dword [ebp - 0xc], eax
cmp dword [ebp + 0x10], 0
je 0x457e7c
mov dword [esp + 4], 0x5c
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call fcn.0045763f
cmp dword [ebp + 0x14], 0
je 0x457e95
mov eax, dword [ebp + 0x14]
mov dword [esp + 4], eax
mov dword [esp], 0x5c
call sub.cygwin1.dll_fputc
add dword [ebp - 0xc], 1
mov eax, dword [ebp - 0x18]
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
lea edx, [eax + 1]
mov dword [ebp - 0x10], edx
movzx eax, byte [eax]
movzx eax, al
mov dword [ebp - 0x1c], eax
cmp dword [ebp + 0xc], 0
js 0x457ec3
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp - 0x18]
sub eax, 1
mov dword [ebp + 0xc], eax
mov eax, dword [ebp - 0x1c]
add eax, 0x5a95a0
movzx eax, byte [eax]
cmp al, 0x1f
jle 0x457f21
cmp dword [ebp + 0x10], 0
je 0x457ef5
mov eax, dword [ebp - 0x1c]
add eax, 0x5a95a0
movzx eax, byte [eax]
movsx eax, al
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call fcn.0045763f
cmp dword [ebp + 0x14], 0
je 0x457f18
mov eax, dword [ebp - 0x1c]
add eax, 0x5a95a0
movzx eax, byte [eax]
movsx eax, al
mov edx, dword [ebp + 0x14]
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.cygwin1.dll_fputc
add dword [ebp - 0xc], 1
jmp 0x457d99
cmp dword [ebp + 0x10], 0
je 0x457f42
mov eax, dword [ebp - 0x1c]
sar eax, 6
and eax, 3
add eax, 0x30
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call fcn.0045763f
cmp dword [ebp + 0x14], 0
je 0x457f63
mov eax, dword [ebp - 0x1c]
sar eax, 6
and eax, 3
lea edx, [eax + 0x30]
mov eax, dword [ebp + 0x14]
mov dword [esp + 4], eax
mov dword [esp], edx
call sub.cygwin1.dll_fputc
add dword [ebp - 0xc], 1
cmp dword [ebp + 0x10], 0
je 0x457f88
mov eax, dword [ebp - 0x1c]
sar eax, 3
and eax, 7
add eax, 0x30
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call fcn.0045763f
cmp dword [ebp + 0x14], 0
je 0x457fa9
mov eax, dword [ebp - 0x1c]
sar eax, 3
and eax, 7
lea edx, [eax + 0x30]
mov eax, dword [ebp + 0x14]
mov dword [esp + 4], eax
mov dword [esp], edx
call sub.cygwin1.dll_fputc
add dword [ebp - 0xc], 1
cmp dword [ebp + 0x10], 0
je 0x457fcb
mov eax, dword [ebp - 0x1c]
and eax, 7
add eax, 0x30
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call fcn.0045763f
cmp dword [ebp + 0x14], 0
je 0x457fe9
mov eax, dword [ebp - 0x1c]
and eax, 7
lea edx, [eax + 0x30]
mov eax, dword [ebp + 0x14]
mov dword [esp + 4], eax
mov dword [esp], edx
call sub.cygwin1.dll_fputc
add dword [ebp - 0xc], 1
jmp 0x457d99
cmp dword [ebp + 0x10], 0
je 0x458011
mov eax, dword [ebp - 0x18]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x10]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call fcn.00492789
cmp dword [ebp + 0x14], 0
je 0x458038
mov eax, dword [ebp + 0x14]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 1
mov eax, dword [ebp - 0x18]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call sub.cygwin1.dll_fwrite
mov eax, dword [ebp - 0x18]
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 8]
jne 0x45804d
mov eax, 0
jmp 0x45808c
cmp dword [ebp - 0x14], 0
jne 0x458089
cmp dword [ebp + 0x10], 0
je 0x45806c
mov dword [esp + 4], 0x22
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call fcn.0045763f
cmp dword [ebp + 0x14], 0
je 0x458085
mov eax, dword [ebp + 0x14]
mov dword [esp + 4], eax
mov dword [esp], 0x22
call sub.cygwin1.dll_fputc
add dword [ebp - 0xc], 1
mov eax, dword [ebp - 0xc]
leave
ret