Function at 0x41b980
Capabilities:
Terminate process

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x9c
mov esi, dword [esp + 0xb0]
lea eax, [esp + 0x30]
mov dword [esp + 4], eax
mov dword [esp], esi
call sub.cygwin1.dll__stat64
test eax, eax
jne 0x41bb20
mov ebx, eax
mov eax, dword [esp + 0x40]
and eax, 0xf000
cmp eax, 0x8000
jne 0x41bb20
mov edi, dword [esp + 0x58]
mov eax, 0x3200000
cmp eax, edi
mov eax, ebx
sbb eax, dword [esp + 0x5c]
jb 0x41bb20
lea eax, [edi + 1]
mov dword [esp], eax
mov dword [esp + 0x28], eax
call sub.cygwin1.dll_malloc
mov dword [esp + 0x2c], eax
test eax, eax
je 0x41bc44
mov dword [esp], esi
mov dword [esp + 4], 0x429724
call sub.cygwin1.dll__fopen64
mov esi, eax
test eax, eax
je 0x41bb40
xor ebp, ebp
test byte [eax + 0xc], 0x20
je 0x41ba4d
jmp 0x41bb80
lea ecx, [edi + eax - 1]
cmp byte [ecx], 0xa
je 0x41bb30
mov byte [edi + eax], 0
add eax, 1
add ebp, eax
cmp dword [esp + 0x28], ebp
jbe 0x41bba1
add ebx, 1
test byte [esi + 0xc], 0x20
jne 0x41bb68
mov eax, dword [esp + 0x2c]
mov dword [esp + 8], esi
lea edi, [eax + ebp]
mov eax, dword [esp + 0x28]
mov dword [esp], edi
sub eax, ebp
mov dword [esp + 4], eax
call sub.cygwin1.dll_fgets
test eax, eax
je 0x41ba7b
mov dword [esp], edi
call sub.cygwin1.dll_strlen
cmp byte [edi], 0
jne 0x41ba20
mov dword [esp], esi
call sub.cygwin1.dll_fclose
test eax, eax
jne 0x41bb8c
test ebx, ebx
je 0x41bb55
lea eax, [ebx*4]
mov dword [esp], eax
call sub.cygwin1.dll_malloc
mov edi, eax
test eax, eax
je 0x41bc20
xor esi, esi
mov eax, ebx
xor ebp, ebp
mov ebx, esi
mov esi, eax
lea esi, [esi]
lea esi, [esi]
mov eax, dword [esp + 0x2c]
add eax, ebx
mov dword [edi + ebp*4], eax
add ebp, 1
mov dword [esp], eax
call sub.cygwin1.dll_strlen
lea ebx, [ebx + eax + 1]
cmp esi, ebp
ja 0x41bac0
mov eax, esi
mov esi, ebx
mov ebx, eax
cmp dword [esp + 0x28], esi
jb 0x41bbf7
mov dword [esp], 0x10
call sub.cygwin1.dll_malloc
test eax, eax
je 0x41bc1b
mov edx, dword [esp + 0x2c]
mov dword [eax], edi
mov dword [eax + 8], ebx
mov dword [eax + 4], edx
mov dword [eax + 0xc], ebx
add esp, 0x9c
pop ebx
pop esi
pop edi
pop ebp
ret
xor eax, eax
add esp, 0x9c
pop ebx
pop esi
pop edi
pop ebp
ret
mov byte [ecx], 0
test eax, eax
jne 0x41ba34
jmp 0x41ba7b
mov eax, dword [0x432028]
test eax, eax
jle 0x41bb55
mov dword [esp], str.zstd:util:readLinesFromFile
call sub.cygwin1.dll_perror
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call sub.cygwin1.dll_free
xor eax, eax
jmp 0x41bb22
mov dword [esp], esi
call sub.cygwin1.dll_fclose
test eax, eax
je 0x41ba93
jmp 0x41bb8c
mov dword [esp], eax
call sub.cygwin1.dll_fclose
test eax, eax
je 0x41bb55
cmp dword [0x432028], 0
jg 0x41bbc5
mov dword [esp], 1
call sub.cygwin1.dll_exit
mov dword [esp + 0xc], str.pos__lineLength___dstCapacity
mov dword [esp + 8], str.readLinesFromFile
mov dword [esp + 4], 0x1a5
mov dword [esp], str.util.c
call sub.cygwin1.dll___assert_func
call sub.cygwin1.dll___getreent
mov dword [esp + 0x10], str.fclose_inputFile___0
mov dword [esp + 0xc], 0x1aa
mov dword [esp + 8], str.util.c
mov dword [esp + 4], str.Error_:__s___i_:__s
mov eax, dword [eax + 0xc]
mov dword [esp], eax
call sub.cygwin1.dll_fprintf
jmp 0x41bb95
mov dword [esp + 0xc], str.pos___bufSize
mov dword [esp + 8], str.UTIL_createFileNamesTable_fromFileName
mov dword [esp + 4], 0x1d6
mov dword [esp], str.util.c
call sub.cygwin1.dll___assert_func
call fcn.0041ad50
cmp dword [0x432028], 0
jle 0x41bb95
call sub.cygwin1.dll___getreent
mov dword [esp + 0x10], str.filenamesTable___NULL
mov dword [esp + 0xc], 0x1cf
jmp 0x41bbda
cmp dword [0x432028], 0
jle 0x41bb95
call sub.cygwin1.dll___getreent
mov dword [esp + 0x10], str.buf___NULL
mov dword [esp + 0xc], 0x1c3
jmp 0x41bbda