Function at 0x44a510
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, eax
mov eax, dword [esi]
push edi
push eax
mov eax, esi
mov dword [ebp - 4], 0
call fcn.00449680
mov edi, dword [edi]
add edi, 0x10
add esp, 8
cmp byte [edi], 0x3f
jne 0x44a545
inc edi
mov dword [ebp - 4], 1
mov ecx, dword [esi + 0x34]
mov eax, edi
call fcn.00422b50
push 0x49c948
push ecx
mov ecx, dword [esi + 0x34]
push 0xffffffffffffffff
push ecx
call fcn.004207a0
add esp, 0xc
push eax
call fcn.00473eb4
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x44a5f7
cmp byte [edi], 0x7e
jne 0x44a5bb
mov edx, dword [ebp + 8]
mov eax, dword [edx]
cmp dword [eax + 0xc], 1
jbe 0x44a5bb
mov eax, dword [esi + 0x34]
add dword [eax + 8], 0xfffffff0
mov ecx, dword [esi + 0x34]
lea eax, [edi + 1]
call fcn.00422b50
push 0x49c948
push ecx
mov ecx, dword [esi + 0x34]
push 0xffffffffffffffff
push ecx
call fcn.004207a0
add esp, 0xc
push eax
call fcn.00473eb4
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x44a5f7
mov eax, dword [esi + 0x34]
add dword [eax + 8], 0xfffffff0
cmp dword [ebp - 4], 0
je 0x44a5dd
mov edx, dword [ebp + 8]
mov dword [edx], 0
mov eax, 0x110
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push str.Cannot_include_file:
add ecx, 0x10
mov edi, 0x24
call fcn.004485a0
add esp, 4
mov eax, dword [esi + 0x34]
add dword [eax + 8], 0xfffffff0
mov ecx, dword [esi + 0x3c]
mov dword [ecx + 4], 0
mov eax, dword [esi + 0x3c]
mov edx, dword [eax + 8]
mov eax, dword [eax]
mov ecx, dword [esi + 0x34]
push 0x400
push edx
push eax
push ecx
call fcn.00433200
mov edx, dword [esi + 0x3c]
mov dword [edx], eax
mov eax, dword [esi + 0x3c]
mov dword [eax + 8], 0x400
mov edi, dword [esi + 0x3c]
mov ecx, dword [edi]
add ecx, dword [edi + 4]
push ebx
push 0x400
push 1
push ecx
call fcn.0047413b
add esp, 0x20
test eax, eax
je 0x44a6ca
add dword [edi + 4], eax
mov ecx, dword [edi + 4]
mov eax, dword [edi + 8]
add ecx, 0x400
cmp ecx, eax
jbe 0x44a6b0
add eax, eax
mov dword [ebp - 4], eax
cmp eax, 0x7ffffffe
jb 0x44a67e
push 0
push str.lexical_element_too_long
push esi
call fcn.00448630
mov eax, dword [ebp - 4]
add esp, 0xc
lea edx, [eax + 1]
cmp edx, 0xfffffffd
ja 0x44a69c
mov ecx, dword [edi]
mov edx, dword [esi + 0x34]
push eax
mov eax, dword [edi + 8]
push eax
push ecx
push edx
call fcn.00433200
add esp, 0x10
jmp 0x44a6a8
mov eax, dword [esi + 0x34]
push eax
call fcn.004331e0
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [edi], eax
mov dword [edi + 8], ecx
mov edx, dword [edi]
add edx, dword [edi + 4]
push ebx
push 0x400
push 1
push edx
call fcn.0047413b
add esp, 0x10
test eax, eax
jne 0x44a64c
push ebx
call fcn.004711a9
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
mov edi, dword [esi + 0x34]
add esp, 4
push ecx
push eax
push edi
call fcn.00447850
mov esi, dword [esi + 0x30]
add esp, 0xc
mov ebx, eax
test esi, esi
je 0x44a725
mov esi, dword [esi + 4]
push edi
mov edx, ebx
call fcn.00435ea0
add esp, 4
cmp dword [eax + 8], 0
jne 0x44a725
mov dword [eax], 1
mov dword [eax + 8], 1
mov eax, dword [edi + 0x10]
mov ecx, dword [eax + 0x48]
cmp ecx, dword [eax + 0x44]
jb 0x44a725
mov eax, edi
call fcn.00437b50
mov edx, dword [ebp + 8]
pop edi
mov byte [ebx + 7], 0
pop esi
mov dword [edx], ebx
mov eax, 0x133
pop ebx
mov esp, ebp
pop ebp
ret