Function at 0x44e4f0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x49a387
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xe0
mov eax, dword [0x4d757c]
xor eax, esp
push ebp
push edi
mov edi, ecx
mov ecx, dword [edi]
mov dword [esp + 0xe4], eax
mov eax, dword [edi + 4]
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0x1c], edi
jg 0x44e539
jl 0x44e532
cmp ecx, ebp
ja 0x44e539
xor eax, eax
jmp 0x44e7d6
cmp eax, 2
jl 0x44e548
jg 0x44e54d
cmp ecx, 0x540be400
jae 0x44e54d
cmp dword [edi + 8], ebp
je 0x44e557
mov eax, 1
jmp 0x44e7d6
push esi
push eax
push ecx
lea eax, [esp + 0x18]
push eax
mov ecx, edi
mov dword [esp + 0x18], ebp
call fcn.0044e0d0
mov ecx, dword [esp + 0x10]
push 0x4ae6f8
push ecx
mov dword [esp + 0xfc], ebp
call dword [sym.imp.MSVCR71.dll__wfopen]
mov esi, eax
add esp, 8
cmp esi, ebp
mov dword [esp + 0x1c], esi
jne 0x44e59f
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
xor eax, eax
jmp 0x44e7d5
push ebx
lea ecx, [esp + 0x4c]
call fcn.004057b0
xor edx, edx
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], edx
lea ecx, [esp + 0x6c]
mov dword [esp + 0x48], edx
call fcn.00455940
mov ebx, dword [sym.imp.MSVCR71.dll_fread]
push esi
push 0x20
lea eax, [esp + 0x54]
push 1
push eax
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
call ebx
add esp, 0x10
cmp eax, 0x20
jne 0x44e7b5
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x50]
call fcn.004057f0
test eax, eax
je 0x44e7b5
push esi
push 0x18
lea edx, [esp + 0x3c]
push 1
push edx
call ebx
add esp, 0x10
cmp eax, 0x18
jne 0x44e7b5
lea ecx, [esp + 0x28]
call fcn.0044e180
mov esi, eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], ebp
cmp word [esp + 0x38], 0
mov byte [esp + 0xf8], 1
jbe 0x44e6ce
jmp 0x44e650
mov ebx, dword [sym.imp.MSVCR71.dll_fread]
nop
mov eax, dword [esp + 0x20]
push eax
push 0x80
lea ecx, [esp + 0x74]
push 1
push ecx
call ebx
add esp, 0x10
cmp eax, 0x80
jne 0x44e6ce
push eax
lea edx, [esp + 0x70]
push edx
mov ecx, 0x4d8288
call fcn.004015c0
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
cdq
add ecx, eax
adc ebx, edx
mov dword [esp + 0x18], ecx
mov ecx, dword [esi + 4]
mov dword [esp + 0x1c], ebx
lea eax, [esp + 0x6c]
lea ebx, [esi + 4]
push eax
push ecx
push esi
lea ecx, [esp + 0x34]
call fcn.0044e1a0
push 1
lea ecx, [esp + 0x2c]
mov esi, eax
call fcn.0044e1e0
mov dword [ebx], esi
mov edx, dword [esi + 4]
mov dword [edx], esi
movzx eax, word [esp + 0x38]
mov esi, dword [esp + 0x2c]
inc ebp
cmp ebp, eax
jl 0x44e649
mov ecx, dword [esp + 0x44]
cmp ecx, dword [esp + 0x18]
jne 0x44e6e2
mov edx, dword [esp + 0x48]
cmp edx, dword [esp + 0x1c]
je 0x44e707
mov eax, dword [esi]
cmp eax, esi
mov dword [esi], esi
mov dword [esi + 4], esi
je 0x44e7a8
mov ebx, dword [eax]
push eax
call sub.MFC71U.DLL_CNoTrackObject::operator_new
add esp, 4
cmp ebx, esi
mov eax, ebx
jne 0x44e6f1
jmp 0x44e7a8
mov ebp, dword [esi]
cmp ebp, esi
mov dword [esp + 0x10], ebp
je 0x44e784
jmp 0x44e717
mov ebp, dword [esp + 0x10]
cmp dword [edi], 0
mov ebx, dword [ebp + 8]
lea ecx, [ebp + 8]
jne 0x44e729
mov eax, dword [edi + 4]
test eax, eax
je 0x44e73e
mov edx, dword [edi + 0x14]
mov eax, dword [edx]
cmp eax, edx
je 0x44e73e
cmp dword [eax + 8], ebx
je 0x44e779
mov eax, dword [eax]
cmp eax, dword [edi + 0x14]
jne 0x44e732
mov eax, dword [edi + 0x14]
mov ebp, dword [eax]
add edi, 0x10
push ecx
mov ecx, dword [ebp + 4]
push ecx
push ebp
mov ecx, edi
call fcn.0044e1a0
push 1
mov ecx, edi
mov ebx, eax
call fcn.0044e1e0
mov eax, dword [esp + 0x24]
mov dword [ebp + 4], ebx
mov edx, dword [ebx + 4]
mov dword [edx], ebx
cmp dword [eax + 0x18], 0xc8
mov edi, eax
je 0x44e784
mov ebp, dword [esp + 0x10]
mov eax, dword [ebp]
cmp eax, esi
mov dword [esp + 0x10], eax
jne 0x44e713
mov eax, dword [esi]
cmp eax, esi
mov dword [esi], esi
mov dword [esp + 0x10], 1
mov dword [esi + 4], esi
je 0x44e7a8
mov ebx, dword [eax]
push eax
call sub.MFC71U.DLL_CNoTrackObject::operator_new
add esp, 4
cmp ebx, esi
mov eax, ebx
jne 0x44e797
push esi
call sub.MFC71U.DLL_CNoTrackObject::operator_new
mov esi, dword [esp + 0x24]
add esp, 4
push esi
mov dword [edi + 8], 1
call dword [sym.imp.MSVCR71.dll_fclose]
add esp, 4
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov eax, dword [esp + 0x10]
pop ebx
pop esi
mov ecx, dword [esp + 0xe8]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0xe0]
pop ebp
xor ecx, esp
call fcn.0045a4fd
add esp, 0xec
ret