Function at 0x1000feb9
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x458
mov dword [ebp - 0x458], ecx
push 0
push 0x80
push 3
push 0
push 1
push closesocket
push 0x1004636c
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x450], eax
cmp dword [ebp - 0x450], 0xffffffff
jne 0x1000fefb
xor eax, eax
jmp 0x1001019a
push 0
push 0
push 0
mov eax, dword [ebp - 0x450]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea ecx, [ebp - 0x454]
push ecx
push 0x400
lea edx, [ebp - 0x448]
push edx
mov eax, dword [ebp - 0x450]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1000ff48
mov ecx, dword [ebp - 0x450]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x1001019a
mov edx, dword [ebp - 0x450]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x454]
jae 0x10010195
push 0x40
push 0
lea ecx, [ebp - 0x48]
push ecx
call fcn.10025800
add esp, 0xc
mov dword [ebp - 0x44c], 0
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 8], edx
jmp 0x1000ff99
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp - 0x454]
jae 0x1000ffeb
mov edx, dword [ebp - 8]
movsx eax, byte [ebp + edx - 0x449]
cmp eax, 0xd
jne 0x1000ffc6
mov ecx, dword [ebp - 8]
movsx edx, byte [ebp + ecx - 0x448]
cmp edx, 0xa
jne 0x1000ffc6
jmp 0x1000ffeb
mov eax, dword [ebp - 0x44c]
mov ecx, dword [ebp - 8]
mov dl, byte [ebp + ecx - 0x449]
mov byte [ebp + eax - 0x48], dl
mov eax, dword [ebp - 0x44c]
add eax, 1
mov dword [ebp - 0x44c], eax
jmp 0x1000ff90
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 4], ecx
push 9
push 0x10046380
lea edx, [ebp - 0x48]
push edx
call fcn.10026db0
add esp, 0xc
test eax, eax
jne 0x1001003a
mov eax, dword [ebp - 0x44c]
sub eax, 9
cdq
sub eax, edx
sar eax, 1
push eax
mov eax, dword [ebp - 0x458]
add eax, 0x41f0
push eax
lea ecx, [ebp - 0x3f]
push ecx
mov ecx, dword [ebp - 0x458]
call fcn.1001019e
jmp 0x10010190
push 9
push 0x1004638c
lea edx, [ebp - 0x48]
push edx
call fcn.10026db0
add esp, 0xc
test eax, eax
jne 0x10010080
mov eax, dword [ebp - 0x44c]
sub eax, 9
cdq
sub eax, edx
sar eax, 1
push eax
mov eax, dword [ebp - 0x458]
add eax, 0x4202
push eax
lea ecx, [ebp - 0x3f]
push ecx
mov ecx, dword [ebp - 0x458]
call fcn.10032c7b
jmp 0x10010190
push 9
push 0x10046398
lea edx, [ebp - 0x48]
push edx
call fcn.10026db0
add esp, 0xc
test eax, eax
jne 0x100100c6
mov eax, dword [ebp - 0x44c]
sub eax, 9
cdq
sub eax, edx
sar eax, 1
push eax
mov eax, dword [ebp - 0x458]
add eax, 0x4214
push eax
lea ecx, [ebp - 0x3f]
push ecx
mov ecx, dword [ebp - 0x458]
call fcn.1001019e
jmp 0x10010190
push 9
push 0x100463a4
lea edx, [ebp - 0x48]
push edx
call fcn.10026db0
add esp, 0xc
test eax, eax
jne 0x1001010c
mov eax, dword [ebp - 0x44c]
sub eax, 9
cdq
sub eax, edx
sar eax, 1
push eax
mov eax, dword [ebp - 0x458]
add eax, 0x4238
push eax
lea ecx, [ebp - 0x3f]
push ecx
mov ecx, dword [ebp - 0x458]
call fcn.1001019e
jmp 0x10010190
push 9
push 0x100463b0
lea edx, [ebp - 0x48]
push edx
call fcn.10026db0
add esp, 0xc
test eax, eax
jne 0x1001014f
mov eax, dword [ebp - 0x44c]
sub eax, 9
cdq
sub eax, edx
sar eax, 1
push eax
mov eax, dword [ebp - 0x458]
add eax, 0x424a
push eax
lea ecx, [ebp - 0x3f]
push ecx
mov ecx, dword [ebp - 0x458]
call fcn.1001019e
jmp 0x10010190
push 9
push 0x100463bc
lea edx, [ebp - 0x48]
push edx
call fcn.10026db0
add esp, 0xc
test eax, eax
jne 0x10010190
mov eax, dword [ebp - 0x44c]
sub eax, 9
cdq
sub eax, edx
sar eax, 1
push eax
mov eax, dword [ebp - 0x458]
add eax, 0x425c
push eax
lea ecx, [ebp - 0x3f]
push ecx
mov ecx, dword [ebp - 0x458]
call fcn.1001019e
jmp 0x1000ff5c
mov eax, 1
mov esp, ebp
pop ebp
ret