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

Disassembly:
push 0xffffffffffffffff
push 0x10198240
mov eax, dword fs:[0]
push eax
mov eax, 0x10c0
call fcn.10174d60
mov eax, dword [0x10279264]
xor eax, esp
mov dword [esp + 0x10b8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10279264]
xor eax, esp
push eax
lea eax, [esp + 0x10d4]
mov dword fs:[0], eax
movzx ebx, word [esp + 0x10e4]
mov esi, ecx
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov eax, 0xaf3addc7
imul ecx
add edx, ecx
sar edx, 0xa
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x34], esi
cmp eax, ebx
jbe 0x100e6087
mov ebp, dword [esi + 0x20a8]
push ebp
push str.UpdateRomFileInfoByPreloader_get_bbchiptype_:__d
lea edi, [esp + 0x28]
mov dword [esp + 0x28], str.FlashToolLib_source_common_handle_src_flashtool_handle_internal.cpp
mov dword [esp + 0x2c], 0x1107
mov byte [esp + 0x30], 0
mov dword [esp + 0x34], str._DEBUG:
mov dword [esp + 0x38], str.DL_HANDLE::UpdateRomFileInfoByPreloader
call fcn.10017c90
add ebp, 0xffffff4c
add esp, 8
cmp ebp, 0x4a
ja 0x100e517d
xor eax, eax
jmp 0x100e608c
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov eax, 0xaf3addc7
imul ecx
add edx, ecx
sar edx, 0xa
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ebx, ecx
jb 0x100e519f
call fcn.1016d669
mov ebp, ebx
imul ebp, ebp, 0x5d8
add ebp, dword [esi + 0xc]
cmp dword [ebp + 0x64], 7
jne 0x100e5176
push str.FlashToolLib_source_common_handle_src_flashtool_handle_internal.cpp
mov edx, 0x10201619
xor cl, cl
mov eax, 0x1116
lea esi, [esp + 0x24]
call fcn.10111280
xor edi, edi
mov dword [esp + 0x10dc], edi
cmp dword [ebp + 0x18], 0x10
lea ecx, [ebp + 4]
mov dword [esp + 0x14], ecx
jb 0x100e51e2
mov ecx, dword [ecx]
mov edx, dword [0x103b321c]
push ecx
push str.DL_HANDLE__::UpdateRomFileInfoByPreloader__:_Loading_SV5_BL__name___s
push edx
push eax
call fcn.10111350
add esp, 0x10
mov esi, ebp
mov dword [esp + 0x10dc], 0xffffffff
call fcn.1004a0d0
mov eax, dword [ebp + 0x414]
lea ecx, [esp + 0x1c]
test ecx, ecx
je 0x100e535e
cmp eax, edi
je 0x100e535e
mov edx, ecx
push edx
xor ebx, ebx
mov dword [esp + 0x20], edi
call fcn.1014c700
mov edi, eax
add esp, 4
cmp edi, 0x1000
jae 0x100e5363
mov ebx, dword [esp + 0x1c]
mov eax, dword [ebx + 0x20]
xor ecx, ecx
cmp eax, dword [ebp + 0x418]
jne 0x100e5260
cmp ecx, dword [ebp + 0x41c]
je 0x100e53c4
push str.FlashToolLib_source_common_handle_src_flashtool_handle_internal.cpp
mov edx, str._ERROR:
or cl, 0xff
mov eax, 0x1121
lea esi, [esp + 0x24]
call fcn.10111280
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x10dc], 1
cmp dword [ebp + 0x18], 0x10
jb 0x100e5292
mov ecx, dword [ecx]
mov edx, dword [esp + 0x34]
push 0x1008
push ecx
movzx ecx, word [esp + 0x10ec]
push ecx
mov ecx, dword [0x103b321c]
push edx
push str.DL_HANDLE_0x_08X_::UpdateRomFileInfoByPreloader__:___u_:__s___Parse_GFH_FILE_INFO_error_0x_08X__
push ecx
push eax
call fcn.10111350
add esp, 0x1c
or edi, 0xffffffff
push str.FlashToolLib_source_common_handle_src_flashtool_handle_internal.cpp
mov edx, str._ERROR:
or cl, 0xff
mov eax, 0x1122
lea esi, [esp + 0x24]
mov dword [esp + 0x10e0], edi
call fcn.10111280
mov dword [esp + 0x10dc], 2
mov edx, dword [0x103b321c]
push str.DL_HANDLE_0x_08X_::File_length_not_match_with_GFH_specified_file_length
push edx
push eax
call fcn.10111350
add esp, 0xc
push str.FlashToolLib_source_common_handle_src_flashtool_handle_internal.cpp
mov edx, str._ERROR:
or cl, 0xff
mov eax, 0x1123
lea esi, [esp + 0x24]
mov dword [esp + 0x10e0], edi
call fcn.10111280
mov dword [esp + 0x10dc], 3
mov ecx, dword [ebx + 0x20]
mov edx, dword [ebp + 0x41c]
push ecx
mov ecx, dword [ebp + 0x418]
push edx
mov edx, dword [0x103b321c]
push ecx
push str.File_length___d____GFH_specified_file_length___d_
push edx
push eax
call fcn.10111350
add esp, 0x18
mov eax, 0x13ca
jmp 0x100e608c
mov edi, 0x1001
push str.FlashToolLib_source_common_handle_src_flashtool_handle_internal.cpp
mov edx, str._ERROR:
or cl, 0xff
mov eax, 0x112b
lea esi, [esp + 0x24]
call fcn.10111280
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x10dc], 4
cmp dword [ebp + 0x18], 0x10
jb 0x100e5395
mov ecx, dword [ecx]
mov edx, dword [esp + 0x34]
push edi
push ecx
movzx ecx, word [esp + 0x10ec]
push ecx
mov ecx, dword [0x103b321c]
push edx
push str.DL_HANDLE_0x_08X_::UpdateRomFileInfoByPreloader__:___u_:__s___Load_GFH_FILE_INFO_error_0x_08X__
push ecx
push eax
call fcn.10111350
add esp, 0x1c
mov eax, 0x13ca
jmp 0x100e608c
mov esi, dword [esp + 0x1c]
push str.DSP_BL
lea edi, [ebp + 0x68]
mov ecx, 0xe
push ebp
rep movsd dword es:[edi], dword [esi]
call fcn.10044390
add esp, 8
test al, al
je 0x100e56b2
push str.FlashToolLib_source_common_handle_src_flashtool_handle_internal.cpp
mov edx, 0x10201619
xor cl, cl
mov eax, 0x1131
lea esi, [esp + 0x24]
call fcn.10111280
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x10dc], 5
cmp dword [ebp + 0x18], 0x10
jb 0x100e5419
mov ecx, dword [ecx]
mov edx, dword [esp + 0x34]
push ecx
movzx ecx, word [esp + 0x10e8]
push ecx
mov ecx, dword [0x103b321c]
push edx
push str.DL_HANDLE_0x_08X_::UpdateRomFileInfoByPreloader__:___u_:__s___Load_GFH_CHECK_CONFIG
push ecx
push eax
call fcn.10111350
mov edx, 3
add esp, 0x18
mov dword [esp + 0x10dc], 0xffffffff
cmp dx, word [ebp + 0x80]
je 0x100e54a3
push str.FlashToolLib_source_common_handle_src_flashtool_handle_internal.cpp
mov edx, str._ERROR:
or cl, 0xff
mov eax, 0x1136
lea esi, [esp + 0x24]
call fcn.10111280
mov dword [esp + 0x10dc], 6
movzx ecx, word [ebp + 0x80]
mov edx, dword [0x103b321c]
push ecx
push str._DSP_LOG_GFH_FILE_INFO_file_type_error__0x_x___should_be_0x3
push edx
push eax
call fcn.10111350
add esp, 0x10
mov eax, 0x13ca
jmp 0x100e608c
mov eax, dword [ebp + 0x414]
lea ecx, [esp + 0x18]
mov ebx, 0x104
call fcn.10004530
push str.FlashToolLib_source_common_handle_src_flashtool_handle_internal.cpp
mov edx, 0x10201619
cmp eax, 0x1000
jae 0x100e5677
mov esi, dword [esp + 0x1c]
lea edi, [ebp + 0xc0]
mov ecx, 0x38
rep movsd dword es:[edi], dword [esi]
xor cl, cl
mov eax, 0x113f
lea esi, [esp + 0x24]
call fcn.10111280
mov dword [esp + 0x10dc], 7
mov ecx, dword [0x103b321c]
push str._DSP_LOG_The_GFH_CHECK_CONF_dump_information:
push ecx
push eax
call fcn.10111350
add esp, 0xc
or edi, 0xffffffff
push str.FlashToolLib_source_common_handle_src_flashtool_handle_internal.cpp
mov edx, 0x10201619
xor cl, cl
mov eax, 0x1140
lea esi, [esp + 0x24]
mov dword [esp + 0x10e0], edi
call fcn.10111280
mov dword [esp + 0x10dc], 8
mov edx, dword [ebp + 0xc8]
mov ecx, dword [0x103b321c]
push edx
push str._DSP_LOG_m_product_ver:__d
push ecx
push eax
call fcn.10111350
add esp, 0x10
push str.FlashToolLib_source_common_handle_src_flashtool_handle_internal.cpp
mov edx, 0x10201619
xor cl, cl
mov eax, 0x1141
lea esi, [esp + 0x24]
mov dword [esp + 0x10e0], edi
call fcn.10111280
mov dword [esp + 0x10dc], 9
mov edx, dword [ebp + 0xcc]
mov ecx, dword [0x103b321c]
push edx
push str._DSP_LOG_m_image_type:__d
push ecx
push eax
call fcn.10111350
add esp, 0x10
push str.FlashToolLib_source_common_handle_src_flashtool_handle_internal.cpp
mov edx, 0x10201619
xor cl, cl
mov eax, 0x1142
lea esi, [esp + 0x24]
mov dword [esp + 0x10e0], edi
call fcn.10111280
lea edx, [ebp + 0xd0]
push edx
mov dword [esp + 0x10e0], 0xa
mov ecx, dword [0x103b321c]
push str._DSP_LOG_Platform_ID:__s
push ecx
push eax
call fcn.10111350
add esp, 0x10
push str.FlashToolLib_source_common_handle_src_flashtool_handle_internal.cpp
mov edx, 0x10201619
xor cl, cl
mov eax, 0x1143
lea esi, [esp + 0x24]
mov dword [esp + 0x10e0], edi
call fcn.10111280
lea edx, [ebp + 0xe0]
push edx
mov dword [esp + 0x10e0], 0xb
mov ecx, dword [0x103b321c]
push str._DSP_LOG_Project_ID:__s
push ecx
push eax
call fcn.10111350
add esp, 0x10
push str.FlashToolLib_source_common_handle_src_flashtool_handle_internal.cpp
mov edx, 0x10201619
xor cl, cl
mov eax, 0x1144
lea esi, [esp + 0x24]
mov dword [esp + 0x10e0], edi
call fcn.10111280
mov dword [esp + 0x10dc], 0xc
mov edx, dword [0x103b321c]
push str._DSP_LOG_The_GFH_CHECK_CONF_dump_information_done
push edx
push eax
call fcn.10111350
mov dword [esp + 0x10e8], edi
jmp 0x100e56af
xor cl, cl
mov eax, 0x1148
lea esi, [esp + 0x24]
call fcn.10111280
mov dword [esp + 0x10dc], 0xd
mov ecx, dword [0x103b321c]
push str._DSP_LOG_DSP_BL_not_support_check_config_mechanism
push ecx
push eax
call fcn.10111350
mov dword [esp + 0x10e8], 0xffffffff
add esp, 0xc
mov eax, dword [ebp + 0x414]
lea ecx, [esp + 0x18]
mov ebx, 1
call fcn.10004530
mov edi, eax
cmp edi, 0x1000
jae 0x100e6023
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
mov dword [ebp + 0xa0], edx
mov ecx, dword [eax + 4]
mov dword [ebp + 0xa4], ecx
mov edx, dword [eax + 8]
mov eax, dword [ebp + 0x414]
lea ecx, [esp + 0x18]
mov ebx, 2
mov dword [ebp + 0xa8], edx
call fcn.10004530
mov edi, eax
cmp edi, 0x1000
jae 0x100e57c8
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov eax, esi
call fcn.1014c8b0
mov edi, eax
cmp edi, 0x1000
jae 0x100e5761
mov eax, dword [esi]
mov dword [ebp + 0xac], eax
mov ecx, dword [esi + 4]
mov dword [ebp + 0xb0], ecx
mov edx, dword [esi + 8]
mov dword [ebp + 0xb4], edx
mov eax, dword [esi + 0xc]
mov dword [ebp + 0xb8], eax
mov ecx, dword [esi + 0x10]
mov dword [ebp + 0xbc], ecx
or edi, 0xffffffff
jmp 0x100e5828
push str.FlashToolLib_source_common_handle_src_flashtool_handle_internal.cpp
mov edx, str._ERROR:
or cl, 0xff
mov eax, 0x1167
lea esi, [esp + 0x24]
call fcn.10111280
mov dword [esp + 0x10dc], 0xf
cmp dword [ebp + 0x18], 0x10
jb 0x100e5795
mov edx, dword [esp + 0x14]
mov ecx, dword [edx]
jmp 0x100e5799
mov ecx, dword [esp + 0x14]
mov edx, dword [0x103b321c]
push edi
push ecx
movzx ecx, word [esp + 0x10ec]
push ecx
mov ecx, dword [esp + 0x40]
push ecx
push str.DL_HANDLE_0x_08X_::UpdateRomFileInfoByPreloader__:___u_:__s___Parse_GFH_ANTI_CLONE_error_0x_08X__
push edx
push eax
call fcn.10111350
add esp, 0x1c
mov eax, 0x13cc
jmp 0x100e608c
push str.FlashToolLib_source_common_handle_src_flashtool_handle_internal.cpp
mov edx, str._WARNING:
mov cl, 0xd2
mov eax, 0x116e
lea esi, [esp + 0x24]
call fcn.10111280
mov ecx, 0x10
mov dword [esp + 0x10dc], ecx
cmp dword [ebp + 0x18], ecx
mov ecx, dword [esp + 0x14]
jb 0x100e57f9
mov ecx, dword [ecx]
mov edx, dword [esp + 0x34]
push edi
push ecx
movzx ecx, word [esp + 0x10ec]
push ecx
mov ecx, dword [0x103b321c]
push edx
push str.DL_HANDLE_0x_08X_::UpdateRomFileInfoByPreloader__:___u_:__s___Load_GFH_ANTI_CLONE_error_0x_08X__
push ecx
push eax
call fcn.10111350
add esp, 0x1c
or edi, 0xffffffff
mov dword [esp + 0x10dc], edi
mov eax, dword [ebp + 0x414]
lea ecx, [esp + 0x18]
mov ebx, 3
call fcn.10004530
mov ebx, eax
cmp ebx, 0x1000
jae 0x100e59c8
mov ebx, dword [esp + 0x18]
xor esi, esi
cmp ebx, esi
je 0x100e598c
movzx edx, word [ebx + 4]
sub edx, 8
cmp edx, 0x20c
je 0x100e58b6
push str.FlashToolLib_source_common_handle_src_flashtool_handle_internal.cpp
mov edx, str._ERROR:
or cl, 0xff
mov eax, 0x117e
lea esi, [esp + 0x24]
call fcn.10111280
mov dword [esp + 0x10dc], 0x11
movzx ecx, word [ebx + 4]
movzx edx, word [ebx + 6]
push ecx
mov ecx, dword [0x103b321c]
push edx
push str.Type___d____Size___d_
push ecx
push eax
call fcn.10111350
add esp, 0x14
mov eax, 0x13ce
jmp 0x100e608c
push 0x40
lea eax, [esp + 0x88]
lea edx, [ebx + 8]
push esi
push eax
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], 0x20c
call fcn.10173270
add esp, 0xc
push 4
mov dword [esp + 0xc8], esi
call fcn.1016d7a5
add esp, 4
cmp eax, esi
je 0x100e58f5
mov dword [eax], vtable.HashSHA256.0
mov esi, eax
mov edx, dword [esi]
mov edx, dword [edx + 4]
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0x40]
push ecx
mov ecx, esi
call edx
mov edi, eax
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
cmp edi, 1
je 0x100e5961
push str.FlashToolLib_source_common_handle_src_flashtool_handle_internal.cpp
mov edx, str._ERROR:
or cl, 0xff
mov eax, 0x118b
lea esi, [esp + 0x24]
call fcn.10111280
mov dword [esp + 0x10dc], 0x12
mov ecx, dword [0x103b321c]
push str.Calculate_hash_failed
push ecx
push eax
call fcn.10111350
add esp, 0xc
mov eax, 0x13cf
jmp 0x100e608c
lea edi, [ebp + 0x1a0]
mov ecx, 0x85
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
lea edi, [ebp + 0x3b4]
mov ecx, 8
lea esi, [esp + 0x84]
rep movsd dword es:[edi], dword [esi]
or edi, 0xffffffff
jmp 0x100e5a25
push str.FlashToolLib_source_common_handle_src_flashtool_handle_internal.cpp
mov edx, str._WARNING:
mov cl, 0xd2
mov eax, 0x1198
lea esi, [esp + 0x24]
call fcn.10111280
mov dword [esp + 0x10dc], 0x13
mov edx, dword [0x103b321c]
push str.Load_GFH_BL_SEC_KEY_not_found
push edx
push eax
call fcn.10111350
add esp, 0xc
jmp 0x100e5a1e
push str.FlashToolLib_source_common_handle_src_flashtool_handle_internal.cpp
mov edx, str._WARNING:
mov cl, 0xd2
mov eax, 0x119d
lea esi, [esp + 0x24]
call fcn.10111280
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x10dc], 0x14
cmp dword [ebp + 0x18], 0x10
jb 0x100e59f9
mov ecx, dword [ecx]
mov edx, dword [esp + 0x34]
push ebx
push ecx
movzx ecx, word [esp + 0x10ec]
push ecx
mov ecx, dword [0x103b321c]
push edx
push str.DL_HANDLE_0x_08X_::UpdateRomFileInfoByPreloader__:___u_:__s___Load_GFH_BL_SEC_KEY_error_0x_08X__
push ecx
push eax
call fcn.10111350
add esp, 0x1c
mov dword [esp + 0x10dc], edi
mov al, byte [ebp + 0x83]
xor cl, cl
push str.FlashToolLib_source_common_handle_src_flashtool_handle_internal.cpp
mov edx, 0x10201619
lea esi, [esp + 0x24]
cmp al, 3
jne 0x100e5a9c
mov eax, 0x11a7
call fcn.10111280
mov dword [esp + 0x10dc], 0x15
mov edx, dword [0x103b321c]
push str.PL_Verification:_Hash__Signature
push edx
push eax
call fcn.10111350
mov dword [esp + 0x10e8], edi
mov ecx, dword [ebp + 0x414]
mov eax, 1
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x88]
sub eax, dword [ebp + 0x94]
add esp, 0xc
add eax, ecx
lea ebx, [eax + 4]
add eax, 0x24
jmp 0x100e5b56
cmp al, 1
jne 0x100e5afd
mov eax, 0x11af
call fcn.10111280
mov dword [esp + 0x10dc], 0x16
mov edx, dword [0x103b321c]
push str.PL_Verification:_Hash_only
push edx
push eax
call fcn.10111350
mov dword [esp + 0x10e8], edi
mov ebx, dword [ebp + 0x88]
sub ebx, dword [ebp + 0x94]
add esp, 0xc
add ebx, dword [ebp + 0x414]
mov dword [esp + 0x1c], 1
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
jmp 0x100e5b5a
cmp al, 2
jne 0x100e5ff2
mov eax, 0x11b7
call fcn.10111280
mov dword [esp + 0x10dc], 0x17
mov ecx, dword [0x103b321c]
push str.PL_Verification:_Signature_only
push ecx
push eax
call fcn.10111350
mov dword [esp + 0x10e8], edi
mov eax, dword [ebp + 0x88]
sub eax, dword [ebp + 0x94]
xor ebx, ebx
add esp, 0xc
add eax, dword [ebp + 0x414]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], eax
cmp word [ebp + 0x80], 3
jne 0x100e5bb3
push str.FlashToolLib_source_common_handle_src_flashtool_handle_internal.cpp
mov edx, 0x10201619
xor cl, cl
mov eax, 0x11c9
lea esi, [esp + 0x24]
call fcn.10111280
mov dword [esp + 0x10dc], 0x19
mov edx, dword [0x103b321c]
push str.DSP_BL_detected...
push edx
push eax
call fcn.10111350
add esp, 0xc
xor ebx, ebx
mov dword [esp + 0x10dc], edi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 0x20a0]
xor esi, esi
cmp eax, esi
je 0x100e5c0b
cmp dword [eax], 0x2694
jne 0x100e5c0b
mov dword [esp + 0x24], 0x11d2
push str.user_stop_load_scatter
lea edi, [esp + 0x24]
mov dword [esp + 0x24], str.FlashToolLib_source_common_handle_src_flashtool_handle_internal.cpp
mov byte [esp + 0x2c], 0
mov dword [esp + 0x30], str._DEBUG:
mov dword [esp + 0x34], str.DL_HANDLE::UpdateRomFileInfoByPreloader
call fcn.10017c90
add esp, 4
mov eax, 0x3e8
jmp 0x100e608c
mov eax, dword [ebp + 0x88]
sub eax, dword [ebp + 0x94]
mov ecx, dword [ebp + 0x414]
push 0x40
lea edx, [esp + 0x88]
push esi
push edx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
call fcn.10173270
add esp, 0xc
push 4
mov dword [esp + 0xc8], esi
call fcn.1016d7a5
add esp, 4
cmp eax, esi
je 0x100e5c55
mov dword [eax], vtable.HashSHA256.0
mov esi, eax
mov eax, dword [esi]
mov eax, dword [eax + 4]
lea ecx, [esp + 0x84]
push ecx
lea edx, [esp + 0x6c]
push edx
mov ecx, esi
call eax
mov edx, dword [esi]
mov edi, eax
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
cmp edi, 1
je 0x100e5cc1
push str.FlashToolLib_source_common_handle_src_flashtool_handle_internal.cpp
mov edx, str._ERROR:
or cl, 0xff
mov eax, 0x11e1
lea esi, [esp + 0x24]
call fcn.10111280
mov dword [esp + 0x10dc], 0x1a
mov ecx, dword [0x103b321c]
push str.SV5_Bootloader_Hash_Calculation_Failed
push ecx
push eax
call fcn.10111350
add esp, 0xc
mov eax, 0x13d2
jmp 0x100e608c
cmp dword [esp + 0x1c], 0
lea edx, [ebp + 0x3d4]
mov ecx, 8
lea esi, [esp + 0x84]
mov edi, edx
mov dword [esp + 0x3c], edx
rep movsd dword es:[edi], dword [esi]
je 0x100e5d02
mov eax, 0x20
sub edx, ebx
lea esp, [esp]
mov ecx, dword [ebx + edx]
cmp ecx, dword [ebx]
jne 0x100e5d25
sub eax, 4
add ebx, 4
cmp eax, 4
jae 0x100e5cf0
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 0x20a0]
test eax, eax
je 0x100e5d6a
cmp dword [eax], 0x2694
jne 0x100e5d6a
mov dword [esp + 0x24], 0x11f2
jmp 0x100e5bd3
push str.FlashToolLib_source_common_handle_src_flashtool_handle_internal.cpp
mov edx, str._ERROR:
or cl, 0xff
mov eax, 0x11ea
lea esi, [esp + 0x24]
call fcn.10111280
mov dword [esp + 0x10dc], 0x1b
mov edx, dword [0x103b321c]
push str.SV5_Bootloader_Hash_Verification_Failed
push edx
push eax
call fcn.10111350
add esp, 0xc
mov eax, 0x13d3
jmp 0x100e608c
cmp dword [esp + 0x14], 0
je 0x100e5176
xor eax, eax
push 0x1000
push eax
lea ecx, [esp + 0xd4]
push ecx
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
call fcn.10173270
movzx edx, word [ebp + 0x1b2]
mov cx, word [ebp + 0x1b0]
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x24]
mov word [esp + 0x5c], cx
mov ecx, dword [ebp + 0x1ac]
mov dword [esp + 0x60], edx
mov eax, 0x80
lea edx, [ebp + 0x2b4]
mov dword [esp + 0x58], eax
mov dword [esp + 0x64], ecx
mov ecx, dword [ebp + 0x1a8]
mov dword [esp + 0x68], edx
mov dword [esp + 0x40], eax
lea edx, [ebp + 0x1b4]
lea eax, [esp + 0xd8]
add esp, 0xc
mov dword [esp + 0x44], 0
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], edx
mov dword [esp + 0x38], eax
call fcn.1016a730
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x48]
push edx
call 0x10169980
add esp, 8
push str.FlashToolLib_source_common_handle_src_flashtool_handle_internal.cpp
lea esi, [esp + 0x24]
test eax, eax
je 0x100e5e80
mov edx, str._ERROR:
or cl, 0xff
mov eax, 0x1218
call fcn.10111280
mov dword [esp + 0x10dc], 0x1c
mov ecx, dword [0x103b321c]
push str.SV5_Bootloader_Signature_Decryption_Failed
push ecx
push eax
call fcn.10111350
add esp, 0xc
mov eax, 0x13d4
jmp 0x100e608c
mov edx, 0x10201619
xor cl, cl
mov eax, 0x121c
call fcn.10111280
mov dword [esp + 0x10dc], 0x1d
movzx edx, byte [ebp + 0x3db]
movzx ecx, byte [ebp + 0x3da]
mov edi, dword [esp + 0x3c]
push edx
movzx edx, byte [ebp + 0x3d9]
push ecx
movzx ecx, byte [ebp + 0x3d8]
push edx
movzx edx, byte [ebp + 0x3d7]
push ecx
movzx ecx, byte [ebp + 0x3d6]
push edx
movzx edx, byte [ebp + 0x3d5]
push ecx
movzx ecx, byte [edi]
push edx
mov edx, dword [0x103b321c]
push ecx
push str.image_hash___x__x__x__x__x__x__x__x
push edx
push eax
call fcn.10111350
add esp, 0x2c
or ebx, 0xffffffff
push str.FlashToolLib_source_common_handle_src_flashtool_handle_internal.cpp
mov edx, 0x10201619
xor cl, cl
mov eax, 0x121d
lea esi, [esp + 0x24]
mov dword [esp + 0x10e0], ebx
call fcn.10111280
mov dword [esp + 0x10dc], 0x1e
movzx ecx, byte [esp + 0xd3]
movzx edx, byte [esp + 0xd2]
push ecx
movzx ecx, byte [esp + 0xd5]
push edx
movzx edx, byte [esp + 0xd8]
push ecx
movzx ecx, byte [esp + 0xdb]
push edx
movzx edx, byte [esp + 0xde]
push ecx
movzx ecx, byte [esp + 0xe1]
push edx
movzx edx, byte [esp + 0xe4]
push ecx
mov ecx, dword [0x103b321c]
push edx
push str.dec_sig______x__x__x__x__x__x__x__x
push ecx
push eax
call fcn.10111350
lea eax, [esp + 0xf8]
mov ecx, edi
mov esi, eax
add esp, 0x2c
mov dword [esp + 0x10dc], ebx
lea edx, [ebx + 0x21]
sub ecx, esi
mov esi, dword [eax + ecx]
cmp esi, dword [eax]
jne 0x100e5fad
sub edx, 4
add eax, 4
cmp edx, 4
jae 0x100e5f94
xor eax, eax
jmp 0x100e608c
push str.FlashToolLib_source_common_handle_src_flashtool_handle_internal.cpp
mov edx, str._ERROR:
or cl, 0xff
mov eax, 0x1221
lea esi, [esp + 0x74]
call fcn.10111280
mov dword [esp + 0x10dc], 0x1f
mov edx, dword [0x103b321c]
push str.SV5_Bootloader_Signature_Verification_Failed
push edx
push eax
call fcn.10111350
add esp, 0xc
mov eax, 0x13d5
jmp 0x100e608c
mov eax, 0x11bf
call fcn.10111280
mov dword [esp + 0x10dc], 0x18
mov ecx, dword [0x103b321c]
push str.PL_Verification:_Unsupported_Signature_Type
push ecx
push eax
call fcn.10111350
add esp, 0xc
mov eax, 0x13d6
jmp 0x100e608c
push str.FlashToolLib_source_common_handle_src_flashtool_handle_internal.cpp
mov edx, str._ERROR:
or cl, 0xff
mov eax, 0x1156
lea esi, [esp + 0x24]
call fcn.10111280
mov dword [esp + 0x10dc], 0xe
cmp dword [ebp + 0x18], 0x10
jb 0x100e6057
mov edx, dword [esp + 0x14]
mov ecx, dword [edx]
jmp 0x100e605b
mov ecx, dword [esp + 0x14]
mov edx, dword [0x103b321c]
push edi
push ecx
movzx ecx, word [esp + 0x10ec]
push ecx
mov ecx, dword [esp + 0x40]
push ecx
push str.DL_HANDLE_0x_08X_::UpdateRomFileInfoByPreloader__:___u_:__s___Load_GFH_BL_INFO_error_0x_08X__
push edx
push eax
call fcn.10111350
add esp, 0x1c
mov eax, 0x13cb
jmp 0x100e608c
mov eax, 0x138c
mov ecx, dword [esp + 0x10d4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x10b8]
xor ecx, esp
call fcn.1016cb16
add esp, 0x10cc
ret 4