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

Disassembly:
push 0xffffffffffffffff
push 0x466710
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e9028]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov ebx, ecx
mov ebp, dword [esp + 0x68]
movzx eax, word [ebp + 0xa0]
mov ecx, dword [ebx + 0xa8]
cdq
mov edi, edx
push edi
mov esi, eax
mov eax, dword [ebx + 0xac]
push esi
push eax
push ecx
call sub.ntdll.dll__allmul
mov dword [esp + 0x38], edx
mov edx, dword [ebx + 0xb4]
push edx
mov dword [esp + 0x38], eax
mov eax, dword [ebx + 0xb0]
push eax
push edi
push esi
call sub.ntdll.dll__allmul
mov edi, dword [ebp]
mov esi, eax
mov dword [esp + 0x30], edx
call fcn.0042c840
mov edi, eax
cmp edi, 0xffffffff
mov dword [esp + 0x14], edi
jne 0x451374
test byte [0x4f1904], 1
jne 0x451340
or dword [0x4f1904], 1
push 0x467ae0
mov dword [0x4f18dc], 0x4dbdb8
mov dword [0x4f18e0], eax
call fcn.00462d9a
add esp, 4
mov esi, dword [0x4f18dc]
push 0x405
mov ecx, str.._ntfsfmt.cpp
add esi, 8
call fcn.0044ecc0
mov ecx, dword [esi]
add esp, 4
push eax
push str._s:_Failed_to_open_disk.
push 0x4f18dc
call ecx
add esp, 0xc
xor eax, eax
jmp 0x451bc0
mov edx, dword [esp + 0x30]
push 0
push 0x2000
push edx
push esi
call sub.ntdll.dll__alldiv
push 0
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x34]
push 0x2000
push eax
push esi
call sub.ntdll.dll__allrem
mov esi, dword [esp + 0x6c]
mov edx, dword [esi]
mov dword [esp + 0x24], eax
mov eax, dword [edx + 0x5c]
mov ecx, esi
call eax
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
mov edx, dword [esi]
mov eax, dword [edx + 0x3c]
mov ecx, esi
fdivr qword [0x4e0808]
fstp qword [esp + 0x2c]
call eax
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
fmul qword [esp + 0x2c]
call fcn.00463940
push 0x400000
mov dword [esp + 0x2c], eax
call sub.MFC80U.DLL_Ordinal_762
mov esi, eax
add esp, 4
test esi, esi
jne 0x451423
call fcn.0041e870
mov edi, eax
mov esi, dword [edi]
push 0x414
mov ecx, str.._ntfsfmt.cpp
add esi, 8
call fcn.0044ecc0
mov ecx, dword [esi]
add esp, 4
push eax
push str._s:_No_sufficient_memory.
push edi
call ecx
add esp, 0xc
xor eax, eax
jmp 0x451bc0
push 0x400000
push 0
push esi
call sub.ntdll.dll_memset
xor eax, eax
add esp, 0xc
cmp dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
jle 0x4514e0
mov dword [esp + 0x20], eax
jmp 0x451454
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
cdq
add eax, dword [ebp + 8]
push 0
adc edx, dword [ebp + 0xc]
add eax, dword [esp + 0x38]
push 0x2000
adc edx, dword [esp + 0x40]
push edx
push eax
push esi
call fcn.0044eee0
add esp, 0x14
test eax, eax
je 0x451568
fild dword [esp + 0x1c]
mov edx, dword [esp + 0x6c]
mov eax, dword [edx]
mov dword [esp + 0x2c], eax
fidiv dword [esp + 0x18]
fmul qword [0x4e0868]
fiadd dword [esp + 0x28]
call fcn.00463940
mov edi, dword [esp + 0x6c]
push eax
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 8]
mov ecx, edi
call eax
mov edx, dword [edi]
mov eax, dword [edx + 0x64]
mov ecx, edi
call eax
test eax, eax
jne 0x4515e1
mov eax, dword [esp + 0x1c]
add dword [esp + 0x20], 0x2000
add eax, 1
cmp eax, dword [esp + 0x18]
mov dword [esp + 0x1c], eax
jl 0x451450
push esi
call sub.MFC80U.DLL_Ordinal_764
mov edi, dword [esp + 0x28]
add esp, 4
shl edi, 9
push edi
call sub.MFC80U.DLL_Ordinal_762
mov esi, eax
add esp, 4
test esi, esi
jne 0x451654
test byte [0x4f1904], 1
jne 0x451534
or dword [0x4f1904], 1
push 0x467ae0
mov dword [0x4f18dc], 0x4dbdb8
mov dword [0x4f18e0], 0xffffffff
call fcn.00462d9a
add esp, 4
mov esi, dword [0x4f18dc]
push 0x439
mov ecx, str.._ntfsfmt.cpp
add esi, 8
call fcn.0044ecc0
mov edx, dword [esi]
add esp, 4
push eax
push str._s:_No_sufficient_memory.
push 0x4f18dc
call edx
add esp, 0xc
xor eax, eax
jmp 0x451bc0
test byte [0x4f1904], 1
jne 0x451599
or dword [0x4f1904], 1
push 0x467ae0
mov dword [0x4f18dc], 0x4dbdb8
mov dword [0x4f18e0], 0xffffffff
call fcn.00462d9a
add esp, 4
mov edi, dword [0x4f18dc]
push 0x420
mov ecx, str.._ntfsfmt.cpp
add edi, 8
call fcn.0044ecc0
mov ecx, dword [edi]
add esp, 4
push eax
push str._s:_Failed_to_write__BitmapData.
push 0x4f18dc
call ecx
mov edx, dword [esp + 0x20]
add esp, 0xc
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call sub.MFC80U.DLL_Ordinal_764
add esp, 4
xor eax, eax
jmp 0x451bc0
mov eax, dword [edi]
mov edx, dword [eax + 0x20]
push 0x17
mov ecx, edi
call edx
test byte [0x4f1904], 1
jne 0x45161d
or dword [0x4f1904], 1
push 0x467ae0
mov dword [0x4f18dc], 0x4dbdb8
mov dword [0x4f18e0], 0xffffffff
call fcn.00462d9a
add esp, 4
mov edi, dword [0x4f18dc]
push 0x42c
mov ecx, str.._ntfsfmt.cpp
add edi, 8
call fcn.0044ecc0
add esp, 4
push eax
mov eax, dword [edi]
push str._s:_User_cancel_operations.
push 0x4f18dc
call eax
mov ecx, dword [esp + 0x20]
add esp, 0xc
push ecx
jmp 0x4515cb
push edi
push 0
push esi
call sub.ntdll.dll_memset
mov eax, dword [esp + 0x24]
shl eax, 0xd
cdq
add esp, 0xc
mov ecx, eax
add ecx, dword [ebp + 8]
mov eax, dword [esp + 0x24]
mov edi, edx
adc edi, dword [ebp + 0xc]
add ecx, dword [esp + 0x34]
cdq
adc edi, dword [esp + 0x38]
push edx
push eax
push edi
mov edi, dword [esp + 0x20]
push ecx
push esi
call fcn.0044eee0
add esp, 0x14
test eax, eax
jne 0x4516f8
test byte [0x4f1904], 1
jne 0x4516c5
or dword [0x4f1904], 1
push 0x467ae0
mov dword [0x4f18dc], 0x4dbdb8
mov dword [0x4f18e0], 0xffffffff
call fcn.00462d9a
add esp, 4
mov ebx, dword [0x4f18dc]
push 0x441
mov ecx, str.._ntfsfmt.cpp
add ebx, 8
call fcn.0044ecc0
add esp, 4
push eax
mov eax, dword [ebx]
push str._s:_Failed_to_write__BitmapData.
push 0x4f18dc
call eax
add esp, 0xc
push edi
jmp 0x4515cb
push esi
call sub.MFC80U.DLL_Ordinal_764
mov edi, dword [ebx + 0xc8]
mov ebp, dword [ebx + 0xcc]
mov ecx, dword [ebx + 0xc0]
mov edx, dword [ebx + 0xc4]
add esp, 4
add edi, dword [ebx + 0x20]
mov dword [esp + 0x2c], ecx
adc ebp, dword [ebx + 0x24]
add edi, dword [ebx + 8]
mov esi, 0
adc ebp, dword [ebx + 0xc]
push esi
mov eax, edi
add eax, 7
mov ecx, ebp
adc ecx, esi
push 8
and eax, 0xfffffff8
push ecx
push eax
mov dword [esp + 0x40], edx
call sub.ntdll.dll__alldiv
mov ecx, eax
add ecx, 0x1ff
and ecx, 0xfffffe00
add ecx, 0x200
mov eax, ecx
cdq
and edx, 0x1ff
add eax, edx
sar eax, 9
mov dword [esp + 0x6c], eax
mov dword [esp + 0x3c], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
lea eax, [ecx*8]
cdq
push edx
mov dword [esp + 0x64], esi
push eax
lea esi, [esp + 0x44]
call fcn.00455c10
test eax, eax
jne 0x4517cc
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x60], 0xffffffff
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4515da
push eax
call sub.MFC80U.DLL_Ordinal_764
add esp, 4
xor eax, eax
jmp 0x451bc0
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
push 0
push 0x1000
push eax
push esi
call sub.ntdll.dll__allrem
push ebp
push edi
push edx
push eax
lea ecx, [esp + 0x4c]
push ecx
call fcn.00455cf0
mov edx, dword [esp + 0x30]
push 0
push 0x1000
push edx
push esi
call sub.ntdll.dll__alldiv
mov ebp, dword [esp + 0x3c]
mov edi, dword [esp + 0x14]
mov ecx, eax
mov eax, dword [esp + 0x68]
add ecx, dword [eax + 8]
mov esi, edx
adc esi, dword [eax + 0xc]
mov eax, dword [esp + 0x6c]
add ecx, dword [esp + 0x34]
cdq
adc esi, dword [esp + 0x38]
push edx
push eax
push esi
push ecx
push ebp
call fcn.0044eee0
add esp, 0x14
test eax, eax
jne 0x451889
call fcn.0041e870
mov ebx, eax
mov esi, dword [ebx]
push 0x467
mov ecx, str.._ntfsfmt.cpp
add esi, 8
call fcn.0044ecc0
add esp, 4
push eax
mov eax, dword [esi]
push str._s:_Failed_to_the_stage_1_of_the__BitmapData.
push ebx
call eax
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebp, ebp
mov dword [esp + 0x60], 0xffffffff
je 0x4515da
push ebp
call sub.MFC80U.DLL_Ordinal_764
add esp, 4
xor eax, eax
jmp 0x451bc0
test ebp, ebp
mov dword [esp + 0x60], 0xffffffff
je 0x45189e
push ebp
call sub.MFC80U.DLL_Ordinal_764
add esp, 4
mov edi, dword [ebx + 0xf8]
add edi, dword [ebx + 0xe0]
mov ebp, dword [ebx + 0xfc]
adc ebp, dword [ebx + 0xe4]
add edi, dword [ebx + 0x98]
mov ecx, dword [ebx + 0x30]
adc ebp, dword [ebx + 0x9c]
add edi, dword [ebx + 0x80]
mov edx, dword [ebx + 0x34]
adc ebp, dword [ebx + 0x84]
add edi, dword [ebx + 0x68]
mov dword [esp + 0x2c], ecx
adc ebp, dword [ebx + 0x6c]
add edi, dword [ebx + 0x50]
mov esi, 0
adc ebp, dword [ebx + 0x54]
add edi, dword [ebx + 0x38]
push esi
adc ebp, dword [ebx + 0x3c]
add edi, dword [ebx + 0xb0]
push 8
adc ebp, dword [ebx + 0xb4]
mov eax, edi
add eax, 7
mov ecx, ebp
adc ecx, esi
and eax, 0xfffffff8
push ecx
push eax
mov dword [esp + 0x40], edx
call sub.ntdll.dll__alldiv
mov ecx, eax
add ecx, 0x1ff
and ecx, 0xfffffe00
add ecx, 0x200
mov eax, ecx
cdq
and edx, 0x1ff
add eax, edx
sar eax, 9
mov dword [esp + 0x6c], eax
mov dword [esp + 0x3c], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
lea eax, [ecx*8]
cdq
push edx
push eax
lea esi, [esp + 0x44]
mov dword [esp + 0x68], 1
call fcn.00455c10
test eax, eax
je 0x45179d
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
push 0
push 0x1000
push eax
push esi
call sub.ntdll.dll__allrem
push ebp
push edi
push edx
push eax
lea ecx, [esp + 0x4c]
push ecx
call fcn.00455cf0
mov edx, dword [esp + 0x30]
push 0
push 0x1000
push edx
push esi
call sub.ntdll.dll__alldiv
mov ebp, dword [esp + 0x68]
mov edi, dword [esp + 0x14]
mov ecx, eax
add ecx, dword [ebp + 8]
mov eax, dword [esp + 0x6c]
mov esi, edx
adc esi, dword [ebp + 0xc]
add ecx, dword [esp + 0x34]
cdq
adc esi, dword [esp + 0x38]
push edx
push eax
mov eax, dword [esp + 0x44]
push esi
push ecx
push eax
call fcn.0044eee0
add esp, 0x14
test eax, eax
jne 0x451a27
call fcn.0041e870
mov ebx, eax
mov esi, dword [ebx]
push 0x492
mov ecx, str.._ntfsfmt.cpp
add esi, 8
call fcn.0044ecc0
mov ecx, dword [esi]
add esp, 4
push eax
push str._s:_Failed_to_write_the_stage_2_of_the__BitmapData.
push ebx
call ecx
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea esi, [esp + 0x3c]
mov dword [esp + 0x60], 0xffffffff
call fcn.00455bf0
xor eax, eax
jmp 0x451bc0
lea esi, [esp + 0x3c]
mov dword [esp + 0x60], 0xffffffff
call fcn.00455bf0
movzx edi, word [ebp + 0xa0]
mov ecx, dword [ebx + 0xb0]
mov esi, dword [ebx + 0xb4]
mov eax, edi
cdq
push edx
sub ecx, 1
push eax
sbb esi, 0
push esi
push ecx
call sub.ntdll.dll__allmul
add eax, dword [ebp + 8]
adc edx, dword [ebp + 0xc]
add eax, dword [esp + 0x34]
adc edx, dword [esp + 0x38]
shl edi, 9
push edi
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edx
call sub.MFC80U.DLL_Ordinal_762
mov esi, eax
add esp, 4
test esi, esi
jne 0x451ab8
call fcn.0041e870
mov edi, eax
mov esi, dword [edi]
push 0x4a2
mov ecx, str.._ntfsfmt.cpp
add esi, 8
call fcn.0044ecc0
mov edx, dword [esi]
add esp, 4
push eax
push str._s:_No_sufficient_memory.
push edi
call edx
add esp, 0xc
xor eax, eax
jmp 0x451bc0
movzx eax, word [ebp + 0xa0]
shl eax, 9
push eax
push 0
push esi
call sub.ntdll.dll_memset
movzx eax, word [ebp + 0xa0]
mov ecx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add esp, 0xc
cdq
push edx
sub ecx, 1
push eax
sbb edi, 0
push edi
push ecx
call sub.ntdll.dll__alldiv
movzx ecx, word [ebp + 0xa0]
mov ebx, dword [ebx + 0xb0]
imul ebx, ecx
shl ebx, 0xc
sub ebx, eax
mov eax, ebx
cdq
and edx, 7
shl ecx, 9
add eax, edx
sar eax, 3
mov edi, ecx
sub edi, eax
sub ecx, edi
push ecx
lea eax, [edi + esi]
push 0xff
push eax
mov dword [esp + 0x78], eax
call sub.ntdll.dll_memset
add esp, 0xc
test edi, edi
jle 0x451b4e
and ebx, 0x80000007
jns 0x451b3b
dec ebx
or ebx, 0xfffffff8
inc ebx
mov eax, dword [esp + 0x6c]
mov ecx, 8
sub ecx, ebx
or dl, 0xff
shl dl, cl
mov byte [eax - 1], dl
movzx eax, word [ebp + 0xa0]
mov ecx, dword [esp + 0x30]
mov edi, dword [esp + 0x14]
cdq
push edx
mov edx, dword [esp + 0x30]
push eax
push ecx
push edx
push esi
call fcn.0044eee0
add esp, 0x14
test eax, eax
jne 0x451bb4
call fcn.0041e870
mov ebp, eax
mov ebx, dword [ebp]
push 0x4b8
mov ecx, str.._ntfsfmt.cpp
add ebx, 8
call fcn.0044ecc0
add esp, 4
push eax
mov eax, dword [ebx]
push str._s:_Failed_to_write_the_last_cluster_of__Bitmap_data_area.
push ebp
call eax
add esp, 0xc
push esi
call sub.MFC80U.DLL_Ordinal_764
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x451bc0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret 8