Function at 0x404e33
Capabilities:
Terminate process
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
call sub.cygwin1.dll___getreent
mov dword [esp + 8], 0x404d2f
mov dword [esp + 4], 0x404d37
mov eax, dword [eax + 0xc]
mov dword [esp], eax
call fcn.004489fe
call sub.cygwin1.dll___getreent
mov eax, dword [eax + 0xc]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 9
mov dword [esp + 4], 1
mov dword [esp], 0x404e0a
call sub.cygwin1.dll_fwrite
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x10]
shl eax, 5
cmp dword [eax + 0x4034a8], 0
je 0x40513f
call sub.cygwin1.dll___getreent
mov eax, dword [eax + 0xc]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 2
mov dword [esp + 4], 1
mov dword [esp], 0x404e14
call sub.cygwin1.dll_fwrite
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 2
mov esi, dword [ebp - 0x10]
mov ebx, esi
shl ebx, 5
cmp byte [ebx + 0x4034a0], 0
je 0x404faf
cmp dword [ebx + 0x4034ac], 2
je 0x404faf
call sub.cygwin1.dll___getreent
mov edx, eax
movsx eax, byte [ebx + 0x4034a0]
mov dword [esp + 0xc], eax
mov eax, 0x404e17
cmp dword [ebp - 0x14], 0
jne 0x404f18
mov eax, 0x404e1a
mov dword [esp + 8], eax
mov dword [esp + 4], 0x404e1b
mov eax, dword [edx + 0xc]
mov dword [esp], eax
call fcn.004489fe
cmp dword [ebp - 0x14], 0
je 0x404f3b
add dword [ebp - 0x18], 4
jmp 0x404f3f
add dword [ebp - 0x18], 2
mov eax, esi
shl eax, 5
cmp dword [eax + 0x4034a4], 0
je 0x404fa8
cmp dword [eax + 0x403494], 2
je 0x404f71
call sub.cygwin1.dll___getreent
mov eax, dword [eax + 0xc]
mov dword [esp + 4], eax
mov dword [esp], 0x20
call sub.cygwin1.dll_fputc
inc dword [ebp - 0x18]
call sub.cygwin1.dll___getreent
mov eax, dword [eax + 0xc]
mov dword [esp + 4], eax
mov eax, esi
shl eax, 5
mov ebx, dword [eax + 0x4034a4]
mov dword [esp], ebx
call sub.cygwin1.dll_fputs
mov edi, ebx
cld
mov ecx, 0xffffffff
mov al, 0
repne scasb al, byte es:[edi]
not ecx
mov eax, dword [ebp - 0x18]
lea eax, [eax + ecx - 1]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 1
inc esi
cmp esi, 0x95
jg 0x404fca
mov eax, esi
shl eax, 5
cmp dword [eax + 0x4034a8], 0
je 0x404ed7
mov esi, dword [ebp - 0x10]
mov ebx, esi
shl ebx, 5
cmp dword [ebx + 0x403490], 0
je 0x4050b6
mov edi, 0x4034a0
cmp dword [edi + ebx + 0xc], 2
je 0x4050b6
call sub.cygwin1.dll___getreent
mov edx, eax
mov eax, dword [ebx + 0x403490]
mov dword [esp + 0x10], eax
mov eax, 0x404e21
cmp dword [edi + ebx + 0xc], 1
je 0x405011
mov eax, 0x404e1a
mov dword [esp + 0xc], eax
mov eax, 0x404e17
cmp dword [ebp - 0x14], 0
jne 0x405025
mov eax, 0x404e1a
mov dword [esp + 8], eax
mov dword [esp + 4], 0x404e23
mov eax, dword [edx + 0xc]
mov dword [esp], eax
call fcn.004489fe
cmp dword [ebp - 0x14], 0
setne al
movzx ebx, al
mov edx, esi
shl edx, 5
mov edi, dword [edx + 0x403490]
cld
mov ecx, 0xffffffff
mov al, 0
repne scasb al, byte es:[edi]
not ecx
lea eax, [ecx + ebx*2]
cmp dword [edx + 0x4034ac], 1
jne 0x40506a
inc eax
add dword [ebp - 0x18], eax
mov edi, 0x4034a0
mov ebx, esi
shl ebx, 5
cmp dword [edi + ebx + 4], 0
je 0x4050af
call sub.cygwin1.dll___getreent
mov ebx, dword [edi + ebx + 4]
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x404e2b
mov eax, dword [eax + 0xc]
mov dword [esp], eax
call fcn.004489fe
mov edi, ebx
cld
mov ecx, 0xffffffff
mov al, 0
repne scasb al, byte es:[edi]
not ecx
add dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], 1
inc esi
cmp esi, 0x95
jg 0x4050d1
mov eax, esi
shl eax, 5
cmp dword [eax + 0x4034a8], 0
je 0x404fcd
cmp dword [ebp - 0x18], 0x1d
jle 0x4050f6
call sub.cygwin1.dll___getreent
mov eax, dword [eax + 0xc]
mov dword [esp + 4], eax
mov dword [esp], 0xa
call sub.cygwin1.dll_fputc
mov dword [ebp - 0x18], 0
call sub.cygwin1.dll___getreent
mov eax, dword [eax + 0xc]
mov dword [esp + 4], eax
mov dword [esp], 0x20
call sub.cygwin1.dll_fputc
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 0x1d
jle 0x4050f6
call sub.cygwin1.dll___getreent
mov edx, dword [ebp - 0x10]
shl edx, 5
mov edx, dword [edx + 0x4034a8]
mov dword [esp + 8], edx
mov dword [esp + 4], 0x404e2f
mov eax, dword [eax + 0xc]
mov dword [esp], eax
call fcn.004489fe
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0x95
jle 0x404e8b
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.cygwin1.dll_exit