Function at 0x5575ff
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
cmp dword [ebp + 0x18], 0
je 0x557613
mov eax, dword [ebp + 0x18]
add eax, 0x24
jmp 0x557619
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.004f5d01
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.004f5d01
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.004f5d01
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.004f5d01
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 4]
test eax, eax
jne 0x5576d3
mov edx, dword [0x59b3e8]
mov eax, dword [0x62f280]
mov dword [esp + 8], edx
mov edx, dword [ebp - 0x14]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004378b0
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.0048b400
cmp dword [ebp + 0x1c], 0
jne 0x5576e5
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
mov byte [ebp - 9], 0x3c
jmp 0x557729
cmp dword [ebp + 0x18], 0
jne 0x5576f7
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
mov byte [ebp - 9], 0x3e
jmp 0x557729
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 0x55771f
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x10], eax
mov byte [ebp - 9], 0x21
jmp 0x557729
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.005563ef
cmp byte [ebp - 9], 0x21
jne 0x557747
mov eax, dword [ebp - 0x1c]
jmp 0x55774a
mov eax, dword [ebp - 0x10]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call fcn.005564e2
cmp dword [ebp + 0x18], 0
jne 0x55778d
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 8]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x5cbf61
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.0048b459
jmp 0x5577d9
mov edx, dword [0x59b3e8]
mov eax, dword [ebp + 0x18]
lea ecx, [eax + 0x24]
mov eax, dword [0x62f280]
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.004378b0
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.0048b459
cmp byte [ebp - 9], 0x21
jne 0x557800
mov eax, dword [ebp - 0x10]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x18]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5cbf77
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call fcn.0048b459
movsx eax, byte [ebp - 9]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call fcn.00556486
cmp byte [ebp - 9], 0x21
jne 0x55783a
mov eax, dword [ebp - 0x20]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x18]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5cbf77
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call fcn.0048b459
cmp dword [ebp + 0x1c], 0
jne 0x55786e
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 8]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x5cbf61
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.0048b459
jmp 0x5578ba
mov edx, dword [0x59b3e8]
mov eax, dword [ebp + 0x1c]
lea ecx, [eax + 0x24]
mov eax, dword [0x62f280]
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.004378b0
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.0048b459
mov eax, dword [0x62f280]
mov edx, dword [ebp - 0x14]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004e4c9d
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x55792b
cmp byte [ebp - 9], 0x21
jne 0x5578fe
mov eax, dword [ebp - 0x10]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x18]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5cbf77
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call fcn.0048b459
mov dword [esp + 4], 0x20
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call fcn.00556486
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.0044e37f
mov eax, dword [ebp - 0x18]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5cbf90
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call fcn.0048b459
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