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

Disassembly:
mov eax, 0x100e8f70
call fcn.100e0f70
mov eax, 0x1314
call fcn.100e12e0
push ebx
push esi
mov ebx, ecx
mov esi, 0x200
push edi
push esi
mov ecx, dword [ebx + 0x28]
lea edx, [ebp - 0x320]
call fcn.1000b686
test eax, eax
jne 0x1004e7c3
push 8
lea eax, [ebp - 0x320]
pop edi
push edi
push str.vhdxfilefw
push eax
call sub.MSVCRT.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x1004e6a9
mov ax, word [ebp + edi - 0x320]
cmp ax, 0x20
jb 0x1004e37d
cmp ax, 0x7f
ja 0x1004e37d
push eax
lea ecx, [ebx + 0x11c]
call fcn.100028d4
inc edi
inc edi
cmp edi, esi
jb 0x1004e357
mov esi, 0x10000
mov dword [ebx + 0xf0], 0x100000
and dword [ebx + 0xf4], 0
lea edi, [ebp - 0xb0]
mov dword [ebp - 0x10], esi
push 0
mov ecx, ebx
push dword [ebp - 0x10]
call fcn.1004de2f
test eax, eax
jne 0x1004e7c3
mov ecx, dword [ebx + 0x28]
push 0x1000
lea edx, [ebp - 0x1320]
call fcn.1000b686
test eax, eax
jne 0x1004e7c3
lea eax, [ebp - 0x1320]
mov ecx, edi
push eax
call fcn.1004d75b
test al, al
je 0x1004e6a9
add dword [ebp - 0x10], esi
add edi, 0x48
cmp dword [ebp - 0x10], 0x30000
jb 0x1004e39c
mov ecx, dword [ebp - 0xac]
mov eax, dword [ebp - 0x68]
cmp ecx, dword [ebp - 0x64]
jb 0x1004e408
ja 0x1004e433
cmp dword [ebp - 0xb0], eax
ja 0x1004e433
cmp ecx, dword [ebp - 0x64]
ja 0x1004e41c
jb 0x1004e417
cmp dword [ebp - 0xb0], eax
jae 0x1004e41c
push 1
pop eax
jmp 0x1004e435
lea eax, [ebp - 0x68]
lea ecx, [ebp - 0xb0]
push eax
call fcn.1004e8c2
test al, al
je 0x1004e6a9
xor eax, eax
lea eax, [eax + eax*8]
push 0x12
lea edi, [ebx + 0xa0]
pop ecx
lea eax, [ebp + eax*8 - 0xb0]
mov esi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x1004e4a7
add dword [ebx + 0xf0], ecx
adc dword [ebx + 0xf4], 0
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0x10]
xor esi, esi
add edx, ecx
mov ecx, dword [eax + 0x14]
adc ecx, esi
mov esi, dword [ebx + 0x3c]
cmp esi, ecx
ja 0x1004e485
jb 0x1004e47f
mov esi, dword [ebx + 0x38]
cmp esi, edx
jae 0x1004e485
mov dword [ebx + 0x38], edx
mov dword [ebx + 0x3c], ecx
push 0x10
lea ecx, [eax + 0x38]
pop edx
call fcn.1004ddbd
test al, al
jne 0x1004e4a7
push str.non_empty_LOG_was_not_replayed
mov ecx, ebx
mov byte [ebx + 0x128], 1
call fcn.1004ebf6
xor eax, eax
or edi, 0xffffffff
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov esi, 0x20000
lea ecx, [ebp - 0x1c]
push esi
mov dword [ebp - 4], eax
call fcn.1000453c
push 0
push 0x30000
mov ecx, ebx
call fcn.1004de2f
test eax, eax
je 0x1004e4dc
mov esi, eax
jmp 0x1004e566
mov ecx, dword [ebx + 0x28]
mov edx, dword [ebp - 0x1c]
push esi
call fcn.1000b686
test eax, eax
jne 0x1004e4d5
mov eax, dword [ebp - 0x1c]
push 0x10000
mov dword [ebp - 0x14], 1
lea ecx, [eax + 0x10000]
push ecx
push eax
call sub.MSVCRT.dll_memcmp
add esp, 0xc
test eax, eax
je 0x1004e522
push str.Region_tables_mismatch
mov ecx, ebx
call fcn.1004ebf6
mov dword [ebp - 0x14], 2
xor esi, esi
cmp dword [ebp - 0x14], esi
jbe 0x1004e563
lea eax, [ebp - 0x120]
mov dword [ebp - 0x10], eax
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
call fcn.1004d892
test al, al
je 0x1004e549
test edi, edi
jge 0x1004e555
mov edi, esi
jmp 0x1004e555
push str.Incorrect_region_table
mov ecx, ebx
call fcn.1004ebf6
add dword [ebp - 0x10], 0x38
inc esi
cmp esi, dword [ebp - 0x14]
jb 0x1004e532
test edi, edi
jge 0x1004e56e
push 1
pop esi
push dword [ebp - 0x1c]
jmp 0x1004e643
push dword [ebp - 0x1c]
or dword [ebp - 4], 0xffffffff
call fcn.100035f8
cmp dword [ebx + 0x3c], 0
pop ecx
ja 0x1004e597
jb 0x1004e58c
cmp dword [ebx + 0x38], 0x100000
jae 0x1004e597
mov dword [ebx + 0x38], 0x100000
and dword [ebx + 0x3c], 0
imul edi, edi, 0x38
mov eax, dword [ebp + edi - 0x110]
mov ecx, dword [ebp + edi - 0x10c]
add dword [ebx + 0xf0], eax
lea esi, [ebp + edi - 0x120]
mov edx, dword [ebx + 0x3c]
adc dword [ebx + 0xf4], ecx
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
cmp edx, eax
ja 0x1004e5d7
jb 0x1004e5d1
mov edx, dword [ebx + 0x38]
cmp edx, ecx
jae 0x1004e5d7
mov dword [ebx + 0x38], ecx
mov dword [ebx + 0x3c], eax
cmp byte [esi + 1], 0
je 0x1004e6a9
cmp dword [esi + 0x30], 0
je 0x1004e6a9
and dword [ebp - 0x1c], 0
and dword [ebp - 0x18], 0
push dword [esi + 0x2c]
mov ecx, ebx
mov dword [ebp - 4], 1
push dword [esi + 0x28]
call fcn.1004de2f
test eax, eax
je 0x1004e60f
mov esi, eax
jmp 0x1004e640
mov edi, dword [esi + 0x30]
lea ecx, [ebp - 0x1c]
push edi
call fcn.1000453c
mov ecx, dword [ebx + 0x28]
mov edx, dword [ebp - 0x1c]
push edi
call fcn.1000b686
test eax, eax
jne 0x1004e60b
push dword [ebp - 0x18]
lea ecx, [ebx + 0x60]
push dword [ebp - 0x1c]
call fcn.1004da30
test al, al
jne 0x1004e650
push 1
pop esi
push dword [ebp - 0x1c]
call fcn.100035f8
pop ecx
mov eax, esi
jmp 0x1004e7c3
push dword [ebp - 0x1c]
or dword [ebp - 4], 0xffffffff
call fcn.100035f8
cmp byte [esi], 0
pop ecx
je 0x1004e6a9
cmp dword [esi + 0x20], 0
je 0x1004e6a9
push dword [esi + 0x1c]
mov ecx, ebx
push dword [esi + 0x18]
call fcn.1004de2f
test eax, eax
jne 0x1004e7c3
mov edi, dword [esi + 0x20]
lea esi, [ebx + 0x40]
push edi
mov ecx, esi
call fcn.1000453c
mov edx, dword [esi]
mov ecx, dword [ebx + 0x28]
push edi
call fcn.1000b686
test eax, eax
jne 0x1004e7c3
mov ecx, ebx
call fcn.1004defb
test al, al
jne 0x1004e6b1
push 1
pop eax
jmp 0x1004e7c3
mov ecx, ebx
call fcn.1004e196
test al, al
jne 0x1004e6c8
push str.BAT_overlap
mov ecx, ebx
call fcn.1004ebf6
xor edi, edi
cmp dword [ebx + 0x94], edi
jbe 0x1004e70b
mov eax, dword [ebx + 0x90]
mov edx, str.parent_linkage
mov esi, dword [eax + edi*4]
mov ecx, dword [esi]
call fcn.100019fe
test al, al
jne 0x1004e6f6
inc edi
cmp edi, dword [ebx + 0x94]
jb 0x1004e6d2
jmp 0x1004e70b
add esi, 0xc
lea ecx, [ebx + 0x12a]
push esi
call fcn.1004e7d2
mov byte [ebx + 0x13a], al
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], str.relative_path
mov dword [ebp - 0x1c], str.volume_path
mov dword [ebp - 0x18], str.absolute_win32_path
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 3
mov eax, dword [ebp - 0x14]
lea ecx, [ebx + 0x60]
push dword [eax]
call fcn.1004e920
test eax, eax
jl 0x1004e75f
mov ecx, dword [ebx + 0x90]
lea edi, [ebx + 0x13c]
mov esi, dword [ecx + eax*4]
mov ecx, edi
call fcn.1000de9b
add esi, 0xc
mov ecx, edi
push esi
call fcn.10002eba
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x1004e72d
mov eax, dword [ebx + 0x70]
shr eax, 1
test al, 1
je 0x1004e7a3
cmp byte [ebx + 0x62], 0
jne 0x1004e77e
push str.Parent_locator_is_not_defined
jmp 0x1004e7ae
cmp byte [ebx + 0x13a], 0
jne 0x1004e793
push str.Parent_GUID_is_not_defined
mov ecx, ebx
call fcn.1004ebf6
cmp dword [ebx + 0x140], 0
jne 0x1004e7b5
push str.Parent_VHDX_file_name_is_not_defined
jmp 0x1004e7ae
cmp byte [ebx + 0x62], 0
je 0x1004e7b5
push str.Unexpected_parent_locator
mov ecx, ebx
call fcn.1004ebf6
mov eax, dword [ebx + 0x78]
mov dword [ebx + 0x20], eax
mov eax, dword [ebx + 0x7c]
mov dword [ebx + 0x24], eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret