Function at 0x449110
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d16fa
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 [0x50b7a4]
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 0x449168
push 0
push 0
push 0
push 2
mov ecx, dword [ebp - 0x10]
call fcn.0044da80
xor al, al
jmp 0x44945a
mov ecx, dword [ebp - 0x10]
call fcn.00447420
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.0044b560
mov dword [ebp - 0x14], 0
push 2
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.0045b890
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
call fcn.0045b4d0
add esp, 4
mov dword [ebp - 0x14], eax
push 0
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.0045b890
add esp, 0xc
cmp dword [ebp - 0x14], 0
jg 0x4491ce
push 0
push 0
push 0
push 0xd
mov ecx, dword [ebp - 0x10]
call fcn.0044da80
xor al, al
jmp 0x44945a
lea ecx, [ebp - 0x1c]
call fcn.0044b4d0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0044f530
mov ecx, dword [ebp - 0x14]
add ecx, 1
push ecx
call fcn.00453220
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.0045b470
add esp, 0x10
cmp eax, 1
je 0x44925f
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x34]
push edx
call fcn.00453130
add esp, 4
push 0
push 0
push 0
push 2
mov ecx, dword [ebp - 0x10]
call fcn.0044da80
mov byte [ebp - 0x35], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00401fa0
mov al, byte [ebp - 0x35]
jmp 0x44945a
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 0x4493b1
mov edx, dword [ebp - 0x24]
add edx, dword [ebp - 0x14]
cmp dword [ebp - 0x2c], edx
jb 0x4492a4
push 0x41c
push 0x4e62bc
push 0x4e62d8
call fcn.004587d0
add esp, 0xc
mov ecx, dword [ebp - 0x2c]
movsx edx, byte [ecx]
cmp edx, 0xa
jne 0x4492fb
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.0044f740
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 0x4492f6
push 0x423
push 0x4e62fc
push 0x4e6318
call fcn.004587d0
add esp, 0xc
jmp 0x4493ac
mov eax, dword [ebp - 0x2c]
movsx ecx, byte [eax]
cmp ecx, 0xd
jne 0x4493a3
mov edx, dword [ebp - 0x2c]
sub edx, dword [ebp - 0x28]
test edx, edx
jle 0x449327
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.0044f740
push 0xa
lea ecx, [ebp - 0x1c]
call fcn.0044b430
mov edx, dword [ebp - 0x2c]
movsx eax, byte [edx + 1]
cmp eax, 0xa
jne 0x449370
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 0x44936e
push 0x431
push 0x4e633c
push 0x4e6358
call fcn.004587d0
add esp, 0xc
jmp 0x4493a1
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 0x4493a1
push 0x437
push 0x4e637c
push str.p____buflength_
call fcn.004587d0
add esp, 0xc
jmp 0x4493ac
mov eax, dword [ebp - 0x2c]
add eax, 1
mov dword [ebp - 0x2c], eax
jmp 0x449274
mov ecx, dword [ebp - 0x2c]
sub ecx, dword [ebp - 0x28]
je 0x4493cc
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.0044f740
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x3c]
push edx
call fcn.00453130
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.00452f80
mov ecx, dword [ebp - 0x10]
call fcn.0044bd00
movzx ecx, al
test ecx, ecx
je 0x449433
mov byte [ebp - 0x3d], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00401fa0
mov al, byte [ebp - 0x3d]
jmp 0x44945a
mov byte [ebp - 0x3e], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00401fa0
mov al, byte [ebp - 0x3e]
jmp 0x44945a
push edx
mov ecx, ebp
push eax
lea edx, [0x449488]
call fcn.00452fb0
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.00452f80
mov esp, ebp
pop ebp
ret 8