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

Disassembly:
sub esp, 0x24
push ebx
push ebp
mov ebp, dword [esp + 0x34]
push esi
push edi
mov edi, dword [ebp]
mov ebx, eax
call fcn.0044f6e0
cmp eax, 0xffffffff
mov dword [esp + 0x3c], eax
jne 0x4529c3
test byte [0x503544], 1
jne 0x45298a
or dword [0x503544], 1
push 0x4732e0
mov dword [0x503520], 0x4e7bc8
mov dword [0x503524], eax
call fcn.0046d920
add esp, 4
mov esi, dword [0x503520]
push 0x512
mov ecx, str.._ntfsfmt.cpp
add esi, 8
call fcn.0044f610
add esp, 4
push eax
mov eax, dword [esi]
push str._s:_Failed_to_open_disk.
push 0x503520
call eax
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 8
movzx eax, word [ebp + 0xa0]
mov ecx, dword [ebx + 0x34]
cdq
push edx
push eax
mov dword [esp + 0x38], edx
mov edx, dword [ebx + 0x30]
push ecx
push edx
mov dword [esp + 0x30], 0
mov dword [esp + 0x3c], eax
call sub.ntdll.dll__allmul
mov ecx, dword [esp + 0x2c]
mov edi, eax
mov eax, dword [esp + 0x30]
push eax
mov eax, dword [ebx + 0x38]
mov esi, edx
mov edx, dword [ebx + 0x3c]
push ecx
push edx
push eax
call sub.ntdll.dll__allmul
add edi, dword [ebp + 8]
mov ecx, dword [esp + 0x38]
adc esi, dword [ebp + 0xc]
push edx
mov edx, dword [ecx + 4]
push eax
push esi
push edi
mov edi, dword [esp + 0x4c]
push edx
call fcn.0044f970
add esp, 0x14
test eax, eax
jne 0x452a8a
test byte [0x503544], 1
jne 0x452a58
or dword [0x503544], 1
push 0x4732e0
mov dword [0x503520], 0x4e7bc8
mov dword [0x503524], 0xffffffff
call fcn.0046d920
add esp, 4
mov esi, dword [0x503520]
push 0x523
mov ecx, str.._ntfsfmt.cpp
add esi, 8
call fcn.0044f610
add esp, 4
push eax
mov eax, dword [esi]
push str._s:_Failed_to_write__MFTMirrData.
push 0x503520
call eax
add esp, 0xc
jmp 0x4531bd
movzx eax, word [ebp + 0xa0]
mov ecx, dword [ebx + 0x4c]
cdq
mov edi, edx
mov edx, dword [ebx + 0x48]
push edi
mov esi, eax
push esi
push ecx
push edx
call sub.ntdll.dll__allmul
mov ecx, dword [ebx + 0x50]
push edi
mov dword [esp + 0x30], eax
mov eax, dword [ebx + 0x54]
push esi
push eax
push ecx
mov dword [esp + 0x40], edx
call sub.ntdll.dll__allmul
push 0
push 0x2000
mov edi, edx
mov esi, eax
push edi
push esi
call sub.ntdll.dll__alldiv
push 0
push 0x2000
push edi
push esi
mov dword [esp + 0x20], eax
call sub.ntdll.dll__allrem
push 0x400000
mov dword [esp + 0x28], eax
call sub.MFC80U.DLL_Ordinal_762
mov esi, eax
xor edi, edi
add esp, 4
cmp esi, edi
jne 0x452b5c
test byte [0x503544], 1
jne 0x452b2a
or dword [0x503544], 1
push 0x4732e0
mov dword [0x503520], 0x4e7bc8
mov dword [0x503524], 0xffffffff
call fcn.0046d920
add esp, 4
mov esi, dword [0x503520]
push 0x535
mov ecx, str.._ntfsfmt.cpp
add esi, 8
call fcn.0044f610
mov edx, dword [esi]
add esp, 4
push eax
push str._s:_Failed_to_write__Logfile_because_of_no_sufficient_memory.
push 0x503520
call edx
add esp, 0xc
jmp 0x4531bd
push 0x400000
push 0xff
push esi
call sub.ntdll.dll_memset
add esp, 0xc
cmp dword [esp + 0x10], edi
mov dword [esp + 0x14], edi
jle 0x452bc7
mov dword [esp + 0x38], edi
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x3c]
cdq
add eax, dword [esp + 0x2c]
push 0
adc edx, dword [esp + 0x34]
add eax, dword [ebp + 8]
push 0x2000
adc edx, dword [ebp + 0xc]
push edx
push eax
push esi
call fcn.0044f970
add esp, 0x14
test eax, eax
je 0x452c6b
mov eax, dword [esp + 0x14]
add dword [esp + 0x38], 0x2000
add eax, 1
cmp eax, dword [esp + 0x10]
mov dword [esp + 0x14], eax
jl 0x452b7d
mov eax, dword [esp + 0x10]
shl eax, 0xd
cdq
mov ecx, eax
add ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
mov edi, edx
adc edi, dword [esp + 0x30]
add ecx, dword [ebp + 8]
cdq
adc edi, dword [ebp + 0xc]
push edx
push eax
push edi
mov edi, dword [esp + 0x48]
push ecx
push esi
call fcn.0044f970
add esp, 0x14
test eax, eax
push esi
jne 0x452cd7
call sub.MFC80U.DLL_Ordinal_764
add esp, 4
test byte [0x503544], 1
jne 0x452c39
or dword [0x503544], 1
push 0x4732e0
mov dword [0x503520], 0x4e7bc8
mov dword [0x503524], 0xffffffff
call fcn.0046d920
add esp, 4
mov esi, dword [0x503520]
push 0x552
mov ecx, str.._ntfsfmt.cpp
add esi, 8
call fcn.0044f610
mov ecx, dword [esi]
add esp, 4
push eax
push str._s:_Failed_to_write___LogFileData.
push 0x503520
call ecx
add esp, 0xc
jmp 0x4531bd
push esi
call sub.MFC80U.DLL_Ordinal_764
add esp, 4
test byte [0x503544], 1
jne 0x452ca5
or dword [0x503544], 1
push 0x4732e0
mov dword [0x503520], 0x4e7bc8
mov dword [0x503524], 0xffffffff
call fcn.0046d920
add esp, 4
mov esi, dword [0x503520]
push 0x54a
mov ecx, str.._ntfsfmt.cpp
add esi, 8
call fcn.0044f610
add esp, 4
push eax
mov eax, dword [esi]
push str._s:_Failed_to_write___LogFileData.
push 0x503520
call eax
add esp, 0xc
jmp 0x4531bd
call sub.MFC80U.DLL_Ordinal_764
movzx eax, word [ebp + 0xa0]
cdq
add esp, 4
mov edi, edx
mov edx, dword [ebx + 0x64]
push edi
mov esi, eax
mov eax, dword [ebx + 0x60]
push esi
push edx
push eax
call sub.ntdll.dll__allmul
mov ecx, dword [ebx + 0x6c]
push edi
push esi
mov dword [esp + 0x38], edx
mov edx, dword [ebx + 0x68]
push ecx
push edx
mov dword [esp + 0x3c], eax
call sub.ntdll.dll__allmul
mov esi, eax
shl esi, 9
push esi
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
call sub.MFC80U.DLL_Ordinal_762
mov edi, eax
add esp, 4
test edi, edi
mov dword [esp + 0x38], edi
jne 0x452d94
test byte [0x503544], 1
jne 0x452d62
or dword [0x503544], 1
push 0x4732e0
mov dword [0x503520], 0x4e7bc8
mov dword [0x503524], 0xffffffff
call fcn.0046d920
add esp, 4
mov esi, dword [0x503520]
push 0x561
mov ecx, str.._ntfsfmt.cpp
add esi, 8
call fcn.0044f610
add esp, 4
push eax
mov eax, dword [esi]
push str._s:_Failed_to_write__AttrDefData_because_of_no_sufficient_memory.
push 0x503520
call eax
add esp, 0xc
jmp 0x4531bd
push esi
push 0
push edi
call sub.ntdll.dll_memset
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x30]
add esp, 0xc
mov ecx, 0x280
mov esi, str._STANDARD_INFORMATION
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x28]
add eax, dword [ebp + 8]
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x34]
adc ecx, dword [ebp + 0xc]
push edx
push ecx
push eax
push esi
call fcn.0044f970
add esp, 0x14
test eax, eax
jne 0x452e44
test byte [0x503544], 1
jne 0x452e0c
or dword [0x503544], 1
push 0x4732e0
mov dword [0x503520], 0x4e7bc8
mov dword [0x503524], 0xffffffff
call fcn.0046d920
add esp, 4
mov edi, dword [0x503520]
push 0x56a
mov ecx, str.._ntfsfmt.cpp
add edi, 8
call fcn.0044f610
add esp, 4
push eax
mov eax, dword [edi]
push str._s:_Failed_to_write__AttrDefData.
push 0x503520
call eax
add esp, 0xc
push esi
call sub.MFC80U.DLL_Ordinal_764
jmp 0x4531ba
push esi
call sub.MFC80U.DLL_Ordinal_764
movzx eax, word [ebp + 0xa0]
mov ecx, dword [ebx + 0x7c]
cdq
add esp, 4
mov edi, edx
mov edx, dword [ebx + 0x78]
push edi
mov esi, eax
push esi
push ecx
push edx
call sub.ntdll.dll__allmul
mov ecx, dword [ebx + 0x80]
push edi
mov dword [esp + 0x30], eax
mov eax, dword [ebx + 0x84]
push esi
push eax
push ecx
mov dword [esp + 0x40], edx
call sub.ntdll.dll__allmul
mov edi, eax
shl edi, 9
push edi
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
call sub.MFC80U.DLL_Ordinal_762
mov esi, eax
add esp, 4
test esi, esi
jne 0x452f04
test byte [0x503544], 1
jne 0x452ed2
or dword [0x503544], 1
push 0x4732e0
mov dword [0x503520], 0x4e7bc8
mov dword [0x503524], 0xffffffff
call fcn.0046d920
add esp, 4
mov esi, dword [0x503520]
push 0x57b
mov ecx, str.._ntfsfmt.cpp
add esi, 8
call fcn.0044f610
mov edx, dword [esi]
add esp, 4
push eax
push str._s:_Failed_to_write__RootSDData_because_of_no_sufficient_memory.
push 0x503520
call edx
add esp, 0xc
jmp 0x4531bd
push edi
push 0
push esi
call sub.ntdll.dll_memset
add esp, 0xc
push 0x1030
push 0x4e30b8
push esi
call sub.ntdll.dll_memcpy
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov edi, dword [esp + 0x48]
add esp, 0xc
push eax
mov eax, dword [esp + 0x30]
add eax, dword [ebp + 8]
push ecx
mov ecx, dword [esp + 0x38]
adc ecx, dword [ebp + 0xc]
push ecx
push eax
push esi
call fcn.0044f970
add esp, 0x14
test eax, eax
jne 0x452f85
call fcn.004205a0
mov ebx, eax
mov edi, dword [ebx]
push 0x584
mov ecx, str.._ntfsfmt.cpp
add edi, 8
call fcn.0044f610
mov edx, dword [edi]
add esp, 4
push eax
push str._s:_Failed_to_write__RootSDData.
push ebx
call edx
add esp, 0xc
push esi
call sub.MFC80U.DLL_Ordinal_764
jmp 0x4531ba
push esi
call sub.MFC80U.DLL_Ordinal_764
movzx eax, word [ebp + 0xa0]
mov ecx, dword [ebx + 0xd8]
cdq
add esp, 4
mov edi, edx
push edi
mov esi, eax
mov eax, dword [ebx + 0xdc]
push esi
push eax
push ecx
call sub.ntdll.dll__allmul
push edi
mov dword [esp + 0x34], edx
mov edx, dword [ebx + 0xe4]
push esi
mov dword [esp + 0x34], eax
mov eax, dword [ebx + 0xe0]
push edx
push eax
call sub.ntdll.dll__allmul
mov edi, eax
shl edi, 9
push edi
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
call sub.MFC80U.DLL_Ordinal_762
mov esi, eax
add esp, 4
test esi, esi
jne 0x453019
call fcn.004205a0
mov edi, eax
mov esi, dword [edi]
push 0x596
mov ecx, str.._ntfsfmt.cpp
add esi, 8
call fcn.0044f610
mov ecx, dword [esi]
add esp, 4
push eax
push str._s:_Failed_to_write__SecureSDSData_because_of_no_sufficient_memory.
push edi
call ecx
add esp, 0xc
jmp 0x4531bd
push edi
push 0
push esi
call sub.ntdll.dll_memset
add esp, 0xc
push 0x400fc
push 0x47a9b8
push esi
call sub.ntdll.dll_memcpy
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x3c]
mov edi, dword [esp + 0x48]
add esp, 0xc
push edx
push eax
mov eax, dword [esp + 0x34]
add eax, dword [ebp + 8]
adc ecx, dword [ebp + 0xc]
push ecx
push eax
push esi
call fcn.0044f970
add esp, 0x14
test eax, eax
jne 0x45309a
call fcn.004205a0
mov ebx, eax
mov edi, dword [ebx]
push 0x5a0
mov ecx, str.._ntfsfmt.cpp
add edi, 8
call fcn.0044f610
mov ecx, dword [edi]
add esp, 4
push eax
push str._s:_Failed_to_write__SecureSDSData.
push ebx
call ecx
add esp, 0xc
push esi
call sub.MFC80U.DLL_Ordinal_764
jmp 0x4531ba
push esi
call sub.MFC80U.DLL_Ordinal_764
movzx eax, word [ebp + 0xa0]
cdq
add esp, 4
push edx
mov esi, eax
mov eax, dword [ebx + 0xf0]
mov dword [esp + 0x1c], edx
mov edx, dword [ebx + 0xf4]
push esi
push edx
push eax
call sub.ntdll.dll__allmul
mov ecx, dword [esp + 0x18]
push ecx
mov dword [esp + 0x34], edx
mov edx, dword [ebx + 0xfc]
push esi
mov edi, eax
mov eax, dword [ebx + 0xf8]
push edx
push eax
call sub.ntdll.dll__allmul
mov ebx, eax
shl ebx, 9
push ebx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
call sub.MFC80U.DLL_Ordinal_762
mov esi, eax
add esp, 4
test esi, esi
jne 0x453132
call fcn.004205a0
mov edi, eax
mov esi, dword [edi]
push 0x5b1
mov ecx, str.._ntfsfmt.cpp
add esi, 8
call fcn.0044f610
mov ecx, dword [esi]
add esp, 4
push eax
push str._s:_Failed_to_write__UpcaseData_because_of_no_sufficient_memory.
push edi
call ecx
add esp, 0xc
jmp 0x4531bd
push ebx
push 0
push esi
call sub.ntdll.dll_memset
add esp, 0xc
push 0x20000
push 0x4c20b8
push esi
call sub.ntdll.dll_memcpy
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
add esp, 0xc
add edi, dword [ebp + 8]
push edx
push eax
mov eax, dword [esp + 0x38]
adc eax, dword [ebp + 0xc]
push eax
push edi
mov edi, dword [esp + 0x4c]
push esi
call fcn.0044f970
add esp, 0x14
test eax, eax
jne 0x4531ac
call fcn.004205a0
mov ebx, eax
mov edi, dword [ebx]
push 0x5ba
mov ecx, str.._ntfsfmt.cpp
add edi, 8
call fcn.0044f610
mov ecx, dword [edi]
add esp, 4
push eax
push str._s:_Failed_to_write__UpcaseData.
push ebx
call ecx
add esp, 0xc
push esi
call sub.MFC80U.DLL_Ordinal_764
jmp 0x4531ba
push esi
call sub.MFC80U.DLL_Ordinal_764
mov dword [esp + 0x24], 1
add esp, 4
mov edx, dword [esp + 0x3c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 8