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

Disassembly:
push 0xffffffffffffffff
push 0x472ada
mov eax, dword fs:[0]
push eax
sub esp, 0x478
mov eax, dword [0x4f8028]
xor eax, esp
mov dword [esp + 0x470], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4f8028]
xor eax, esp
push eax
lea eax, [esp + 0x48c]
mov dword fs:[0], eax
movzx eax, word [ecx + 0x14]
mov edx, dword [ecx + eax]
mov esi, dword [ecx + 0x18]
or ebp, 0xffffffff
cmp edx, ebp
je 0x45659e
lea esp, [esp]
cmp edx, 0x20
je 0x456596
add eax, dword [ecx + eax + 4]
cmp eax, esi
mov edx, dword [ecx + eax]
jg 0x45659e
cmp edx, ebp
jne 0x456580
jmp 0x45659e
add eax, ecx
xor ebx, ebx
cmp eax, ebx
jne 0x4565ff
test byte [0x503544], 1
jne 0x4565cb
or dword [0x503544], 1
push 0x4732e0
mov dword [0x503520], 0x4e7bc8
mov dword [0x503524], ebp
call fcn.0046d920
add esp, 4
mov esi, dword [0x503520]
push 0x151
mov ecx, str..mftdatarun.cpp
add esi, 8
call fcn.00455830
add esp, 4
push eax
mov eax, dword [esi]
push str._s:_Didnt_find_the_0x20_attribute_in__MFT.
push 0x503520
call eax
add esp, 0xc
xor eax, eax
jmp 0x456881
mov edx, dword [esp + 0x49c]
mov eax, dword [esp + 0x4a0]
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x4a4]
mov dword [esp + 0x4c], eax
mov ax, word [0x4fc2b8]
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x50], edx
mov word [esp + 0x54], ax
push ecx
mov edi, 0x400
lea eax, [esp + 0x40]
mov dword [esp + 0x498], ebx
call fcn.00457610
test eax, eax
jne 0x45669d
call fcn.004205a0
mov edi, eax
mov esi, dword [edi]
push 0x158
mov ecx, str..mftdatarun.cpp
add esi, 8
call fcn.00455830
mov ecx, dword [esi]
add esp, 4
push eax
push str._s:_Failed_to_initialize_AttrList.
push edi
call ecx
add esp, 0xc
lea edx, [esp + 0x3c]
push edx
mov dword [esp + 0x498], ebp
call fcn.00457500
xor eax, eax
jmp 0x456881
lea eax, [esp + 0x3c]
call fcn.00457700
mov edi, eax
xor esi, esi
cmp edi, ebx
mov dword [esp + 0x38], edi
mov dword [esp + 0x18], esi
jbe 0x45686b
mov ecx, dword [esp + 0x5c]
mov edi, edi
cmp esi, ebx
jl 0x4566da
cmp ecx, ebx
je 0x4566da
mov eax, dword [esp + 0x60]
sub eax, ecx
sar eax, 2
cmp esi, eax
jae 0x4566da
mov ebp, dword [ecx + esi*4]
jmp 0x4566dc
xor ebp, ebp
cmp dword [ebp], 0x80
jne 0x456859
mov eax, dword [esp + 0x4a4]
mov ecx, dword [esp + 0x4a0]
mov edx, dword [esp + 0x49c]
push eax
mov eax, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 0x14]
push edx
and ecx, 0xffff
push ecx
push eax
call fcn.00455c70
add esp, 0x14
push 0x3ff
mov edi, edx
lea edx, [esp + 0x89]
push ebx
push edx
mov esi, eax
mov byte [esp + 0x90], 0
call sub.ntdll.dll_memset
add esp, 0xc
lea eax, [esp + 0x84]
push eax
mov eax, dword [esp + 0x4a0]
push edi
push esi
call fcn.00456420
add esp, 0xc
test eax, eax
je 0x4568a9
mov eax, 0x400
lea esi, [esp + 0x84]
call fcn.00454590
test eax, eax
je 0x456923
mov edi, 0x80
mov ecx, esi
call fcn.00456500
cmp eax, ebx
je 0x45696b
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x494], 1
call fcn.00453b20
test eax, eax
je 0x4569b3
call fcn.00455a50
mov dword [esp + 0x34], eax
lea eax, [esp + 0x1c]
call fcn.00453c20
mov ebx, eax
xor edi, edi
test ebx, ebx
jbe 0x456839
test edi, edi
jl 0x4567ec
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x4567ec
mov eax, dword [esp + 0x2c]
sub eax, ecx
sar eax, 2
cmp edi, eax
jae 0x4567ec
mov eax, dword [ecx + edi*4]
jmp 0x4567ee
xor eax, eax
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov esi, dword [eax + 0x10]
mov dword [esp + 0x6c], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x70], edx
mov edx, dword [eax + 0xc]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x80], eax
mov eax, dword [ebp + 8]
add ecx, eax
mov dword [esp + 0x74], ecx
mov ecx, dword [ebp + 0xc]
adc edx, ecx
mov dword [esp + 0x78], edx
lea edx, [esp + 0x6c]
mov dword [esp + 0x7c], esi
mov esi, dword [esp + 0x34]
push edx
call fcn.00456a00
add edi, 1
cmp edi, ebx
jb 0x4567ce
lea eax, [esp + 0x1c]
push eax
mov byte [esp + 0x498], 0
call fcn.00453a10
mov ecx, dword [esp + 0x5c]
mov edi, dword [esp + 0x38]
mov esi, dword [esp + 0x18]
xor ebx, ebx
add esi, 1
cmp esi, edi
mov dword [esp + 0x18], esi
jb 0x4566c0
or ebp, 0xffffffff
lea ecx, [esp + 0x3c]
push ecx
mov dword [esp + 0x498], ebp
call fcn.00457500
mov eax, 1
mov ecx, dword [esp + 0x48c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x470]
xor ecx, esp
call fcn.0046d6fd
add esp, 0x484
ret
test byte [0x503544], 1
jne 0x4568da
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 0x16a
mov ecx, str..mftdatarun.cpp
add esi, 8
call fcn.00455830
mov ecx, dword [esi]
add esp, 4
push eax
push str._s:_Failed_to_query_the_given_file_record.
push 0x503520
call ecx
add esp, 0xc
lea edx, [esp + 0x3c]
push edx
mov dword [esp + 0x498], 0xffffffff
call fcn.00457500
xor eax, eax
jmp 0x456881
call fcn.004205a0
mov edi, eax
mov esi, dword [edi]
push 0x170
mov ecx, str..mftdatarun.cpp
add esi, 8
call fcn.00455830
add esp, 4
push eax
mov eax, dword [esi]
push str._s:_Unfixup_file_record_failed.
push edi
call eax
add esp, 0xc
lea ecx, [esp + 0x3c]
push ecx
mov dword [esp + 0x498], 0xffffffff
call fcn.00457500
xor eax, eax
jmp 0x456881
call fcn.004205a0
mov edi, eax
mov esi, dword [edi]
push 0x177
mov ecx, str..mftdatarun.cpp
add esi, 8
call fcn.00455830
mov edx, dword [esi]
add esp, 4
push eax
push str._s:_Didnt_find_the_0x80_attribute.
push edi
call edx
add esp, 0xc
lea eax, [esp + 0x3c]
push eax
mov dword [esp + 0x498], 0xffffffff
call fcn.00457500
xor eax, eax
jmp 0x456881
call fcn.004205a0
mov edi, eax
mov esi, dword [edi]
push 0x17e
mov ecx, str..mftdatarun.cpp
add esi, 8
call fcn.00455830
mov ecx, dword [esi]
add esp, 4
push eax
push str._s:_Failed_to_initialize_DataRun_of__MFT.
push edi
call ecx
add esp, 0xc
lea edx, [esp + 0x1c]
push edx
mov byte [esp + 0x498], 0
call fcn.00453a10
jmp 0x456997