Function at 0x44c8f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46c510
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x48d800]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
push 1
lea eax, [ebp - 0x54]
push eax
mov ecx, dword [ebp - 0x58]
push ecx
mov edx, dword [ebp - 0x5c]
push edx
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x44c95a
push 0x24000006
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x44cb70
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x54]
mov dword [edx], eax
mov ecx, dword [ebp - 0x50]
mov dword [edx + 4], ecx
mov ecx, dword [ebp + 0xc]
call fcn.00405070
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x60], 0
mov byte [ebp - 0x48], 0
mov edx, 1
test edx, edx
je 0x44cb70
mov dword [ebp - 0x64], 0
jmp 0x44c9a1
mov eax, dword [ebp - 0x64]
add eax, 1
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x10], 0
jne 0x44c9cd
mov ecx, dword [ebp - 0x64]
cmp ecx, dword [ebp - 0x60]
jae 0x44c9cd
mov edx, dword [ebp - 0x64]
movsx eax, byte [ebp + edx - 0x48]
cmp eax, 0xd
jne 0x44c9cb
mov ecx, dword [ebp - 0x64]
mov byte [ebp + ecx - 0x48], 0
mov dword [ebp - 0x10], 1
jmp 0x44c998
lea edx, [ebp - 0x48]
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x68]
push ecx
call fcn.00404fb0
mov dword [ebp - 0x70], eax
mov edx, dword [ebp - 0x70]
mov dword [ebp - 0x74], edx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x74]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00404f90
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.00401a90
cmp dword [ebp - 0x10], 0
je 0x44ca7b
mov ecx, dword [ebp - 0x64]
cmp ecx, dword [ebp - 0x60]
jae 0x44ca7b
mov edx, dword [ebp - 0x64]
movsx eax, byte [ebp + edx - 0x48]
cmp eax, 0xa
jne 0x44ca2d
mov ecx, dword [ebp - 0x64]
add ecx, 1
mov dword [ebp - 0x64], ecx
mov edx, dword [ebp - 0x64]
xor eax, eax
add edx, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x50]
adc ecx, eax
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x58], ecx
push 0
lea edx, [ebp - 0x54]
push edx
mov eax, dword [ebp - 0x58]
push eax
mov ecx, dword [ebp - 0x5c]
push ecx
mov edx, dword [ebp - 0x6c]
mov eax, dword [edx + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x44ca71
push 0x24000006
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x44cb70
mov eax, 1
jmp 0x44cb70
mov ecx, dword [ebp - 0x64]
xor edx, edx
add ecx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x50]
adc eax, edx
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x58], eax
push 0
lea ecx, [ebp - 0x54]
push ecx
mov edx, dword [ebp - 0x58]
push edx
mov eax, dword [ebp - 0x5c]
push eax
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ecx + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x44cabf
push 0x24000006
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x44cb70
push 0
lea eax, [ebp - 0x60]
push eax
push 0x30
lea ecx, [ebp - 0x48]
push ecx
mov edx, dword [ebp - 0x6c]
mov eax, dword [edx + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x44caee
push 0x24000006
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x44cb70
mov ecx, dword [ebp - 0x60]
mov byte [ebp + ecx - 0x48], 0
cmp dword [ebp - 0x10], 0
je 0x44cb59
cmp dword [ebp - 0x60], 0
jne 0x44cb09
mov eax, 1
jmp 0x44cb70
movsx edx, byte [ebp - 0x48]
xor eax, eax
cmp edx, 0xa
sete al
cdq
add eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x50]
adc ecx, edx
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], ecx
push 0
lea edx, [ebp - 0x54]
push edx
mov eax, dword [ebp - 0x58]
push eax
mov ecx, dword [ebp - 0x5c]
push ecx
mov edx, dword [ebp - 0x6c]
mov eax, dword [edx + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x44cb52
push 0x24000006
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x44cb70
mov eax, 1
jmp 0x44cb70
cmp dword [ebp - 0x60], 0
jne 0x44cb6b
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x44cb70
jmp 0x44c982
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00427b2d
mov esp, ebp
pop ebp
ret 8