Function at 0x4491f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d188a
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push esi
push edi
push ecx
lea edi, [ebp - 0x40]
mov ecx, 0xd
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x50a8b4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
cmp dword [ebp + 8], 0
jne 0x449248
push 0
push 0
push 0
push 2
mov ecx, dword [ebp - 0x10]
call fcn.0044db60
xor al, al
jmp 0x44953a
mov ecx, dword [ebp - 0x10]
call fcn.00447500
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.0044b640
mov dword [ebp - 0x14], 0
push 2
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.0045b960
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
call fcn.0045b5a0
add esp, 4
mov dword [ebp - 0x14], eax
push 0
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.0045b960
add esp, 0xc
cmp dword [ebp - 0x14], 0
jg 0x4492ae
push 0
push 0
push 0
push 0xd
mov ecx, dword [ebp - 0x10]
call fcn.0044db60
xor al, al
jmp 0x44953a
lea ecx, [ebp - 0x1c]
call fcn.0044b5b0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0044f610
mov ecx, dword [ebp - 0x14]
add ecx, 1
push ecx
call fcn.004532f0
add esp, 4
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
mov byte [eax], 0
mov ecx, dword [ebp + 8]
push ecx
push 1
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x24]
push eax
call fcn.0045b540
add esp, 0x10
cmp eax, 1
je 0x44933f
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x34]
push edx
call fcn.00453200
add esp, 4
push 0
push 0
push 0
push 2
mov ecx, dword [ebp - 0x10]
call fcn.0044db60
mov byte [ebp - 0x35], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00401fa0
mov al, byte [ebp - 0x35]
jmp 0x44953a
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x24]
add edx, dword [ebp - 0x14]
mov byte [edx], 0
mov eax, dword [ebp - 0x2c]
movsx ecx, byte [eax]
test ecx, ecx
je 0x449491
mov edx, dword [ebp - 0x24]
add edx, dword [ebp - 0x14]
cmp dword [ebp - 0x2c], edx
jb 0x449384
push 0x41c
push 0x4e62ac
push 0x4e62c8
call fcn.004588a0
add esp, 0xc
mov ecx, dword [ebp - 0x2c]
movsx edx, byte [ecx]
cmp edx, 0xa
jne 0x4493db
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x28]
add eax, 1
push eax
mov ecx, dword [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.0044f820
mov edx, dword [ebp - 0x2c]
add edx, 1
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x14]
cmp dword [ebp - 0x2c], ecx
jbe 0x4493d6
push 0x423
push 0x4e62ec
push 0x4e6308
call fcn.004588a0
add esp, 0xc
jmp 0x44948c
mov eax, dword [ebp - 0x2c]
movsx ecx, byte [eax]
cmp ecx, 0xd
jne 0x449483
mov edx, dword [ebp - 0x2c]
sub edx, dword [ebp - 0x28]
test edx, edx
jle 0x449407
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.0044f820
push 0xa
lea ecx, [ebp - 0x1c]
call fcn.0044b510
mov edx, dword [ebp - 0x2c]
movsx eax, byte [edx + 1]
cmp eax, 0xa
jne 0x449450
mov ecx, dword [ebp - 0x2c]
add ecx, 2
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x14]
cmp dword [ebp - 0x2c], eax
jbe 0x44944e
push 0x431
push 0x4e632c
push 0x4e6348
call fcn.004588a0
add esp, 0xc
jmp 0x449481
mov edx, dword [ebp - 0x2c]
add edx, 1
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x14]
cmp dword [ebp - 0x2c], ecx
jbe 0x449481
push 0x437
push 0x4e636c
push str.p____buflength_
call fcn.004588a0
add esp, 0xc
jmp 0x44948c
mov eax, dword [ebp - 0x2c]
add eax, 1
mov dword [ebp - 0x2c], eax
jmp 0x449354
mov ecx, dword [ebp - 0x2c]
sub ecx, dword [ebp - 0x28]
je 0x4494ac
mov edx, dword [ebp - 0x2c]
sub edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x28]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0044f820
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x3c]
push edx
call fcn.00453200
add esp, 4
mov dword [ebp - 0x24], 0
mov esi, esp
mov eax, dword [ebp + 0xc]
push eax
push 0
lea ecx, [ebp - 0x1c]
call fcn.004011cc
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x10]
mov eax, dword [edx + 8]
call eax
cmp esi, esp
call fcn.00453050
mov ecx, dword [ebp - 0x10]
call fcn.0044bde0
movzx ecx, al
test ecx, ecx
je 0x449513
mov byte [ebp - 0x3d], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00401fa0
mov al, byte [ebp - 0x3d]
jmp 0x44953a
mov byte [ebp - 0x3e], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00401fa0
mov al, byte [ebp - 0x3e]
jmp 0x44953a
push edx
mov ecx, ebp
push eax
lea edx, [0x449568]
call fcn.00453080
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x40
cmp ebp, esp
call fcn.00453050
mov esp, ebp
pop ebp
ret 8