Function at 0x457770
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x471d7d
mov eax, dword fs:[0]
push eax
sub esp, 0x468
mov eax, dword [0x4f8028]
xor eax, esp
mov dword [esp + 0x460], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4f8028]
xor eax, esp
push eax
lea eax, [esp + 0x47c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x48c]
mov ecx, dword [ebp]
movzx eax, word [ecx + 0x14]
mov edx, dword [ecx + eax]
cmp edx, 0xffffffff
mov edi, dword [ecx + 0x18]
mov dword [esp + 0x20], ebp
je 0x4577e8
cmp edx, 0x20
je 0x4577df
add eax, dword [ecx + eax + 4]
cmp eax, edi
mov edx, dword [ecx + eax]
jg 0x4577e8
cmp edx, 0xffffffff
jne 0x4577c8
jmp 0x4577e8
lea ebx, [ecx + eax]
xor esi, esi
cmp ebx, esi
jne 0x45784a
mov eax, 1
test byte [0x503544], al
jne 0x45781c
or dword [0x503544], eax
push 0x4732e0
mov dword [0x503520], 0x4e7bc8
mov dword [0x503524], 0xffffffff
call fcn.0046d920
add esp, 4
push 0x67
mov ecx, str.._attrlist.cpp
call fcn.004572e0
add esp, 4
push eax
mov eax, dword [0x503520]
mov ecx, dword [eax + 8]
push str._s:_Cannot_get_the_pointer_0x20_attribute.
push 0x503520
call ecx
add esp, 0xc
xor eax, eax
jmp 0x457ccb
mov eax, ebp
call fcn.00457df0
test eax, eax
je 0x45794a
movzx edi, word [ebx + 0x14]
mov eax, dword [ebx + 4]
cmp edi, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], edi
jge 0x457cc6
jmp 0x457878
mov edi, dword [esp + 0x14]
xor esi, esi
push 0x1a
call sub.MFC80U.DLL_Ordinal_762
mov ebp, eax
add esp, 4
cmp ebp, esi
mov dword [esp + 0x24], ebp
je 0x45791c
lea esi, [edi + ebx]
mov ecx, 6
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
cmp dword [ebp], 0
je 0x457cc6
mov esi, dword [esp + 0x20]
mov ecx, dword [esi + 0x20]
add esi, 0x1c
test ecx, ecx
jne 0x4578ba
xor edx, edx
jmp 0x4578c2
mov edx, dword [esi + 8]
sub edx, ecx
sar edx, 2
test ecx, ecx
je 0x4578df
mov eax, dword [esi + 0xc]
sub eax, ecx
sar eax, 2
cmp edx, eax
jae 0x4578df
mov eax, dword [esi + 8]
mov dword [eax], ebp
add eax, 4
mov dword [esi + 8], eax
jmp 0x4578ff
mov edi, dword [esi + 8]
cmp ecx, edi
jbe 0x4578ec
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
push edi
push esi
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x50]
push eax
mov eax, esi
call fcn.0041b490
movzx ecx, word [ebp + 4]
mov eax, dword [esp + 0x14]
add eax, ecx
cmp eax, dword [esp + 0x18]
mov dword [esp + 0x14], eax
jl 0x457872
jmp 0x457cc6
call fcn.004205a0
mov esi, eax
mov edi, dword [esi]
push 0x7b
mov ecx, str.._attrlist.cpp
call fcn.004572e0
mov edx, dword [edi + 8]
add esp, 4
push eax
push str._s:_No_sufficient_memory.
push esi
call edx
add esp, 0xc
xor eax, eax
jmp 0x457ccb
cmp word [ebp + 0x18], si
jne 0x457981
call fcn.004205a0
mov esi, eax
mov edi, dword [esi]
push 0x98
mov ecx, str.._attrlist.cpp
call fcn.004572e0
add esp, 4
push eax
mov eax, dword [edi + 8]
push str._s:_The_sector_per_cluster_is_0_invalid.
push esi
call eax
add esp, 0xc
xor eax, eax
jmp 0x457ccb
mov ecx, dword [ebx + 0x30]
mov edx, dword [ebx + 0x34]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], edx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
mov eax, ebx
lea ecx, [esp + 0x4c]
mov dword [esp + 0x484], esi
call fcn.00453b20
test eax, eax
jne 0x457a07
call fcn.004205a0
mov esi, eax
mov edi, dword [esi]
push 0xa4
mov ecx, str.._attrlist.cpp
call fcn.004572e0
add esp, 4
push eax
mov eax, dword [edi + 8]
push str._s:_Failed_to_initialize_DataRun.
push esi
call eax
add esp, 0xc
lea ecx, [esp + 0x4c]
push ecx
mov dword [esp + 0x488], 0xffffffff
call fcn.00453a10
xor eax, eax
jmp 0x457ccb
mov edi, dword [ebp + 8]
call fcn.0044f6e0
mov edi, eax
cmp edi, 0xffffffff
mov dword [esp + 0x14], edi
jne 0x457a60
call fcn.004205a0
mov esi, eax
mov edi, dword [esi]
push 0xab
mov ecx, str.._attrlist.cpp
call fcn.004572e0
mov edx, dword [edi + 8]
add esp, 4
push eax
push str._s:_Failed_to_open_disk.
push esi
call edx
add esp, 0xc
lea eax, [esp + 0x4c]
push eax
mov dword [esp + 0x488], 0xffffffff
call fcn.00453a10
xor eax, eax
jmp 0x457ccb
push 0x3ff
lea ecx, [esp + 0x79]
push esi
push ecx
mov byte [esp + 0x80], 0
call sub.ntdll.dll_memset
add esp, 0xc
lea eax, [esp + 0x4c]
mov dword [esp + 0x34], esi
xor ebp, ebp
call fcn.00453c20
cmp eax, esi
mov dword [esp + 0x70], eax
mov dword [esp + 0x38], esi
jbe 0x457caa
mov edi, dword [esp + 0x38]
lea esi, [esp + 0x4c]
call fcn.00453c80
mov edx, dword [esp + 0x20]
mov esi, eax
movzx eax, word [edx + 0x18]
mov ecx, dword [esi + 4]
push ecx
mov ecx, dword [esi]
cdq
push ecx
push edx
push eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], edx
call sub.ntdll.dll__allmul
mov ecx, dword [esi + 0x14]
mov edi, eax
mov eax, dword [esp + 0x20]
add edi, dword [eax + 0x10]
mov ebx, edx
mov edx, dword [esp + 0x68]
adc ebx, dword [eax + 0x14]
mov eax, dword [esp + 0x64]
push edx
mov edx, dword [esi + 0x10]
push eax
push ecx
push edx
call sub.ntdll.dll__allmul
mov esi, eax
shl esi, 9
push esi
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edx
mov dword [esp + 0x28], esi
call sub.MFC80U.DLL_Ordinal_265
add esp, 4
test eax, eax
mov dword [esp + 0x1c], eax
je 0x457cf5
push esi
push 0
push eax
call sub.ntdll.dll_memset
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
add esp, 0xc
push eax
push ecx
push ebx
mov ebx, dword [esp + 0x28]
push edi
mov edi, dword [esp + 0x24]
push ebx
call fcn.00457410
add esp, 0x14
test eax, eax
je 0x457d43
mov eax, dword [esp + 0x34]
xor ebx, ebx
test eax, eax
mov dword [esp + 0x28], ebx
jbe 0x457bbb
test ebp, ebp
jbe 0x457bbb
mov edx, dword [esp + 0x1c]
push ebp
push edx
lea eax, [esp + eax + 0x7c]
push eax
call sub.ntdll.dll_memcpy
add esp, 0xc
push 0x1a
mov dword [esp + 0x2c], ebp
call sub.MFC80U.DLL_Ordinal_762
mov edi, eax
mov ecx, 6
lea esi, [esp + 0x78]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov esi, dword [esp + 0x24]
add esp, 4
add esi, 0x1c
lea ebx, [esp + 0x18]
mov dword [esp + 0x18], eax
call fcn.0041b330
push 0x400
xor ebp, ebp
lea ecx, [esp + 0x78]
push ebp
push ecx
call sub.ntdll.dll_memset
mov esi, dword [esp + 0x30]
mov ebx, dword [esp + 0x34]
add esp, 0xc
mov dword [esp + 0x34], ebp
cmp ebx, esi
jge 0x457c84
mov edx, dword [esp + 0x48]
cmp dword [esp + 0x30], edx
jg 0x457c84
jl 0x457be1
mov eax, dword [esp + 0x44]
cmp dword [esp + 0x2c], eax
jae 0x457c84
push 0x1a
call sub.MFC80U.DLL_Ordinal_762
add esp, 4
test eax, eax
mov dword [esp + 0x18], eax
je 0x457d8e
mov ecx, dword [esp + 0x1c]
movzx edx, word [ebx + ecx + 4]
lea edi, [ebx + ecx]
add edx, ebx
cmp edx, esi
mov dword [esp + 0x6c], edi
jle 0x457c3b
movzx eax, word [edi + 4]
mov ebp, eax
sub ebp, esi
add ebp, ebx
sub eax, ebp
push eax
mov dword [esp + 0x38], eax
lea eax, [esp + 0x78]
push edi
push eax
call sub.ntdll.dll_memcpy
mov ecx, dword [esp + 0x24]
add esp, 0xc
push ecx
call sub.MFC80U.DLL_Ordinal_764
add esp, 4
jmp 0x457c69
mov esi, edi
mov ecx, 6
mov edi, eax
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
cmp dword [eax], 0
je 0x457c84
mov esi, dword [esp + 0x20]
add esi, 0x1c
lea ebx, [esp + 0x18]
call fcn.0041b330
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x6c]
mov ebx, dword [esp + 0x28]
movzx eax, word [edi + 4]
add ebx, eax
cdq
add dword [esp + 0x2c], eax
mov dword [esp + 0x28], ebx
adc dword [esp + 0x30], edx
cmp ebx, esi
jl 0x457bc3
mov edx, dword [esp + 0x1c]
push edx
call sub.MFC80U.DLL_Ordinal_266
mov eax, dword [esp + 0x3c]
add eax, 1
add esp, 4
cmp eax, dword [esp + 0x70]
mov dword [esp + 0x38], eax
jb 0x457a9a
mov edi, dword [esp + 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 0x4c]
push eax
mov dword [esp + 0x488], 0xffffffff
call fcn.00453a10
mov eax, 1
mov ecx, dword [esp + 0x47c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x460]
xor ecx, esp
call fcn.0046d6fd
add esp, 0x474
ret 4
call fcn.004205a0
mov esi, eax
mov edi, dword [esi]
push 0xbc
mov ecx, str.._attrlist.cpp
call fcn.004572e0
add esp, 4
push eax
mov eax, dword [edi + 8]
push str._s:_No_sufficient_memory.
push esi
call eax
mov ecx, dword [esp + 0x20]
add esp, 0xc
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [esp + 0x4c]
push edx
mov dword [esp + 0x488], 0xffffffff
call fcn.00453a10
xor eax, eax
jmp 0x457ccb
call fcn.004205a0
mov ecx, dword [esp + 0x40]
push ecx
mov esi, eax
mov eax, dword [esp + 0x40]
mov ebp, dword [esi]
push eax
push ecx
push eax
push 0xc4
mov ecx, str.._attrlist.cpp
call fcn.004572e0
add esp, 4
push eax
mov eax, dword [ebp + 8]
push str._s:_Failed_to_read_sector__I64d__I64d_.
push esi
call eax
add esp, 0x1c
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call sub.MFC80U.DLL_Ordinal_266
add esp, 4
jmp 0x4579eb
call fcn.004205a0
mov esi, eax
mov edi, dword [esi]
push 0xe1
mov ecx, str.._attrlist.cpp
call fcn.004572e0
mov edx, dword [edi + 8]
add esp, 4
push eax
push str._s:_No_sufficient_memory.
push esi
call edx
mov eax, dword [esp + 0x20]
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x1c]
push ecx
call sub.MFC80U.DLL_Ordinal_266
add esp, 4
lea edx, [esp + 0x4c]
push edx
mov dword [esp + 0x488], 0xffffffff
call fcn.00453a10
xor eax, eax
jmp 0x457ccb