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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xf0
mov ebx, dword [ebp + 8]
mov dword [esp + 0x44], edx
mov dword [esp + 4], ecx
push 0xe4
call fcn.00493b40
add esp, 4
mov edi, eax
push 0xe4
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov eax, dword [ebx]
lea esi, [edi + 0x34]
mov ecx, ebx
push pe_nt_image_headers32
push esi
call dword [eax + 8]
test al, al
je 0x417028
mov dword [esp], edi
lea edi, [esp + 0x48]
push pe_nt_image_headers32
push esi
push edi
call sub.msvcrt.dll_memcpy
add esp, 0xc
lea eax, [esp + 0x54]
mov dword [esp + 0x58], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x6c], 0
push eax
push pe_nt_image_headers32
push edi
mov edi, dword [esp + 0xc]
call fcn.00419270
add esp, 0xc
movdqu xmm0, xmmword [esp + 0x54]
movdqu xmm2, xmmword [edi + 0x40]
movdqu xmm1, xmmword [esp + 0x64]
movdqu xmm3, xmmword [edi + 0x50]
pcmpeqb xmm2, xmm0
pcmpeqb xmm3, xmm1
pand xmm3, xmm2
pmovmskb eax, xmm3
cmp eax, 0xffff
je 0x4170b7
call fcn.0041ff30
mov ebx, dword [esp + 4]
cmp eax, 4
jg 0x41703a
call dword [sym.imp.msvcrt.dll__errno]
mov esi, dword [eax]
lea ebx, [esp + 0xcc]
mov ecx, ebx
push 0xffffffffffffffff
push 0
push 4
push 0
push 0xab
push str.system_core_fs_mgr_liblp_reader.cpp
call fcn.0041ff50
mov ecx, ebx
call fcn.0041ff40
push 7
push 0x51e67f
push eax
call fcn.00505f80
add esp, 0xc
push 0x30
push str.Logical_partition_metadata_has_invalid_checksum.
jmp 0x41717d
call fcn.0041ff30
mov ebx, dword [esp + 4]
cmp eax, 4
jle 0x41728f
mov dword [ebx], 0
mov eax, dword [edi + 0xd8]
test eax, eax
je 0x417059
mov dword [edi + 0xdc], eax
push eax
call fcn.00493cf0
add esp, 4
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x417072
mov dword [edi + 0xd0], eax
push eax
call fcn.00493cf0
add esp, 4
mov eax, dword [edi + 0xc0]
test eax, eax
je 0x41708b
mov dword [edi + 0xc4], eax
push eax
call fcn.00493cf0
add esp, 4
mov eax, dword [edi + 0xb4]
test eax, eax
je 0x4170a4
mov dword [edi + 0xb8], eax
push eax
call fcn.00493cf0
add esp, 4
push edi
call fcn.00493cf0
add esp, 4
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
cmp dword [esi], 0x414c5030
jne 0x417128
cmp word [edi + 0x38], 0xa
jne 0x4170d1
cmp word [edi + 0x3a], 0
je 0x41719e
call fcn.0041ff30
mov ebx, dword [esp + 4]
cmp eax, 4
jg 0x41703a
call dword [sym.imp.msvcrt.dll__errno]
mov esi, dword [eax]
lea ebx, [esp + 0x48]
mov ecx, ebx
push 0xffffffffffffffff
push 0
push 4
push 0
push 0xb8
push str.system_core_fs_mgr_liblp_reader.cpp
call fcn.0041ff50
mov ecx, ebx
call fcn.0041ff40
push 7
push 0x51e67f
push eax
call fcn.00505f80
add esp, 0xc
push 0x34
push str.Logical_partition_metadata_has_incompatible_version.
jmp 0x41717d
call fcn.0041ff30
mov ebx, dword [esp + 4]
cmp eax, 4
jg 0x41703a
call dword [sym.imp.msvcrt.dll__errno]
mov esi, dword [eax]
lea ebx, [esp + 0x48]
mov ecx, ebx
push 0xffffffffffffffff
push 0
push 4
push 0
push 0xb2
push str.system_core_fs_mgr_liblp_reader.cpp
call fcn.0041ff50
mov ecx, ebx
call fcn.0041ff40
push 7
push 0x51e67f
push eax
call fcn.00505f80
add esp, 0xc
push 0x33
push str.Logical_partition_metadata_has_invalid_magic_value.
push eax
call fcn.00505f80
add esp, 0xc
mov ecx, ebx
mov ebx, dword [esp + 4]
call fcn.00420040
call dword [sym.imp.msvcrt.dll__errno]
mov dword [eax], esi
jmp 0x41703a
mov esi, dword [edi + 0x60]
mov dword [esp + 0x20], esi
sub esi, dword [edi + 0x84]
jb 0x417235
mov eax, dword [edi + 0x8c]
xor ecx, ecx
mov dword [esp + 0x14], eax
mul dword [edi + 0x88]
cmp esi, eax
sbb ecx, edx
jb 0x417235
mov esi, dword [esp + 0x20]
sub esi, dword [edi + 0x90]
jb 0x417235
mov eax, dword [edi + 0x98]
xor ecx, ecx
mov dword [esp + 0xc], eax
mul dword [edi + 0x94]
cmp esi, eax
sbb ecx, edx
jb 0x417235
mov esi, dword [esp + 0x20]
sub esi, dword [edi + 0x9c]
jb 0x417235
mov eax, dword [edi + 0xa4]
xor ecx, ecx
mov dword [esp + 8], eax
mul dword [edi + 0xa0]
cmp esi, eax
sbb ecx, edx
jb 0x417235
mov esi, dword [esp + 0x20]
sub esi, dword [edi + 0xa8]
jb 0x417235
mov eax, dword [edi + 0xb0]
xor ecx, ecx
mul dword [edi + 0xac]
cmp esi, eax
sbb ecx, edx
jae 0x417325
call fcn.0041ff30
mov ebx, dword [esp + 4]
cmp eax, 4
jg 0x41703a
call dword [sym.imp.msvcrt.dll__errno]
mov esi, dword [eax]
lea ebx, [esp + 0x48]
mov ecx, ebx
push 0xffffffffffffffff
push 0
push 4
push 0
push 0xbf
push str.system_core_fs_mgr_liblp_reader.cpp
call fcn.0041ff50
mov ecx, ebx
call fcn.0041ff40
push 7
push 0x51e67f
push eax
call fcn.00505f80
add esp, 0xc
push 0x34
push str.Logical_partition_metadata_has_invalid_table_bounds.
jmp 0x41717d
mov esi, dword [sym.imp.msvcrt.dll__errno]
call esi
mov eax, dword [eax]
mov dword [esp], eax
call esi
lea ebx, [esp + 0x48]
mov ecx, ebx
push dword [eax]
push 0
push 4
push 0
push 0xda
push str.system_core_fs_mgr_liblp_reader.cpp
call fcn.0041ff50
mov ecx, ebx
call fcn.0041ff40
push 7
push 0x51e67f
push eax
call fcn.00505f80
add esp, 0xc
push 0x71
push str.std::unique_ptr_LpMetadata__android::fs_mgr::ParseMetadata_const_LpMetadataGeometry___android::fs_mgr::Reader__
push eax
call fcn.00505f80
add esp, 0xc
push 6
push str._read
push eax
call fcn.00505f80
add esp, 0xc
mov ecx, eax
push pe_nt_image_headers32
call fcn.004f95d0
push 0xc
push str.bytes_failed
push eax
call fcn.00505f80
add esp, 0xc
mov ecx, ebx
mov ebx, dword [esp + 4]
call fcn.00420040
call esi
mov ecx, dword [esp]
mov dword [eax], ecx
jmp 0x41703a
cmp dword [esp + 0x14], 0x34
jne 0x417480
cmp dword [esp + 0xc], 0x18
jne 0x4174dd
cmp dword [esp + 8], 0x30
jne 0x41753a
mov ecx, dword [esp + 0x44]
mov edx, dword [esp]
mov eax, dword [ecx + 0x30]
mov dword [edx + 0x30], eax
mov eax, dword [0x5391a8]
movsd xmm0, qword [ecx + 0x28]
movsd qword [edx + 0x28], xmm0
movsd xmm0, qword [ecx + 0x20]
movsd qword [edx + 0x20], xmm0
movsd xmm0, qword [ecx + 0x18]
movsd qword [edx + 0x18], xmm0
movsd xmm0, qword [ecx + 0x10]
movsd qword [edx + 0x10], xmm0
movq xmm0, qword [ecx]
movq xmm1, qword [ecx + 8]
movq qword [edx + 8], xmm1
movq qword [edx], xmm0
push eax
push dword [esp + 0x24]
call fcn.00493c50
add esp, 8
test eax, eax
mov dword [esp + 0x14], eax
je 0x417597
mov eax, dword [ebx]
mov ecx, ebx
push dword [esp + 0x20]
push dword [esp + 0x18]
call dword [eax + 8]
test al, al
je 0x4175f4
lea eax, [esp + 0xcc]
push eax
mov esi, dword [esp + 4]
push dword [esi + 0x60]
push dword [esp + 0x1c]
call fcn.00419270
add esp, 0xc
movdqu xmm0, xmmword [esp + 0xcc]
movdqu xmm2, xmmword [esi + 0x64]
movdqu xmm1, xmmword [esp + 0xdc]
movdqu xmm3, xmmword [esi + 0x74]
pcmpeqb xmm2, xmm0
pcmpeqb xmm3, xmm1
pand xmm3, xmm2
pmovmskb eax, xmm3
cmp eax, 0xffff
je 0x417624
call fcn.0041ff30
cmp eax, 4
jg 0x417602
mov edi, dword [sym.imp.msvcrt.dll__errno]
call edi
mov esi, dword [eax]
lea ebx, [esp + 0x48]
mov ecx, ebx
push 0xffffffffffffffff
push 0
push 4
push 0
push 0xf3
push str.system_core_fs_mgr_liblp_reader.cpp
call fcn.0041ff50
mov ecx, ebx
call fcn.0041ff40
push 7
push 0x51e67f
push eax
call fcn.00505f80
add esp, 0xc
push 0x36
push str.Logical_partition_metadata_has_invalid_table_checksum.
push eax
call fcn.00505f80
add esp, 0xc
mov ecx, ebx
call fcn.00420040
call edi
mov dword [eax], esi
jmp 0x417602
call fcn.0041ff30
mov ebx, dword [esp + 4]
mov edi, dword [esp]
cmp eax, 4
jg 0x41703a
call dword [sym.imp.msvcrt.dll__errno]
mov esi, dword [eax]
lea ebx, [esp + 0x48]
mov ecx, ebx
push 0xffffffffffffffff
push 0
push 4
push 0
push 0xc5
push str.system_core_fs_mgr_liblp_reader.cpp
call fcn.0041ff50
mov ecx, ebx
call fcn.0041ff40
push 7
push 0x51e67f
push eax
call fcn.00505f80
add esp, 0xc
push 0x42
push str.Logical_partition_metadata_has_invalid_partition_table_entry_size.
jmp 0x41717d
call fcn.0041ff30
mov ebx, dword [esp + 4]
mov edi, dword [esp]
cmp eax, 4
jg 0x41703a
call dword [sym.imp.msvcrt.dll__errno]
mov esi, dword [eax]
lea ebx, [esp + 0x48]
mov ecx, ebx
push 0xffffffffffffffff
push 0
push 4
push 0
push 0xc9
push str.system_core_fs_mgr_liblp_reader.cpp
call fcn.0041ff50
mov ecx, ebx
call fcn.0041ff40
push 7
push 0x51e67f
push eax
call fcn.00505f80
add esp, 0xc
push 0x3f
push str.Logical_partition_metadata_has_invalid_extent_table_entry_size.
jmp 0x41717d
call fcn.0041ff30
mov ebx, dword [esp + 4]
mov edi, dword [esp]
cmp eax, 4
jg 0x41703a
call dword [sym.imp.msvcrt.dll__errno]
mov esi, dword [eax]
lea ebx, [esp + 0x48]
mov ecx, ebx
push 0xffffffffffffffff
push 0
push 4
push 0
push 0xcd
push str.system_core_fs_mgr_liblp_reader.cpp
call fcn.0041ff50
mov ecx, ebx
call fcn.0041ff40
push 7
push 0x51e67f
push eax
call fcn.00505f80
add esp, 0xc
push 0x3e
push str.Logical_partition_metadata_has_invalid_group_table_entry_size.
jmp 0x41717d
call fcn.0041ff30
mov ebx, dword [esp + 4]
mov edi, dword [esp]
cmp eax, 4
jg 0x41703a
call dword [sym.imp.msvcrt.dll__errno]
mov esi, dword [eax]
lea ebx, [esp + 0x48]
mov ecx, ebx
push 0xffffffffffffffff
push 0
push 4
push 0
push 0xe8
push str.system_core_fs_mgr_liblp_reader.cpp
call fcn.0041ff50
mov ecx, ebx
call fcn.0041ff40
push 7
push 0x51e67f
push eax
call fcn.00505f80
add esp, 0xc
push 0x2f
push str.Out_of_memory_reading_logical_partition_tables.
jmp 0x41717d
call fcn.0041ff30
cmp eax, 4
jle 0x41807a
mov eax, dword [esp + 4]
mov dword [eax], 0
push dword [esp + 0x14]
call fcn.00493d20
add esp, 4
mov ebx, dword [esp + 4]
mov edi, dword [esp]
jmp 0x417040
mov eax, dword [esp]
cmp dword [eax + 0x88], 0
je 0x417893
mov eax, dword [esp]
mov dword [esp + 0xc], 0
mov edi, dword [eax + 0x84]
lea eax, [eax + 0xb4]
mov dword [esp + 0x18], eax
add edi, dword [esp + 0x14]
movsd xmm1, qword [edi + 0x10]
mov eax, dword [edi + 0x20]
movsd xmm0, qword [edi + 0x18]
movq xmm2, qword [edi]
movsd qword [esp + 0x58], xmm1
movsd xmm1, qword [edi + 8]
mov dword [esp + 0x68], eax
movsd qword [esp + 0x60], xmm0
movq qword [esp + 0x48], xmm2
movsd qword [esp + 0x50], xmm1
movdqu xmm1, xmmword [edi + 0x24]
movd eax, xmm1
movdqa xmmword [esp + 0x20], xmm1
cmp eax, 4
jae 0x417ecb
movdqa xmm1, xmmword [esp + 0x20]
pshufd xmm0, xmm1, 0xe5
pshufd xmm1, xmm1, 0x4e
movd ecx, xmm0
movd eax, xmm1
add eax, ecx
jb 0x417f23
mov ecx, dword [esp]
cmp eax, dword [ecx + 0x94]
ja 0x417f90
pshufd xmm0, xmmword [esp + 0x20], 0xe7
mov ecx, dword [esp]
movd eax, xmm0
cmp eax, dword [ecx + 0xa0]
jae 0x417fe8
mov eax, dword [esp]
add edi, dword [eax + 0x8c]
mov ebx, dword [eax + 0xb8]
mov eax, dword [eax + 0xbc]
cmp ebx, eax
je 0x41774b
mov eax, dword [esp + 0x68]
mov dword [ebx + 0x20], eax
mov eax, dword [esp]
movsd xmm0, qword [esp + 0x60]
movsd qword [ebx + 0x18], xmm0
movsd xmm0, qword [esp + 0x58]
movsd qword [ebx + 0x10], xmm0
movsd xmm1, qword [esp + 0x50]
movq xmm0, qword [esp + 0x48]
movsd qword [ebx + 8], xmm1
movdqa xmm1, xmmword [esp + 0x20]
movq qword [ebx], xmm0
movdqu xmmword [ebx + 0x24], xmm1
add dword [eax + 0xb8], 0x34
jmp 0x41786a
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx]
sub ebx, ecx
mov dword [esp + 8], ecx
mov ecx, ebx
sar ecx, 2
imul esi, ecx, 0xc4ec4ec5
lea ecx, [esi + 1]
cmp ecx, 0x4ec4ec5
jae 0x418165
sub eax, dword [esp + 8]
mov dword [esp + 0x10], 0x4ec4ec4
sar eax, 2
imul eax, eax, 0xc4ec4ec5
cmp eax, 0x2762761
ja 0x4177a0
add eax, eax
cmp eax, ecx
cmovb eax, ecx
test eax, eax
mov dword [esp + 0x10], eax
je 0x417884
imul eax, dword [esp + 0x10], 0x34
push eax
call fcn.00493b40
add esp, 4
imul ecx, esi, 0x34
lea edx, [eax + ecx]
mov dword [esp + 0x1c], edx
imul edx, dword [esp + 0x10], 0x34
add edx, eax
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x68]
mov dword [eax + ecx + 0x20], edx
movsd xmm0, qword [esp + 0x60]
movsd qword [eax + ecx + 0x18], xmm0
movsd xmm0, qword [esp + 0x58]
movsd qword [eax + ecx + 0x10], xmm0
movsd xmm1, qword [esp + 0x50]
movq xmm0, qword [esp + 0x48]
movsd qword [eax + ecx + 8], xmm1
movdqa xmm1, xmmword [esp + 0x20]
movq qword [eax + ecx], xmm0
movdqu xmmword [eax + ecx + 0x24], xmm1
lea eax, [eax + ecx + 0x34]
mov ecx, 0xb13b13b1
mov dword [esp + 0x20], eax
mov eax, ebx
imul ecx
mov eax, edx
sar edx, 4
shr eax, 0x1f
add edx, eax
imul esi, edx, 0x34
add esi, dword [esp + 0x1c]
test ebx, ebx
jle 0x41783a
push ebx
push dword [esp + 0xc]
push esi
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [esp]
cmp dword [esp + 8], 0
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x10]
mov dword [eax + 0xb4], esi
mov dword [eax + 0xb8], ecx
mov dword [eax + 0xbc], edx
je 0x41786a
push dword [esp + 8]
call fcn.00493cf0
add esp, 4
mov ecx, dword [esp + 0xc]
mov eax, dword [esp]
inc ecx
cmp ecx, dword [eax + 0x88]
mov dword [esp + 0xc], ecx
jb 0x417653
jmp 0x417893
mov dword [esp + 0x10], 0
xor eax, eax
jmp 0x4177ae
mov eax, dword [esp]
cmp dword [eax + 0x94], 0
je 0x417a91
mov eax, dword [esp]
mov dword [esp + 0xc], 0
mov edi, dword [eax + 0x90]
lea eax, [eax + 0xc0]
mov dword [esp + 0x3c], eax
add edi, dword [esp + 0x14]
jmp 0x4178d3
mov dword [esp + 0x30], 0
xor eax, eax
jmp 0x4179d3
mov edx, dword [edi + 0xc]
mov ecx, dword [edi + 4]
mov esi, dword [edi + 0x10]
mov eax, dword [edi]
mov dword [esp + 0x10], edx
mov edx, dword [esp]
mov dword [esp + 0x40], ecx
mov ecx, dword [edi + 8]
mov dword [esp + 8], esi
mov esi, dword [edi + 0x14]
mov dword [esp + 0x18], eax
add edi, dword [edx + 0x98]
test ecx, ecx
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], ecx
jne 0x41791c
mov eax, dword [esp]
mov ecx, dword [esp + 0x20]
cmp ecx, dword [eax + 0xac]
jae 0x41803c
mov eax, dword [esp]
mov ebx, dword [eax + 0xc4]
mov eax, dword [eax + 0xc8]
cmp ebx, eax
je 0x417967
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x1c]
mov dword [ebx + 4], edx
mov dword [ebx], eax
mov dword [ebx + 8], ecx
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 8]
mov dword [ebx + 0xc], edx
mov dword [ebx + 0x10], ecx
mov edx, dword [esp + 0x20]
mov ecx, dword [esp]
mov dword [ebx + 0x14], edx
add dword [ecx + 0xc4], 0x18
jmp 0x417a79
mov ecx, dword [esp + 0x3c]
mov ecx, dword [ecx]
sub ebx, ecx
mov dword [esp + 0x34], ecx
mov ecx, ebx
sar ecx, 3
imul esi, ecx, 0xaaaaaaab
lea ecx, [esi + 1]
cmp ecx, 0xaaaaaab
jae 0x41816e
sub eax, dword [esp + 0x34]
mov dword [esp + 0x30], 0xaaaaaaa
sar eax, 3
imul eax, eax, 0xaaaaaaab
cmp eax, 0x5555554
ja 0x4179bc
add eax, eax
cmp eax, ecx
cmovb eax, ecx
test eax, eax
mov dword [esp + 0x30], eax
je 0x4178c4
mov eax, dword [esp + 0x30]
lea eax, [eax*8]
lea eax, [eax + eax*2]
push eax
call fcn.00493b40
add esp, 4
mov edx, dword [esp + 0x40]
lea ecx, [esi + esi*2]
lea esi, [eax + ecx*8]
mov dword [eax + ecx*8 + 4], edx
mov edx, dword [esp + 0x18]
mov dword [eax + ecx*8], edx
mov edx, dword [esp + 0x1c]
mov dword [eax + ecx*8 + 8], edx
mov edx, dword [esp + 8]
mov dword [eax + ecx*8 + 0x10], edx
mov edx, dword [esp + 0x10]
mov dword [eax + ecx*8 + 0xc], edx
mov edx, dword [esp + 0x30]
lea edx, [edx + edx*2]
lea edx, [eax + edx*8]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x20]
mov dword [eax + ecx*8 + 0x14], edx
lea eax, [eax + ecx*8 + 0x18]
mov ecx, 0xd5555555
mov dword [esp + 0x20], eax
mov eax, ebx
imul ecx
mov eax, edx
sar edx, 2
shr eax, 0x1f
add edx, eax
test ebx, ebx
lea eax, [edx + edx*2]
lea esi, [esi + eax*8]
jle 0x417a49
push ebx
push dword [esp + 0x38]
push esi
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [esp]
cmp dword [esp + 0x34], 0
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 8]
mov dword [eax + 0xc0], esi
mov dword [eax + 0xc4], ecx
mov dword [eax + 0xc8], edx
je 0x417a79
push dword [esp + 0x34]
call fcn.00493cf0
add esp, 4
mov ecx, dword [esp + 0xc]
mov eax, dword [esp]
inc ecx
cmp ecx, dword [eax + 0x94]
mov dword [esp + 0xc], ecx
jb 0x4178d3
mov eax, dword [esp]
cmp dword [eax + 0xa0], 0
je 0x417cc6
mov eax, dword [esp]
mov dword [esp + 0x20], 0
mov edi, dword [eax + 0x9c]
lea eax, [eax + 0xcc]
mov dword [esp + 0x18], eax
add edi, dword [esp + 0x14]
jmp 0x417ad1
mov dword [esp + 8], 0
xor eax, eax
jmp 0x417be3
movsd xmm1, qword [edi + 0x20]
movsd xmm2, qword [edi + 0x18]
mov eax, dword [esp]
movsd xmm0, qword [edi + 0x28]
movsd qword [esp + 0x68], xmm1
movsd xmm1, qword [edi + 0x10]
movsd qword [esp + 0x60], xmm2
movq xmm2, qword [edi]
mov ebx, dword [eax + 0xd0]
movsd qword [esp + 0x70], xmm0
movsd qword [esp + 0x58], xmm1
movsd xmm1, qword [edi + 8]
add edi, dword [eax + 0xa4]
mov eax, dword [eax + 0xd4]
movq qword [esp + 0x48], xmm2
cmp ebx, eax
movsd qword [esp + 0x50], xmm1
je 0x417b7b
movsd xmm0, qword [esp + 0x70]
mov eax, dword [esp]
movsd qword [ebx + 0x28], xmm0
movsd xmm0, qword [esp + 0x68]
movsd qword [ebx + 0x20], xmm0
movsd xmm0, qword [esp + 0x60]
movsd qword [ebx + 0x18], xmm0
movsd xmm0, qword [esp + 0x58]
movsd qword [ebx + 0x10], xmm0
movq xmm0, qword [esp + 0x48]
movq xmm1, qword [esp + 0x50]
movq qword [ebx + 8], xmm1
movq qword [ebx], xmm0
add dword [eax + 0xd0], 0x30
jmp 0x417cae
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx]
sub ebx, ecx
mov dword [esp + 0xc], ecx
mov ecx, ebx
sar ecx, 4
imul esi, ecx, 0xaaaaaaab
lea ecx, [esi + 1]
cmp ecx, 0x5555556
jae 0x418165
sub eax, dword [esp + 0xc]
mov dword [esp + 8], 0x5555555
sar eax, 4
imul eax, eax, 0xaaaaaaab
cmp eax, 0x2aaaaa9
ja 0x417bd0
add eax, eax
cmp eax, ecx
cmovb eax, ecx
test eax, eax
mov dword [esp + 8], eax
je 0x417ac2
mov eax, dword [esp + 8]
shl eax, 4
lea eax, [eax + eax*2]
push eax
call fcn.00493b40
add esp, 4
movsd xmm0, qword [esp + 0x70]
lea ecx, [esi + esi*2]
shl ecx, 4
lea edx, [eax + ecx]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 8]
movsd qword [eax + ecx + 0x28], xmm0
movsd xmm0, qword [esp + 0x68]
lea edx, [edx + edx*2]
shl edx, 4
movsd qword [eax + ecx + 0x20], xmm0
add edx, eax
movsd xmm0, qword [esp + 0x60]
mov dword [esp + 8], edx
movsd qword [eax + ecx + 0x18], xmm0
movsd xmm0, qword [esp + 0x58]
movsd qword [eax + ecx + 0x10], xmm0
movq xmm0, qword [esp + 0x48]
movq xmm1, qword [esp + 0x50]
movq qword [eax + ecx + 8], xmm1
movq qword [eax + ecx], xmm0
lea eax, [eax + ecx + 0x30]
mov ecx, 0xd5555555
mov dword [esp + 0x1c], eax
mov eax, ebx
imul ecx
mov eax, edx
sar edx, 3
shr eax, 0x1f
add edx, eax
lea esi, [edx + edx*2]
shl esi, 4
add esi, dword [esp + 0x10]
test ebx, ebx
jle 0x417c7e
push ebx
push dword [esp + 0x10]
push esi
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [esp]
cmp dword [esp + 0xc], 0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 8]
mov dword [eax + 0xcc], esi
mov dword [eax + 0xd0], ecx
mov dword [eax + 0xd4], edx
je 0x417cae
push dword [esp + 0xc]
call fcn.00493cf0
add esp, 4
mov ecx, dword [esp + 0x20]
mov eax, dword [esp]
inc ecx
cmp ecx, dword [eax + 0xa0]
mov dword [esp + 0x20], ecx
jb 0x417ad1
mov eax, dword [esp]
cmp dword [eax + 0xac], 0
je 0x417dde
mov esi, dword [esp]
xor edi, edi
mov ebx, dword [esi + 0xa8]
add esi, 0xd8
add ebx, dword [esp + 0x14]
movsd xmm1, qword [ebx + 0x30]
movsd xmm2, qword [ebx + 0x28]
mov ecx, dword [esp]
movq xmm0, qword [ebx + 0x38]
movsd qword [esp + 0x78], xmm1
movsd xmm1, qword [ebx + 0x20]
movsd qword [esp + 0x70], xmm2
movsd xmm2, qword [ebx + 0x18]
mov eax, dword [ecx + 0xdc]
movq qword [esp + 0x80], xmm0
movsd qword [esp + 0x68], xmm1
movsd xmm1, qword [ebx + 0x10]
movsd qword [esp + 0x60], xmm2
movq xmm2, qword [ebx]
movsd qword [esp + 0x58], xmm1
movq xmm1, qword [ebx + 8]
add ebx, dword [ecx + 0xb0]
cmp eax, dword [ecx + 0xe0]
movq qword [esp + 0x48], xmm2
movq qword [esp + 0x50], xmm1
je 0x417dc2
movsd xmm0, qword [esp + 0x80]
mov ecx, dword [esp]
movsd qword [eax + 0x38], xmm0
movsd xmm0, qword [esp + 0x78]
movsd qword [eax + 0x30], xmm0
movsd xmm0, qword [esp + 0x70]
movsd qword [eax + 0x28], xmm0
movsd xmm0, qword [esp + 0x68]
movsd qword [eax + 0x20], xmm0
movsd xmm0, qword [esp + 0x60]
movsd qword [eax + 0x18], xmm0
movsd xmm0, qword [esp + 0x58]
movsd qword [eax + 0x10], xmm0
movq xmm0, qword [esp + 0x48]
movq xmm1, qword [esp + 0x50]
movq qword [eax + 8], xmm1
movq qword [eax], xmm0
add dword [ecx + 0xdc], 0x40
jmp 0x417dce
lea eax, [esp + 0x48]
mov ecx, esi
push eax
call fcn.0050cff0
mov eax, dword [esp]
inc edi
cmp edi, dword [eax + 0xac]
jb 0x417ceb
push dword [esp]
call fcn.00419250
add esp, 4
test eax, eax
je 0x417e73
mov ebx, eax
mov eax, dword [esp + 0x44]
push dword [eax + 0x2c]
push dword [eax + 0x28]
call fcn.00419230
add esp, 8
mov ecx, dword [ebx]
mov esi, dword [ebx + 4]
shld esi, ecx, 9
shl ecx, 9
cmp ecx, eax
sbb esi, edx
jae 0x417f7b
call fcn.0041ff30
cmp eax, 4
jg 0x41804a
mov edi, dword [sym.imp.msvcrt.dll__errno]
call edi
mov esi, dword [eax]
lea ebx, [esp + 0x48]
mov ecx, ebx
push 0xffffffffffffffff
push 0
push 4
push 0
push 0x13e
push str.system_core_fs_mgr_liblp_reader.cpp
call fcn.0041ff50
mov ecx, ebx
call fcn.0041ff40
push 7
push 0x51e67f
push eax
call fcn.00505f80
add esp, 0xc
push 0x44
push str.Logical_partition_metadata_overlaps_with_logical_partition_contents.
jmp 0x41814c
call fcn.0041ff30
cmp eax, 4
jg 0x41804a
mov edi, dword [sym.imp.msvcrt.dll__errno]
call edi
mov esi, dword [eax]
lea ebx, [esp + 0x48]
mov ecx, ebx
push 0xffffffffffffffff
push 0
push 4
push 0
push 0x136
push str.system_core_fs_mgr_liblp_reader.cpp
call fcn.0041ff50
mov ecx, ebx
call fcn.0041ff40
push 7
push 0x51e67f
push eax
call fcn.00505f80
add esp, 0xc
push 0x29
push str.Metadata_does_not_specify_a_super_device.
jmp 0x41814c
call fcn.0041ff30
cmp eax, 4
jg 0x41804a
mov edi, dword [sym.imp.msvcrt.dll__errno]
call edi
mov esi, dword [eax]
lea ebx, [esp + 0x38]
mov ecx, ebx
push 0xffffffffffffffff
push 0
push 4
push 0
push 0x100
push str.system_core_fs_mgr_liblp_reader.cpp
call fcn.0041ff50
mov ecx, ebx
call fcn.0041ff40
push 7
push 0x51e67f
push eax
call fcn.00505f80
add esp, 0xc
push 0x2c
push str.Logical_partition_has_invalid_attribute_set.
jmp 0x41814c
call fcn.0041ff30
cmp eax, 4
jg 0x41804a
mov edi, dword [sym.imp.msvcrt.dll__errno]
call edi
mov esi, dword [eax]
lea ebx, [esp + 0x38]
mov ecx, ebx
push 0xffffffffffffffff
push 0
push 4
push 0
push 0x104
push str.system_core_fs_mgr_liblp_reader.cpp
call fcn.0041ff50
mov ecx, ebx
call fcn.0041ff40
push 7
push 0x51e67f
push eax
call fcn.00505f80
add esp, 0xc
push 0x3e
push str.Logical_partition_first_extent_index__num_extents_overflowed.
jmp 0x41814c
mov ecx, dword [esp]
mov eax, dword [esp + 4]
mov dword [esp], 0
mov dword [eax], ecx
jmp 0x418054
call fcn.0041ff30
cmp eax, 4
jg 0x41804a
mov edi, dword [sym.imp.msvcrt.dll__errno]
call edi
mov esi, dword [eax]
lea ebx, [esp + 0x38]
mov ecx, ebx
push 0xffffffffffffffff
push 0
push 4
push 0
push 0x108
push str.system_core_fs_mgr_liblp_reader.cpp
call fcn.0041ff50
mov ecx, ebx
call fcn.0041ff40
push 7
push 0x51e67f
push eax
call fcn.00505f80
add esp, 0xc
push 0x2a
push str.Logical_partition_has_invalid_extent_list.
jmp 0x41814c
call fcn.0041ff30
cmp eax, 4
jg 0x41804a
mov edi, dword [sym.imp.msvcrt.dll__errno]
call edi
mov esi, dword [eax]
lea ebx, [esp + 0x38]
mov ecx, ebx
push 0xffffffffffffffff
push 0
push 4
push 0
push 0x10c
push str.system_core_fs_mgr_liblp_reader.cpp
call fcn.0041ff50
mov ecx, ebx
call fcn.0041ff40
push 7
push 0x51e67f
push eax
call fcn.00505f80
add esp, 0xc
push 0x2a
push str.Logical_partition_has_invalid_group_index.
jmp 0x41814c
call fcn.0041ff30
cmp eax, 4
jle 0x418107
mov eax, dword [esp + 4]
mov dword [eax], 0
sub esp, 4
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.00493d20
add esp, 4
mov edi, dword [esp]
mov ebx, dword [esp + 4]
test edi, edi
jne 0x417040
jmp 0x4170ad
mov esi, dword [sym.imp.msvcrt.dll__errno]
call esi
mov edi, dword [eax]
call esi
lea ebx, [esp + 0x48]
mov ecx, ebx
push dword [eax]
push 0
push 4
push 0
push 0xec
push str.system_core_fs_mgr_liblp_reader.cpp
call fcn.0041ff50
mov ecx, ebx
call fcn.0041ff40
push 7
push 0x51e67f
push eax
call fcn.00505f80
add esp, 0xc
push 0x71
push str.std::unique_ptr_LpMetadata__android::fs_mgr::ParseMetadata_const_LpMetadataGeometry___android::fs_mgr::Reader__
push eax
call fcn.00505f80
add esp, 0xc
push 6
push str._read
push eax
call fcn.00505f80
add esp, 0xc
mov ecx, eax
mov eax, dword [esp]
push dword [eax + 0x60]
call fcn.004f95d0
push 0xc
push str.bytes_failed
push eax
call fcn.00505f80
add esp, 0xc
mov ecx, ebx
call fcn.00420040
call esi
mov dword [eax], edi
jmp 0x417602
mov edi, dword [sym.imp.msvcrt.dll__errno]
call edi
mov esi, dword [eax]
lea ebx, [esp + 0x48]
mov ecx, ebx
push 0xffffffffffffffff
push 0
push 4
push 0
push 0x11b
push str.system_core_fs_mgr_liblp_reader.cpp
call fcn.0041ff50
mov ecx, ebx
call fcn.0041ff40
push 7
push 0x51e67f
push eax
call fcn.00505f80
add esp, 0xc
push 0x32
push str.Logical_partition_extent_has_invalid_block_device.
push eax
call fcn.00505f80
add esp, 0xc
mov ecx, ebx
call fcn.00420040
call edi
mov dword [eax], esi
jmp 0x41804a
mov ecx, dword [esp + 0x18]
call fcn.004d7ab0
mov ecx, dword [esp + 0x3c]
call fcn.004d7ab0
nop word [eax + eax]