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

Disassembly:
sub esp, 0x74
mov eax, dword [0x10279264]
xor eax, esp
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x7c]
push ebx
push ebp
mov ebp, dword [esp + 0x80]
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x3c], esi
test esi, esi
je 0x10054aab
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
je 0x10054aab
xor edx, edx
cmp dx, word [esi + 0x68]
jae 0x10054aab
mov eax, dword [esi + 0x20a8]
push 0xdd
push str.send_DA_NAND_IMAGE_LIST_CMD_0x_02X_.
lea edi, [esp + 0x70]
mov dword [esp + 0x1c], eax
mov byte [esp + 0x20], 0xdd
mov dword [esp + 0x70], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x74], 0xd99
mov byte [esp + 0x78], dl
mov dword [esp + 0x7c], str._DEBUG:
mov dword [esp + 0x80], str.DA_cmd::CMD_NAND_SetupImageList
call fcn.10017c90
mov edx, dword [esp + 0x18]
add esp, 8
push 1
push 1
lea ecx, [esp + 0x20]
push ecx
push edx
push ebp
mov ebx, 1
call fcn.1004a550
test eax, eax
je 0x1005370b
lea eax, [ebx + 1]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.1016cb16
add esp, 0x74
ret 8
push 0xa5
push str.send_MBA_feature_0x_02X_.
lea edi, [esp + 0x70]
mov byte [esp + 0x20], 0xa5
mov dword [esp + 0x70], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x74], 0xda0
mov byte [esp + 0x78], 0
mov dword [esp + 0x7c], str._DEBUG:
mov dword [esp + 0x80], str.DA_cmd::CMD_NAND_SetupImageList
call fcn.10017c90
mov ecx, dword [esp + 0x18]
add esp, 8
push 1
push 1
lea eax, [esp + 0x20]
push eax
push ecx
push ebp
call fcn.1004a550
test eax, eax
je 0x10053780
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.1016cb16
add esp, 0x74
ret 8
push 0xa5
push str.send_MBA_Partial_feature_0x_02X_.
lea edi, [esp + 0x70]
mov byte [esp + 0x20], 0xa5
mov dword [esp + 0x70], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x74], 0xda6
mov byte [esp + 0x78], 0
mov dword [esp + 0x7c], str._DEBUG:
mov dword [esp + 0x80], str.DA_cmd::CMD_NAND_SetupImageList
call fcn.10017c90
mov eax, dword [esp + 0x18]
add esp, 8
push 1
push 1
lea edx, [esp + 0x20]
push edx
push eax
push ebp
call fcn.1004a550
test eax, eax
jne 0x10053766
push 0xa5
push str.send_FOTA_feature_0x_02X_.
lea edi, [esp + 0x70]
mov byte [esp + 0x20], 0xa5
mov dword [esp + 0x70], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x74], 0xdad
mov byte [esp + 0x78], al
mov dword [esp + 0x7c], str._DEBUG:
mov dword [esp + 0x80], str.DA_cmd::CMD_NAND_SetupImageList
call fcn.10017c90
mov edx, dword [esp + 0x18]
add esp, 8
push 1
push 1
lea ecx, [esp + 0x20]
push ecx
push edx
push ebp
call fcn.1004a550
test eax, eax
jne 0x10053766
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
xor ebx, ebx
xor edi, edi
add eax, edx
je 0x10053882
call fcn.10063390
cmp dword [eax + 0x64], 7
je 0x10053864
inc ebx
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
inc edi
add ecx, edx
cmp edi, ecx
jb 0x10053858
movzx edx, bl
push edx
push str.send_IMAGE_LIST_IMAGE_COUNT_0x_02X_.
lea edi, [esp + 0x70]
mov byte [esp + 0x20], bl
mov dword [esp + 0x70], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x74], 0xdc4
mov byte [esp + 0x78], 0
mov dword [esp + 0x7c], str._DEBUG:
mov dword [esp + 0x80], str.DA_cmd::CMD_NAND_SetupImageList
call fcn.10017c90
mov ecx, dword [esp + 0x18]
add esp, 8
push 1
push 1
lea eax, [esp + 0x20]
push eax
push ecx
push ebp
mov ebx, 1
call fcn.1004a550
test eax, eax
je 0x100538fa
mov eax, 8
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.1016cb16
add esp, 0x74
ret 8
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
xor ebx, ebx
xor edi, edi
add eax, edx
je 0x10053953
mov esi, dword [esp + 0x3c]
lea ecx, [ecx]
call fcn.10063390
cmp dword [eax + 0x64], 7
je 0x10053935
cmp byte [eax + 0x5b8], 1
jne 0x10053935
inc ebx
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
inc edi
add ecx, edx
cmp edi, ecx
jb 0x10053920
movzx edx, bl
push edx
push str.send_IMAGE_LIST_ENABLE_COUNT_0x_02X_.
lea edi, [esp + 0x70]
mov byte [esp + 0x20], bl
mov dword [esp + 0x70], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x74], 0xdd6
mov byte [esp + 0x78], 0
mov dword [esp + 0x7c], str._DEBUG:
mov dword [esp + 0x80], str.DA_cmd::CMD_NAND_SetupImageList
call fcn.10017c90
mov ecx, dword [esp + 0x18]
add esp, 8
push 1
push 1
lea eax, [esp + 0x20]
push eax
push ecx
push ebp
mov ebx, 1
call fcn.1004a550
test eax, eax
jne 0x100538e0
cmp byte [esi + 0x1e8], al
je 0x1005406f
mov ecx, dword [esi + 0x250]
mov ebx, dword [esi + 0x258]
mov edx, dword [esi + 0x254]
add ebx, ecx
adc eax, edx
add ebx, 0xffffffff
adc eax, 0xffffffff
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
cmp eax, 0xa1
je 0x10053afa
cmp eax, 0x91
je 0x10053afa
cmp eax, 0x92
jl 0x10053a15
cmp eax, 0x95
jle 0x10053afa
cmp eax, 0x99
je 0x10053afa
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
push ecx
push eax
push ecx
push eax
push str.Head_SEC_INFO_BEGIN_ADDR_0x_08X__lu.
lea edi, [esp + 0x7c]
mov dword [esp + 0x7c], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x80], 0xdf3
mov byte [esp + 0x84], 0
mov dword [esp + 0x88], str._DEBUG:
mov dword [esp + 0x8c], str.DA_cmd::CMD_NAND_SetupImageList
call fcn.10017c90
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x44]
add esp, 0x14
push edx
push ebp
call fcn.1004ab60
test eax, eax
jne 0x10053b5d
mov byte [esp + 0x70], al
mov eax, dword [esp + 0x4c]
push eax
push ebx
push eax
push ebx
push str.Head_SEC_INFO_END_ADDR_0x_08X__lu.
lea edi, [esp + 0x7c]
mov dword [esp + 0x7c], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x80], 0xdf8
mov dword [esp + 0x88], str._DEBUG:
mov dword [esp + 0x8c], str.DA_cmd::CMD_NAND_SetupImageList
call fcn.10017c90
mov eax, dword [esp + 0x24]
add esp, 0x14
push eax
push ebp
mov eax, ebx
call fcn.1004ab60
test eax, eax
je 0x10053bda
mov eax, 0xa
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.1016cb16
add esp, 0x74
ret 8
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
push eax
push esi
push eax
push esi
push str.Head_SEC_INFO_BEGIN_ADDR_0x_016I64X__llu.
lea edi, [esp + 0x7c]
mov dword [esp + 0x7c], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x80], 0xde7
mov byte [esp + 0x84], 0
mov dword [esp + 0x88], str._DEBUG:
mov dword [esp + 0x8c], str.DA_cmd::CMD_NAND_SetupImageList
call fcn.10017c90
mov ecx, dword [esp + 0x48]
mov edi, dword [esp + 0x24]
add esp, 0x14
push ecx
push esi
mov esi, ebp
call fcn.1004ac10
test eax, eax
je 0x10053b77
mov eax, 9
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.1016cb16
add esp, 0x74
ret 8
mov esi, dword [esp + 0x4c]
push esi
push ebx
push esi
push ebx
push str.Head_SEC_INFO_END_ADDR_0x_016I64X__llu.
lea edi, [esp + 0x7c]
mov dword [esp + 0x7c], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x80], 0xdec
mov byte [esp + 0x84], 0
mov dword [esp + 0x88], str._DEBUG:
mov dword [esp + 0x8c], str.DA_cmd::CMD_NAND_SetupImageList
call fcn.10017c90
mov edi, dword [esp + 0x24]
add esp, 0x14
push esi
push ebx
mov esi, ebp
call fcn.1004ac10
test eax, eax
jne 0x10053ae0
mov esi, dword [esp + 0x3c]
push str.wait_for_ACK.
lea edi, [esp + 0x6c]
mov dword [esp + 0x6c], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x70], 0xe03
mov byte [esp + 0x74], 0
mov dword [esp + 0x78], str._DEBUG:
mov dword [esp + 0x7c], str.DA_cmd::CMD_NAND_SetupImageList
call fcn.10017c90
mov eax, dword [esp + 0x14]
add esp, 4
push 1
push 0x2710
push 1
lea edx, [esp + 0x24]
push edx
push eax
push ebp
mov ebx, 1
call fcn.1004a830
test eax, eax
je 0x10053c4c
mov eax, 0xc
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.1016cb16
add esp, 0x74
ret 8
cmp byte [esp + 0x18], 0x5a
je 0x10053cfb
mov edx, dword [esp + 0x10]
push 1
push 0x2710
push 1
lea ecx, [esp + 0x20]
push ecx
push edx
push ebp
mov ebx, 4
call fcn.1004a830
test eax, eax
jne 0x10053ce1
mov eax, dword [esp + 0x14]
movzx ecx, byte [esp + 0x16]
movzx edx, byte [esp + 0x17]
movzx esi, al
shl esi, 8
movzx eax, ah
or esi, eax
shl esi, 8
or esi, ecx
shl esi, 8
or esi, edx
mov dword [esp + 0x6c], 0xe0b
push esi
push esi
mov dword [esp + 0x70], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov byte [esp + 0x78], 0xff
mov dword [esp + 0x7c], str._ERROR:
mov dword [esp + 0x80], str.DA_cmd::CMD_NAND_SetupImageList
call sym.FlashToolLib.v1.dll_StatusToString
push eax
lea edi, [esp + 0x70]
push 0x102250f4
call fcn.10017c90
mov eax, esi
jmp 0x10054afe
mov eax, 0xd
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.1016cb16
add esp, 0x74
ret 8
push 0x5a
push str.ACK_0x_02X__OK_
lea edi, [esp + 0x70]
mov dword [esp + 0x70], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x74], 0xe0e
mov byte [esp + 0x78], 0
mov dword [esp + 0x7c], str._DEBUG:
mov dword [esp + 0x80], str.DA_cmd::CMD_NAND_SetupImageList
call fcn.10017c90
mov eax, dword [esi + 0x260]
mov ebx, dword [esi + 0x268]
mov ecx, dword [esi + 0x264]
xor edx, edx
add esp, 8
add ebx, eax
adc edx, ecx
add ebx, 0xffffffff
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x14]
adc edx, 0xffffffff
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], edx
cmp eax, 0xa1
je 0x10053e71
cmp eax, 0x91
je 0x10053e71
cmp eax, 0x92
jl 0x10053d8c
cmp eax, 0x95
jle 0x10053e71
cmp eax, 0x99
je 0x10053e71
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
push ecx
push eax
push ecx
push eax
push str.Tail_SEC_INFO_BEGIN_ADDR_0x_08X__lu.
lea edi, [esp + 0x7c]
mov dword [esp + 0x7c], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x80], 0xe24
mov byte [esp + 0x84], 0
mov dword [esp + 0x88], str._DEBUG:
mov dword [esp + 0x8c], str.DA_cmd::CMD_NAND_SetupImageList
call fcn.10017c90
mov eax, dword [esp + 0x24]
add esp, 0x14
push eax
mov eax, dword [esp + 0x34]
push ebp
call fcn.1004ab60
test eax, eax
jne 0x10053ed4
mov byte [esp + 0x70], al
mov eax, dword [esp + 0x4c]
push eax
push ebx
push eax
push ebx
push str.Tail_SEC_INFO_END_ADDR_0x_08X__lu.
lea edi, [esp + 0x7c]
mov dword [esp + 0x7c], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x80], 0xe29
mov dword [esp + 0x88], str._DEBUG:
mov dword [esp + 0x8c], str.DA_cmd::CMD_NAND_SetupImageList
call fcn.10017c90
mov ecx, dword [esp + 0x24]
add esp, 0x14
push ecx
push ebp
mov eax, ebx
call fcn.1004ab60
test eax, eax
je 0x10053f51
mov eax, 0xf
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.1016cb16
add esp, 0x74
ret 8
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
push eax
push esi
push eax
push esi
push str.Tail_SEC_INFO_BEGIN_ADDR_0x_016I64X__llu.
lea edi, [esp + 0x7c]
mov dword [esp + 0x7c], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x80], 0xe18
mov byte [esp + 0x84], 0
mov dword [esp + 0x88], str._DEBUG:
mov dword [esp + 0x8c], str.DA_cmd::CMD_NAND_SetupImageList
call fcn.10017c90
mov edx, dword [esp + 0x48]
mov edi, dword [esp + 0x24]
add esp, 0x14
push edx
push esi
mov esi, ebp
call fcn.1004ac10
test eax, eax
je 0x10053eee
mov eax, 0xe
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.1016cb16
add esp, 0x74
ret 8
mov esi, dword [esp + 0x4c]
push esi
push ebx
push esi
push ebx
push str.Tail_SEC_INFO_END_ADDR_0x_016I64X__llu.
lea edi, [esp + 0x7c]
mov dword [esp + 0x7c], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x80], 0xe1d
mov byte [esp + 0x84], 0
mov dword [esp + 0x88], str._DEBUG:
mov dword [esp + 0x8c], str.DA_cmd::CMD_NAND_SetupImageList
call fcn.10017c90
mov edi, dword [esp + 0x24]
add esp, 0x14
push esi
push ebx
mov esi, ebp
call fcn.1004ac10
test eax, eax
jne 0x10053e57
mov esi, dword [esp + 0x3c]
push str.wait_for_ACK.
lea edi, [esp + 0x6c]
mov dword [esp + 0x6c], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x70], 0xe34
mov byte [esp + 0x74], 0
mov dword [esp + 0x78], str._DEBUG:
mov dword [esp + 0x7c], str.DA_cmd::CMD_NAND_SetupImageList
call fcn.10017c90
mov ecx, dword [esp + 0x14]
add esp, 4
push 1
push 0x2710
push 1
lea eax, [esp + 0x24]
push eax
push ecx
push ebp
mov ebx, 1
call fcn.1004a830
test eax, eax
je 0x10053fc1
lea eax, [ebx + 0x10]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.1016cb16
add esp, 0x74
ret 8
cmp byte [esp + 0x18], 0x5a
je 0x10054034
mov eax, dword [esp + 0x10]
push 1
push 0x2710
push 1
lea edx, [esp + 0x20]
push edx
push eax
push ebp
mov ebx, 4
call fcn.1004a830
test eax, eax
jne 0x1005401a
mov eax, dword [esp + 0x14]
movzx edx, byte [esp + 0x16]
movzx esi, al
shl esi, 8
movzx ecx, ah
movzx eax, byte [esp + 0x17]
or esi, ecx
shl esi, 8
or esi, edx
shl esi, 8
or esi, eax
mov dword [esp + 0x6c], 0xe3c
jmp 0x10053ca4
mov eax, 0x12
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.1016cb16
add esp, 0x74
ret 8
push 0x5a
push str.ACK_0x_02X__OK_
lea edi, [esp + 0x70]
mov dword [esp + 0x70], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x74], 0xe3f
mov byte [esp + 0x78], 0
mov dword [esp + 0x7c], str._DEBUG:
mov dword [esp + 0x80], str.DA_cmd::CMD_NAND_SetupImageList
call fcn.10017c90
add esp, 8
mov eax, dword [esi + 0x1d8]
mov ebx, dword [esi + 0x1e0]
mov ecx, dword [esi + 0x1dc]
add ebx, eax
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x1e4]
adc eax, ecx
add ebx, 0xffffffff
adc eax, 0xffffffff
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], ecx
cmp eax, 0xa1
je 0x100541ae
cmp eax, 0x91
je 0x100541ae
cmp eax, 0x92
jl 0x100540c9
cmp eax, 0x95
jle 0x100541ae
cmp eax, 0x99
je 0x100541ae
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
push ecx
push eax
push ecx
push eax
push str.ROM_INFO_BEGIN_ADDR_0x_08X__lu.
lea edi, [esp + 0x7c]
mov dword [esp + 0x7c], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x80], 0xe5c
mov byte [esp + 0x84], 0
mov dword [esp + 0x88], str._DEBUG:
mov dword [esp + 0x8c], str.DA_cmd::CMD_NAND_SetupImageList
call fcn.10017c90
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x44]
add esp, 0x14
push ecx
push ebp
call fcn.1004ab60
test eax, eax
jne 0x10053b5d
mov byte [esp + 0x70], al
mov eax, dword [esp + 0x54]
push eax
push ebx
push eax
push ebx
push str.ROM_INFO_END_ADDR_0x_08X__lu.
lea edi, [esp + 0x7c]
mov dword [esp + 0x7c], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x80], 0xe61
mov dword [esp + 0x88], str._DEBUG:
mov dword [esp + 0x8c], str.DA_cmd::CMD_NAND_SetupImageList
call fcn.10017c90
mov edx, dword [esp + 0x24]
add esp, 0x14
push edx
push ebp
mov eax, ebx
call fcn.1004ab60
test eax, eax
je 0x10054277
mov eax, 0xa
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.1016cb16
add esp, 0x74
ret 8
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
push eax
push esi
push eax
push esi
push str.ROM_INFO_BEGIN_ADDR_0x_016I64X__llu.
lea edi, [esp + 0x7c]
mov dword [esp + 0x7c], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x80], 0xe50
mov byte [esp + 0x84], 0
mov dword [esp + 0x88], str._DEBUG:
mov dword [esp + 0x8c], str.DA_cmd::CMD_NAND_SetupImageList
call fcn.10017c90
mov eax, dword [esp + 0x48]
mov edi, dword [esp + 0x24]
add esp, 0x14
push eax
push esi
mov esi, ebp
call fcn.1004ac10
test eax, eax
jne 0x10053b5d
mov esi, dword [esp + 0x54]
push esi
push ebx
push esi
push ebx
push str.ROM_INFO_END_ADDR_0x_016I64X__llu.
lea edi, [esp + 0x7c]
mov dword [esp + 0x7c], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x80], 0xe55
mov byte [esp + 0x84], al
mov dword [esp + 0x88], str._DEBUG:
mov dword [esp + 0x8c], str.DA_cmd::CMD_NAND_SetupImageList
call fcn.10017c90
mov edi, dword [esp + 0x24]
add esp, 0x14
push esi
push ebx
mov esi, ebp
call fcn.1004ac10
test eax, eax
jne 0x10053ae0
mov esi, dword [esp + 0x3c]
push str.wait_for_ACK.
lea edi, [esp + 0x6c]
mov dword [esp + 0x6c], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x70], 0xe67
mov byte [esp + 0x74], 0
mov dword [esp + 0x78], str._DEBUG:
mov dword [esp + 0x7c], str.DA_cmd::CMD_NAND_SetupImageList
call fcn.10017c90
mov edx, dword [esp + 0x14]
add esp, 4
push 1
push 0x2710
push 1
lea ecx, [esp + 0x24]
push ecx
push edx
push ebp
mov ebx, 1
call fcn.1004a830
test eax, eax
jne 0x10053c32
cmp byte [esp + 0x18], 0x5a
je 0x1005432e
mov ecx, dword [esp + 0x10]
push ebx
push 0x2710
push ebx
lea eax, [esp + 0x20]
push eax
push ecx
push ebp
mov ebx, 4
call fcn.1004a830
test eax, eax
jne 0x10053ce1
mov eax, dword [esp + 0x14]
movzx ecx, byte [esp + 0x17]
movzx esi, al
shl esi, 8
movzx edx, ah
movzx eax, byte [esp + 0x16]
or esi, edx
shl esi, 8
or esi, eax
shl esi, 8
or esi, ecx
mov dword [esp + 0x6c], 0xe6f
jmp 0x10053ca4
push 0x5a
xor ebx, ebx
push str.ACK_0x_02X__OK_
lea edi, [esp + 0x70]
mov dword [esp + 0x70], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x74], 0xe72
mov byte [esp + 0x78], bl
mov dword [esp + 0x7c], str._DEBUG:
mov dword [esp + 0x80], str.DA_cmd::CMD_NAND_SetupImageList
call fcn.10017c90
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 esp, 8
add eax, edx
mov dword [esp + 0x30], ebx
je 0x100548f5
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x40], ebx
mov edi, ebx
call fcn.10063390
cmp dword [eax + 0x64], 7
mov dword [esp + 0x48], eax
je 0x100548c4
mov cl, byte [eax + 0x5b8]
mov byte [esp + 0x47], cl
mov edx, dword [eax + 0x44]
mov esi, dword [eax + 0x40]
mov dword [esp + 0x5c], edx
mov edx, dword [eax + 0x48]
mov eax, dword [eax + 0x4c]
mov dword [esp + 0x54], eax
movzx eax, cl
mov ecx, dword [esp + 0x40]
push eax
push eax
push ecx
push str.Image__d_:_m_enable_0x_08X__lu.
lea edi, [esp + 0x2c]
mov dword [esp + 0x60], edx
mov dword [esp + 0x2c], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x30], 0xe89
mov byte [esp + 0x34], bl
mov dword [esp + 0x38], str._DEBUG:
mov dword [esp + 0x3c], str.DA_cmd::CMD_NAND_SetupImageList
call fcn.10017c90
mov eax, dword [esp + 0x20]
add esp, 0x10
push 1
push 1
lea edx, [esp + 0x4f]
push edx
push eax
push ebp
mov ebx, 1
call fcn.1004a550
test eax, eax
jne 0x10054941
mov eax, dword [esp + 0x14]
cmp eax, 0xa1
je 0x1005455e
cmp eax, 0x91
je 0x1005455e
cmp eax, 0x92
jl 0x10054458
cmp eax, 0x95
jle 0x1005455e
cmp eax, 0x99
je 0x1005455e
mov eax, dword [esp + 0x5c]
mov ebx, dword [esp + 0x40]
push eax
push esi
push eax
push esi
push ebx
push str._32___64__Image__d_:_BEGIN_ADDR_0x_08X__lu.
lea edi, [esp + 0x34]
mov dword [esp + 0x34], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x38], 0xea6
mov byte [esp + 0x3c], 0
mov dword [esp + 0x40], str._DEBUG:
mov dword [esp + 0x44], str.DA_cmd::CMD_NAND_SetupImageList
call fcn.10017c90
mov ecx, dword [esp + 0x28]
add esp, 0x18
push ecx
push ebp
mov eax, esi
call fcn.1004ab60
test eax, eax
jne 0x1005495b
mov esi, dword [esp + 0x50]
mov byte [esp + 0x24], al
mov eax, dword [esp + 0x54]
push eax
push esi
push eax
push esi
push ebx
push str._32___64__Image__d_:_END_ADDR_0x_08X__lu.
lea edi, [esp + 0x34]
mov dword [esp + 0x34], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x38], 0xead
mov dword [esp + 0x40], str._DEBUG:
mov dword [esp + 0x44], str.DA_cmd::CMD_NAND_SetupImageList
call fcn.10017c90
mov edx, dword [esp + 0x28]
add esp, 0x18
push edx
push ebp
mov eax, esi
call fcn.1004ab60
test eax, eax
jne 0x10054975
push eax
push eax
push eax
push eax
push ebx
push str.Image__d_:_MAX_SIZE_0x_08X__lu.
lea edi, [esp + 0x34]
mov dword [esp + 0x34], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x38], 0xeb3
mov byte [esp + 0x3c], al
mov dword [esp + 0x40], str._DEBUG:
mov dword [esp + 0x44], str.DA_cmd::CMD_NAND_SetupImageList
call fcn.10017c90
mov eax, dword [esp + 0x28]
add esp, 0x18
push eax
push ebp
xor eax, eax
call fcn.1004ab60
jmp 0x1005465c
mov ebx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x40]
push ebx
push esi
push ebx
push esi
push ecx
push str._32___64__Image__d_:_BEGIN_ADDR_0x_016I64X__llu.
lea edi, [esp + 0x34]
mov dword [esp + 0x34], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x38], 0xe91
mov byte [esp + 0x3c], 0
mov dword [esp + 0x40], str._DEBUG:
mov dword [esp + 0x44], str.DA_cmd::CMD_NAND_SetupImageList
call fcn.10017c90
mov edi, dword [esp + 0x28]
add esp, 0x18
push ebx
push esi
mov esi, ebp
call fcn.1004ac10
test eax, eax
jne 0x1005495b
mov ebx, dword [esp + 0x54]
mov esi, dword [esp + 0x50]
mov edx, dword [esp + 0x40]
push ebx
push esi
push ebx
push esi
push edx
push str._32___64__Image__d_:_END_ADDR_0x_016I64X__llu.
lea edi, [esp + 0x34]
mov dword [esp + 0x34], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x38], 0xe98
mov byte [esp + 0x3c], al
mov dword [esp + 0x40], str._DEBUG:
mov dword [esp + 0x44], str.DA_cmd::CMD_NAND_SetupImageList
call fcn.10017c90
mov edi, dword [esp + 0x28]
add esp, 0x18
push ebx
push esi
mov esi, ebp
call fcn.1004ac10
test eax, eax
jne 0x10054975
push eax
push eax
push eax
push eax
mov byte [esp + 0x34], al
mov eax, dword [esp + 0x50]
push eax
push str.Image__d_:_MAX_SIZE_0x_016I64X__llu.
lea edi, [esp + 0x34]
mov dword [esp + 0x34], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x38], 0xe9e
mov dword [esp + 0x40], str._DEBUG:
mov dword [esp + 0x44], str.DA_cmd::CMD_NAND_SetupImageList
call fcn.10017c90
mov edi, dword [esp + 0x28]
add esp, 0x18
push 0
push 0
call fcn.1004ac10
test eax, eax
jne 0x1005498f
mov ebx, dword [esp + 0x48]
mov eax, dword [ebx + 0x5c4]
mov esi, dword [ebx + 0x5c0]
mov ecx, dword [esp + 0x40]
push eax
push esi
push eax
push esi
push ecx
push str._32___64__Image__d_:_PART_LEN_0x_016I64X__llu.
lea edi, [esp + 0x34]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x34], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x38], 0xeba
mov byte [esp + 0x3c], 0
mov dword [esp + 0x40], str._DEBUG:
mov dword [esp + 0x44], str.DA_cmd::CMD_NAND_SetupImageList
call fcn.10017c90
mov edx, dword [esp + 0x7c]
mov edi, dword [esp + 0x28]
add esp, 0x18
push edx
push esi
mov esi, ebp
call fcn.1004ac10
test eax, eax
jne 0x1005498f
mov esi, dword [esp + 0x40]
mov byte [esp + 0x24], al
mov eax, dword [ebx + 0x64]
push eax
push eax
push esi
push str.Image__d_:_rom.m_rom_type_0x_08X__lu.
lea edi, [esp + 0x2c]
mov dword [esp + 0x2c], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x30], 0xec0
mov dword [esp + 0x38], str._DEBUG:
mov dword [esp + 0x3c], str.DA_cmd::CMD_NAND_SetupImageList
call fcn.10017c90
mov eax, dword [esp + 0x20]
add esp, 0x10
push eax
mov eax, dword [ebx + 0x64]
push ebp
call fcn.1004ab60
test eax, eax
jne 0x100549a9
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx + 0x20a8]
cmp eax, 0x8b
je 0x10054767
cmp eax, 0x8d
je 0x10054767
cmp eax, 0xa1
je 0x10054767
cmp eax, 0x9c
je 0x10054767
cmp eax, 0x91
je 0x10054767
cmp eax, 0x92
jl 0x10054760
cmp eax, 0x95
jle 0x10054767
cmp eax, 0x99
jne 0x100547be
mov edx, dword [ebx + 0x5d0]
push edx
push esi
push str.Image__d_:_rom.m_nand_arch_d
lea edi, [esp + 0x28]
mov dword [esp + 0x28], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x2c], 0xecb
mov byte [esp + 0x30], 0
mov dword [esp + 0x34], str._DEBUG:
mov dword [esp + 0x38], str.DA_cmd::CMD_NAND_SetupImageList
call fcn.10017c90
mov ecx, dword [esp + 0x1c]
mov eax, dword [ebx + 0x5d0]
add esp, 0xc
push ecx
push ebp
call fcn.1004ab60
test eax, eax
jne 0x100549c3
xor eax, eax
mov byte [esp + 0x68], 0
mov dword [esp + 0x69], eax
mov dword [esp + 0x6d], eax
mov dword [esp + 0x71], eax
mov word [esp + 0x75], ax
mov byte [esp + 0x77], al
mov eax, dword [ebx + 0x14]
cmp eax, 0x10
jbe 0x100547e7
mov eax, 0x10
cmp dword [ebx + 0x18], 0x10
jb 0x100547f2
mov ebx, dword [ebx + 4]
jmp 0x100547f5
add ebx, 4
push eax
lea edx, [esp + 0x6c]
push ebx
push edx
call fcn.1016d8b0
mov esi, dword [esp + 0x1c]
add esp, 0xc
push 1
push 1
lea eax, [esp + 0x70]
push eax
push esi
push ebp
mov ebx, 0x10
call fcn.1004a550
test eax, eax
jne 0x100549dd
push str.wait_for_ACK.
lea edi, [esp + 0x20]
mov dword [esp + 0x20], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x24], 0xedc
mov byte [esp + 0x28], al
mov dword [esp + 0x2c], str._DEBUG:
mov dword [esp + 0x30], str.DA_cmd::CMD_NAND_SetupImageList
call fcn.10017c90
add esp, 4
push 1
push 0x2710
push 1
lea ecx, [esp + 0x24]
push ecx
push esi
push ebp
mov ebx, 1
call fcn.1004a830
test eax, eax
jne 0x100549f7
cmp byte [esp + 0x18], 0x5a
jne 0x10054a11
push 0x5a
push str.ACK_0x_02X__OK_
lea edi, [esp + 0x24]
mov dword [esp + 0x24], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x28], 0xee8
mov byte [esp + 0x2c], al
mov dword [esp + 0x30], str._DEBUG:
mov dword [esp + 0x34], str.DA_cmd::CMD_NAND_SetupImageList
call fcn.10017c90
mov esi, dword [esp + 0x44]
add esp, 8
xor ebx, ebx
mov eax, dword [esp + 0x30]
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
inc eax
movzx edi, ax
mov dword [esp + 0x30], eax
mov eax, 0xaf3addc7
imul ecx
add edx, ecx
sar edx, 0xa
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x40], edi
cmp edi, eax
jb 0x10054397
push str.pass__done_
lea edi, [esp + 0x20]
mov dword [esp + 0x20], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x24], 0xeeb
mov byte [esp + 0x28], bl
mov dword [esp + 0x2c], str._DEBUG:
mov dword [esp + 0x30], str.DA_cmd::CMD_NAND_SetupImageList
call fcn.10017c90
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.1016cb16
add esp, 0x74
ret 8
mov eax, 0x13
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.1016cb16
add esp, 0x74
ret 8
mov eax, 0x14
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.1016cb16
add esp, 0x74
ret 8
mov eax, 0x15
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.1016cb16
add esp, 0x74
ret 8
mov eax, 0x16
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.1016cb16
add esp, 0x74
ret 8
mov eax, 0x17
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.1016cb16
add esp, 0x74
ret 8
mov eax, 0x18
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.1016cb16
add esp, 0x74
ret 8
mov eax, 0x1f
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.1016cb16
add esp, 0x74
ret 8
mov eax, 0x19
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.1016cb16
add esp, 0x74
ret 8
push 1
push 0x2710
push 1
lea ecx, [esp + 0x20]
push ecx
push esi
push ebp
mov ebx, 4
call fcn.1004a830
test eax, eax
jne 0x10054a91
mov eax, dword [esp + 0x14]
movzx ecx, byte [esp + 0x17]
movzx esi, al
shl esi, 8
movzx edx, ah
movzx eax, byte [esp + 0x16]
or esi, edx
shl esi, 8
or esi, eax
shl esi, 8
or esi, ecx
push esi
push esi
mov dword [esp + 0x24], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x28], 0xee5
mov byte [esp + 0x2c], 0xff
mov dword [esp + 0x30], str._ERROR:
mov dword [esp + 0x34], str.DA_cmd::CMD_NAND_SetupImageList
call sym.FlashToolLib.v1.dll_StatusToString
push eax
lea edi, [esp + 0x24]
push 0x102250f4
call fcn.10017c90
mov eax, esi
jmp 0x10054afe
mov eax, 0x1a
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.1016cb16
add esp, 0x74
ret 8
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
push eax
push esi
push str.invalid_arguments__dl_handle_0x_08X___MEM_BLOCK_COUNT__u_.
lea edi, [esp + 0x28]
mov dword [esp + 0x28], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x2c], 0xd91
mov byte [esp + 0x30], 0xff
mov dword [esp + 0x34], str._ERROR:
mov dword [esp + 0x38], str.DA_cmd::CMD_NAND_SetupImageList
call fcn.10017c90
mov eax, 1
mov ecx, dword [esp + 0x88]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1016cb16
add esp, 0x74
ret 8