Function at 0x55739f
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
cmp dword [ebp + 0x18], 0
je 0x5573b3
mov eax, dword [ebp + 0x18]
add eax, 0x24
jmp 0x5573b9
mov eax, dword [ebp + 0x1c]
add eax, 0x24
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xcc]
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.004f7ee5
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xcc]
mov dword [esp + 4], 4
mov dword [esp], eax
call fcn.004f7ee5
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xcc]
mov dword [esp + 4], 5
mov dword [esp], eax
call fcn.004f7ee5
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xcc]
mov dword [esp + 4], 6
mov dword [esp], eax
call fcn.004f7ee5
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 4]
test eax, eax
jne 0x557473
mov edx, dword [0x599368]
mov eax, dword [0x61cf40]
mov dword [esp + 8], edx
mov edx, dword [ebp - 0x14]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0043f288
mov dword [esp], eax
call sub.cygwin1.dll_strlen
mov dword [esp + 8], eax
mov dword [esp + 4], 0x2d
mov eax, dword [ebp + 0x14]
mov dword [esp], eax
call fcn.004928b8
cmp dword [ebp + 0x1c], 0
jne 0x557485
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
mov byte [ebp - 9], 0x3c
jmp 0x5574c9
cmp dword [ebp + 0x18], 0
jne 0x557497
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
mov byte [ebp - 9], 0x3e
jmp 0x5574c9
mov eax, dword [ebp + 0x1c]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 0xc]
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.cygwin1.dll_strcmp
test eax, eax
je 0x5574bf
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x10], eax
mov byte [ebp - 9], 0x21
jmp 0x5574c9
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x10], eax
mov byte [ebp - 9], 0x3d
mov dword [esp + 4], 0
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call fcn.0055618f
cmp byte [ebp - 9], 0x21
jne 0x5574e7
mov eax, dword [ebp - 0x1c]
jmp 0x5574ea
mov eax, dword [ebp - 0x10]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call fcn.00556282
cmp dword [ebp + 0x18], 0
jne 0x55752d
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 8]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x5c9fc9
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], eax
mov dword [esp + 4], str._s:___s
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call fcn.00492911
jmp 0x557579
mov edx, dword [0x599368]
mov eax, dword [ebp + 0x18]
lea ecx, [eax + 0x24]
mov eax, dword [0x61cf40]
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.0043f288
mov edx, dword [ebp + 0x18]
mov edx, dword [edx + 0x10]
add edx, 1
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], edx
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], eax
mov dword [esp + 4], str._d:___s
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call fcn.00492911
cmp byte [ebp - 9], 0x21
jne 0x5575a0
mov eax, dword [ebp - 0x10]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x18]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5c9fdf
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call fcn.00492911
movsx eax, byte [ebp - 9]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call fcn.00556226
cmp byte [ebp - 9], 0x21
jne 0x5575da
mov eax, dword [ebp - 0x20]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x18]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5c9fdf
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call fcn.00492911
cmp dword [ebp + 0x1c], 0
jne 0x55760e
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 8]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x5c9fc9
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], eax
mov dword [esp + 4], str.__s:___s
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call fcn.00492911
jmp 0x55765a
mov edx, dword [0x599368]
mov eax, dword [ebp + 0x1c]
lea ecx, [eax + 0x24]
mov eax, dword [0x61cf40]
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.0043f288
mov edx, dword [ebp + 0x1c]
mov edx, dword [edx + 0x10]
add edx, 1
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], edx
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], eax
mov dword [esp + 4], str.__d:___s
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call fcn.00492911
mov eax, dword [0x61cf40]
mov edx, dword [ebp - 0x14]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00410e41
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x5576cb
cmp byte [ebp - 9], 0x21
jne 0x55769e
mov eax, dword [ebp - 0x10]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x18]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5c9fdf
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call fcn.00492911
mov dword [esp + 4], 0x20
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call fcn.00556226
mov eax, dword [ebp + 0x10]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x28]
mov dword [esp + 4], eax
mov dword [esp], 5
call fcn.004555df
mov eax, dword [ebp - 0x18]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5c9ff8
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call fcn.00492911
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x164]
mov eax, dword [ebp + 0x10]
mov edx, dword [eax + 4]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 8]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], 1
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.cygwin1.dll_fwrite
nop
leave
ret