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

Disassembly:
push 0xffffffffffffffff
push 0x101a0359
mov eax, dword fs:[0]
push eax
sub esp, 0x434
mov eax, dword [0x10279264]
xor eax, esp
mov dword [esp + 0x430], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10279264]
xor eax, esp
push eax
lea eax, [esp + 0x448]
mov dword fs:[0], eax
mov eax, dword [esp + 0x45c]
mov esi, dword [esp + 0x460]
mov ebp, dword [esp + 0x458]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x468]
mov dword [esp + 0x98], ecx
mov ecx, dword [esp + 0x46c]
mov dword [esp + 0xb8], edx
mov edx, dword [esp + 0x470]
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0x474]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x478]
mov dword [esp + 0x88], edx
mov edx, dword [esp + 0x47c]
xor edi, edi
mov dword [esp + 0xd0], eax
mov eax, dword [esp + 0x480]
mov dword [esp + 0xc8], ecx
mov ecx, dword [esp + 0x484]
mov dword [esp + 0xc4], edx
push edi
mov edx, str.nand_write_image.progress
mov dword [esp + 0x38], esi
mov dword [esp + 0xd8], eax
mov dword [esp + 0xc4], ecx
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], edi
call fcn.10073350
add esp, 4
mov byte [esp + 0xb3], al
cmp esi, edi
je 0x1005731c
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
je 0x1005731c
xor ecx, ecx
cmp cx, word [esi + 0x68]
jae 0x1005731c
mov dword [esp + 0xb4], edi
lea esp, [esp]
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
cmp edi, eax
jb 0x10054c92
call fcn.1016d669
imul edi, edi, 0x5d8
add edi, dword [esi + 0xc]
mov ebx, edi
cmp byte [ebx + 0x5b8], 0
je 0x10054cd7
cmp dword [ebx + 0x64], 7
je 0x10054cd7
mov ecx, dword [esp + 0xb4]
push ecx
mov edi, esi
call fcn.100e6eb0
test eax, eax
jne 0x10054d79
mov edx, dword [ebx + 0x418]
add dword [esp + 0x6c], edx
mov eax, dword [ebx + 0x41c]
adc dword [esp + 0x70], eax
mov eax, dword [esp + 0xb4]
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
inc eax
movzx edi, ax
mov dword [esp + 0xb4], eax
mov eax, 0xaf3addc7
imul ecx
add edx, ecx
sar edx, 0xa
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp edi, ecx
jb 0x10054c70
push 0xde
push str.send_DA_WRITE_CMD_0x_02X_.
lea edi, [esp + 0x20]
mov byte [esp + 0x444], 0xde
mov dword [esp + 0x20], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x24], 0xf24
mov byte [esp + 0x28], 0
mov dword [esp + 0x2c], str._DEBUG:
mov dword [esp + 0x30], str.DA_cmd::CMD_NAND_WriteImage
call fcn.10017c90
mov edx, dword [esp + 0x40]
add esp, 8
push 1
push 1
lea ecx, [esp + 0x444]
push ecx
push edx
push ebp
mov ebx, 1
call fcn.1004a550
test eax, eax
je 0x10054e01
lea eax, [ebx + 2]
jmp 0x10057372
mov eax, 0x10
cmp dword [ebx + 0x410], eax
jb 0x10054d8e
mov ecx, dword [ebx + 0x3fc]
jmp 0x10054d94
lea ecx, [ebx + 0x3fc]
cmp dword [ebx + 0x18], eax
jb 0x10054d9e
mov eax, dword [ebx + 4]
jmp 0x10054da1
lea eax, [ebx + 4]
mov edx, dword [ebx + 0x41c]
push edx
mov edx, dword [ebx + 0x418]
push edx
mov edx, dword [ebx + 0x414]
push edx
push ecx
push eax
movzx eax, word [esp + 0xc8]
push eax
push str.__d_:__s___s___is_not_loaded_yet__buf_0x_08X___len__llu_
lea edi, [esp + 0x34]
mov dword [esp + 0x34], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x38], 0xf1a
mov byte [esp + 0x3c], 0xff
mov dword [esp + 0x40], str._ERROR:
mov dword [esp + 0x44], str.DA_cmd::CMD_NAND_WriteImage
call fcn.10017c90
add esp, 0x1c
mov eax, 2
jmp 0x10057372
push str.wait_for_command_allowance_check_...
lea edi, [esp + 0x1c]
mov dword [esp + 0x1c], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x20], 0xf2a
mov byte [esp + 0x24], 0
mov dword [esp + 0x28], str._DEBUG:
mov dword [esp + 0x2c], str.DA_cmd::CMD_NAND_WriteImage
call fcn.10017c90
mov ecx, dword [esp + 0x3c]
add esp, 4
push 1
push 0x2710
push 1
lea eax, [esp + 0x448]
push eax
push ecx
push ebp
call fcn.1004a830
test eax, eax
je 0x10054e99
push str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov edx, str._ERROR:
or cl, 0xff
mov eax, 0xf2c
lea esi, [esp + 0x54]
call fcn.10111280
mov dword [esp + 0x450], 0
mov edx, dword [0x103b321c]
push str.DA_cmd::CMD_NAND_WriteImage__:DA_WRITE_CMD_no_response
push edx
push eax
call fcn.10111350
mov eax, 4
jmp 0x1005736f
cmp byte [esp + 0x43c], 0x5a
je 0x10054f38
mov ecx, dword [esp + 0x38]
push 1
push 0x2710
push 1
lea eax, [esp + 0x40]
push eax
push ecx
push ebp
mov ebx, 4
call fcn.1004a830
test eax, eax
jne 0x10054f2e
mov eax, dword [esp + 0x34]
movzx ecx, byte [esp + 0x37]
movzx esi, al
shl esi, 8
movzx edx, ah
movzx eax, byte [esp + 0x36]
or esi, edx
shl esi, 8
or esi, eax
shl esi, 8
or esi, ecx
mov dword [esp + 0x1c], 0xf33
push esi
push esi
mov dword [esp + 0x20], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov byte [esp + 0x28], 0xff
mov dword [esp + 0x2c], str._ERROR:
mov dword [esp + 0x30], str.DA_cmd::CMD_NAND_WriteImage
call sym.FlashToolLib.v1.dll_StatusToString
push eax
push 0x10223800
lea edi, [esp + 0x24]
call fcn.10017c90
mov eax, esi
jmp 0x1005736f
mov eax, 5
jmp 0x10057372
xor ebx, ebx
push str.command_is_allowed.
lea edi, [esp + 0x1c]
mov dword [esp + 0x1c], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x20], 0xf36
mov byte [esp + 0x24], bl
mov dword [esp + 0x28], str._DEBUG:
mov dword [esp + 0x2c], str.DA_cmd::CMD_NAND_WriteImage
call fcn.10017c90
add esp, 4
push 0x100000
push 0x100000
push str.change_PACKET_LENGTH_0x_08X__u.
lea edi, [esp + 0x24]
mov dword [esi + 0x64], 0x100000
mov dword [esp + 0x24], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x28], 0xf3e
mov byte [esp + 0x2c], bl
mov dword [esp + 0x30], str._DEBUG:
mov dword [esp + 0x34], str.DA_cmd::CMD_NAND_WriteImage
call fcn.10017c90
mov eax, dword [esi + 0x64]
add esp, 0xc
push eax
push eax
push str.send_PACKET_LENGTH_0x_08X__u.
lea edi, [esp + 0x24]
mov dword [esp + 0x24], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x28], 0xf40
mov byte [esp + 0x2c], bl
mov dword [esp + 0x30], str._DEBUG:
mov dword [esp + 0x34], str.DA_cmd::CMD_NAND_WriteImage
call fcn.10017c90
mov edx, dword [esp + 0x44]
mov eax, dword [esi + 0x64]
add esp, 0xc
push edx
push ebp
call fcn.1004ab60
test eax, eax
je 0x10055009
lea eax, [ebx + 6]
jmp 0x10057372
cmp dword [esp + 0x98], ebx
je 0x1005509b
mov eax, dword [esp + 0x98]
push eax
push str.CALLBACK_DOWNLOAD_PROGRESS_INIT_0x_08X_:_enter_...
lea edi, [esp + 0x20]
mov dword [esp + 0x20], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x24], 0xf47
mov byte [esp + 0x28], bl
mov dword [esp + 0x2c], str._DEBUG:
mov dword [esp + 0x30], str.DA_cmd::CMD_NAND_WriteImage
call fcn.10017c90
mov ecx, dword [esp + 0xc0]
mov edi, dword [esp + 0xa0]
add esp, 8
push ebx
push ecx
call edi
push edi
push str.CALLBACK_DOWNLOAD_PROGRESS_INIT_0x_08X_:_OK.
lea edi, [esp + 0x20]
mov dword [esp + 0x20], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x24], 0xf49
mov byte [esp + 0x28], bl
mov dword [esp + 0x2c], str._DEBUG:
mov dword [esp + 0x30], str.DA_cmd::CMD_NAND_WriteImage
call fcn.10017c90
add esp, 8
mov eax, dword [esp + 0x464]
cmp eax, ebx
jne 0x100550b7
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x6c]
push edx
push eax
mov eax, ebp
call fcn.1004a500
push str.wait_for_DA_to_read_boot_loader_header.
lea edi, [esp + 0x1c]
mov dword [esp + 0xa0], eax
mov dword [esp + 0x1c], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x20], 0xf55
mov byte [esp + 0x24], bl
mov dword [esp + 0x28], str._DEBUG:
mov dword [esp + 0x2c], str.DA_cmd::CMD_NAND_WriteImage
call fcn.10017c90
mov edx, dword [esp + 0x3c]
add esp, 4
push 1
push 0x2710
push ebx
lea ecx, [esp + 0x448]
push ecx
push edx
push ebp
mov ebx, 1
call fcn.1004a830
test eax, eax
je 0x10055156
push eax
push str.ReadData__:_fail__Err__d_
lea edi, [esp + 0x20]
mov dword [esp + 0x20], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x24], 0xf57
mov byte [esp + 0x28], 0xff
mov dword [esp + 0x2c], str._ERROR:
mov dword [esp + 0x30], str.DA_cmd::CMD_NAND_WriteImage
call fcn.10017c90
add esp, 8
lea eax, [ebx + 6]
jmp 0x10057372
cmp byte [esp + 0x43c], 0x5a
je 0x100551bc
mov ecx, dword [esp + 0x38]
push 1
push 0x2710
push 1
lea eax, [esp + 0x40]
push eax
push ecx
push ebp
mov ebx, 4
call fcn.1004a830
test eax, eax
jne 0x100551b2
mov eax, dword [esp + 0x34]
movzx ecx, byte [esp + 0x37]
movzx esi, al
shl esi, 8
movzx edx, ah
movzx eax, byte [esp + 0x36]
or esi, edx
shl esi, 8
or esi, eax
shl esi, 8
or esi, ecx
mov dword [esp + 0x1c], 0xf5e
jmp 0x10054ef4
mov eax, 8
jmp 0x10057372
push str.Wait_for_the_Init_BMT_table_...
lea edi, [esp + 0x1c]
mov dword [esp + 0x1c], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x20], 0xf62
mov byte [esp + 0x24], 0
mov dword [esp + 0x28], str._DEBUG:
mov dword [esp + 0x2c], str.DA_cmd::CMD_NAND_WriteImage
call fcn.10017c90
mov eax, dword [esp + 0x3c]
add esp, 4
push 1
push 0x2710
push 1
lea edx, [esp + 0x448]
push edx
push eax
push ebp
call fcn.1004a830
test eax, eax
je 0x1005521c
mov eax, 0x63
jmp 0x10057372
cmp byte [esp + 0x43c], 0x5a
je 0x10055282
mov edx, dword [esp + 0x38]
push 1
push 0x2710
push 1
lea ecx, [esp + 0x40]
push ecx
push edx
push ebp
mov ebx, 4
call fcn.1004a830
test eax, eax
jne 0x10055278
mov eax, dword [esp + 0x34]
movzx ecx, byte [esp + 0x36]
movzx edx, byte [esp + 0x37]
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 + 0x1c], 0xf6a
jmp 0x10054ef4
mov eax, 0x62
jmp 0x10057372
mov ebx, str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
push str.Init_BMT_table_done.
lea edi, [esp + 0x1c]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], 0xf6d
mov byte [esp + 0x24], 0
mov dword [esp + 0x28], str._DEBUG:
mov dword [esp + 0x2c], str.DA_cmd::CMD_NAND_WriteImage
call fcn.10017c90
add esp, 4
push str.boot_loader_exists__start_sending_image_content.
lea edi, [esp + 0x1c]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], 0xf70
mov byte [esp + 0x24], 0
mov dword [esp + 0x28], str._DEBUG:
mov dword [esp + 0x2c], str.DA_cmd::CMD_NAND_WriteImage
call fcn.10017c90
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov eax, 0xaf3addc7
imul ecx
add edx, ecx
sar edx, 0xa
xor ebx, ebx
mov eax, edx
shr eax, 0x1f
add esp, 4
add eax, edx
mov dword [esp + 0xa0], ebx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0xb4], ebx
je 0x10056061
xor edi, edi
lea ebx, [ebx]
mov ebx, dword [esp + 0x34]
mov esi, ebx
call fcn.10063390
mov esi, eax
cmp byte [esi + 0x5b8], 0
mov dword [esp + 0xac], esi
je 0x1005602c
cmp dword [esi + 0x64], 7
je 0x1005602c
mov ebx, 0x10
cmp dword [esi + 0x18], ebx
jb 0x1005536a
mov eax, dword [esi + 4]
jmp 0x1005536d
lea eax, [esi + 4]
mov ecx, dword [esi + 0x44]
mov edx, dword [esi + 0x40]
push ecx
push edx
push eax
push str.__s_:_begin_addr__0x_08x__.
lea edi, [esp + 0x28]
mov dword [esp + 0x28], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x2c], 0xf81
mov byte [esp + 0x30], 0
mov dword [esp + 0x34], str._DEBUG:
mov dword [esp + 0x38], str.DA_cmd::CMD_NAND_WriteImage
call fcn.10017c90
xor eax, eax
add esi, 0x3f8
add esp, 0x10
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0xa4], esi
cmp dword [esi + 0x18], ebx
jb 0x100553db
mov eax, dword [esi + 4]
jmp 0x100553de
lea eax, [esi + 4]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x6c]
mov esi, dword [esp + 0xac]
push ecx
mov ecx, dword [esp + 0x94]
push edx
mov edx, dword [esp + 0x94]
push ecx
mov ecx, dword [esi + 0x41c]
push edx
mov edx, dword [esi + 0x418]
push ecx
push edx
push eax
mov ebx, str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
push str.__s_:__llu_bytes__total_sent_bytes_llu__llu.
lea edi, [esp + 0x38]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], 0xf88
mov byte [esp + 0x40], 0
mov dword [esp + 0x44], str._DEBUG:
mov dword [esp + 0x48], str.DA_cmd::CMD_NAND_WriteImage
call fcn.10017c90
push str.wait_for_converting_log_address_by_scatter_file_to_phy_address...
lea edi, [esp + 0x3c]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], 0xf8b
mov byte [esp + 0x44], 0
mov dword [esp + 0x48], str._DEBUG:
mov dword [esp + 0x4c], str.DA_cmd::CMD_NAND_WriteImage
call fcn.10017c90
mov ecx, dword [esp + 0x5c]
add esp, 0x24
push 1
push 0x2710
push 0
lea eax, [esp + 0x448]
push eax
push ecx
push ebp
mov ebx, 1
call fcn.1004a830
test eax, eax
jne 0x10056538
mov al, byte [esp + 0x43c]
cmp al, 0x5a
jne 0x100560fb
mov ebx, str.DA_cmd::CMD_NAND_WriteImage
push str.convert_done__
lea edi, [esp + 0x1c]
mov dword [esp + 0x1c], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x20], 0xf9b
mov byte [esp + 0x24], 0
mov dword [esp + 0x28], str._DEBUG:
mov dword [esp + 0x2c], ebx
call fcn.10017c90
add esp, 4
push esi
mov ecx, ebp
call fcn.10058010
test al, al
je 0x100561d7
mov eax, esi
mov ecx, ebp
call fcn.10058340
mov esi, dword [esi + 0x64]
mov dword [esp + 0xb8], eax
mov byte [esp + 0x20], 0
mov dword [esp + 0x24], str._DEBUG:
mov dword [esp + 0x28], ebx
lea edi, [esp + 0x18]
cmp esi, 8
jne 0x100556d2
mov esi, str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
push str.Start_to_handle_YAFFS2_Images.
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], 0xfab
call fcn.10017c90
mov eax, dword [esp + 0x3c]
add esp, 4
lea edx, [esp + 0xd8]
push edx
push eax
mov al, 1
push ebp
mov ecx, 0x2710
mov dl, al
call fcn.1004abb0
test eax, eax
jne 0x10056213
mov dword [esp + 0x28], ebx
mov ebx, dword [esp + 0xd8]
push ebx
push ebx
push str.Get_page_size__0x_08X__u.
lea edi, [esp + 0x24]
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], 0xfb2
mov byte [esp + 0x2c], al
mov dword [esp + 0x30], str._DEBUG:
call fcn.10017c90
add esp, 0xc
cmp ebx, 0x800
jne 0x100555ab
mov esi, 0x40
jmp 0x100555bc
cmp ebx, 0x1000
jne 0x100562bb
mov esi, 0x80
mov edi, dword [esp + 0xac]
mov ecx, dword [edi + 0x41c]
mov edx, dword [edi + 0x418]
push 0
mov dword [esp + 0x30], esi
add esi, ebx
push esi
push ecx
push edx
call fcn.1018cdb0
or eax, edx
jne 0x1005624c
push ebx
push ebx
push str.Get_the_page_size_as__0x_08X__u.
lea edi, [esp + 0x24]
mov dword [esp + 0x24], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x28], 0xfc5
mov byte [esp + 0x2c], al
mov dword [esp + 0x30], str._DEBUG:
mov dword [esp + 0x34], str.DA_cmd::CMD_NAND_WriteImage
call fcn.10017c90
mov eax, dword [esp + 0x38]
add esp, 0xc
push eax
push eax
push str.Get_the_spare_size_as__0x_08X__u.
lea edi, [esp + 0x24]
mov dword [esp + 0x24], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x28], 0xfc6
mov byte [esp + 0x2c], 0
mov dword [esp + 0x30], str._DEBUG:
mov dword [esp + 0x34], str.DA_cmd::CMD_NAND_WriteImage
call fcn.10017c90
add esp, 0xc
lea esi, [esi + esi*4]
add esi, esi
push esi
push esi
push str.re_send_PACKET_LENGTH_0x_08X__u.
lea edi, [esp + 0x24]
mov dword [esp + 0xa4], esi
mov dword [esp + 0x24], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x28], 0xfca
mov byte [esp + 0x2c], 0
mov dword [esp + 0x30], str._DEBUG:
mov dword [esp + 0x34], str.DA_cmd::CMD_NAND_WriteImage
call fcn.10017c90
mov eax, dword [esp + 0x44]
add esp, 0xc
push eax
push ebp
mov eax, esi
call fcn.1004ab60
test eax, eax
jne 0x100562b1
mov ecx, dword [esp + 0xac]
mov edx, dword [ecx + 0x64]
mov eax, dword [esp + 0xb8]
mov ecx, dword [esp + 0x2c]
mov dword [eax], edx
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
jmp 0x10055748
mov dword [esp + 0x18], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
cmp esi, 0x20
jne 0x10055723
push 0x100800
push 0x100800
push str.for_FTL20_IMG__re_send_PACKET_LENGTH_0x_08X__u.
mov dword [esp + 0xa4], 0x100800
mov dword [esp + 0x28], 0xfd6
call fcn.10017c90
mov edx, dword [esp + 0x44]
add esp, 0xc
push edx
push ebp
mov eax, 0x100800
call fcn.1004ab60
test eax, eax
jne 0x100572c8
jmp 0x10055748
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 0x64]
push eax
push eax
push str.change_PACKET_LENGTH_to_default_size__0x_08X__u.
mov dword [esp + 0xa4], eax
mov dword [esp + 0x28], 0xfdf
call fcn.10017c90
add esp, 0xc
mov ecx, dword [esp + 0xa4]
push ecx
lea edx, [esp + 0x280]
push edx
call fcn.100d8aa0
lea ecx, [esp + 0x1fc]
mov dword [esp + 0x450], 1
call fcn.1013bd20
mov byte [esp + 0x450], 2
cmp byte [esp + 0x40d], 0
je 0x1005593b
cmp dword [esp + 0x294], 0x10
mov eax, dword [esp + 0x280]
jae 0x100557a2
lea eax, [esp + 0x280]
push eax
lea ecx, [esp + 0x54]
call fcn.10004550
mov byte [esp + 0x450], 3
mov eax, dword [esp + 0x418]
mov edx, dword [esp + 0x2a8]
push edx
mov edx, dword [esp + 0x2a8]
xor ecx, ecx
add eax, dword [esp + 0x430]
push edx
adc ecx, dword [esp + 0x438]
lea esi, [esp + 0x204]
push ecx
push eax
mov eax, dword [esp + 0xa8]
push 0
push eax
lea ecx, [esp + 0x68]
push ecx
call fcn.1013bf70
lea ecx, [esp + 0x50]
mov bl, al
mov byte [esp + 0x450], 2
call fcn.100045c0
test bl, bl
je 0x100558a4
cmp byte [esp + 0x278], 0
je 0x100558a4
lea eax, [esp + 0xec]
mov ecx, esi
call fcn.1013bf50
mov edi, dword [esp + 0xac]
mov eax, dword [edi + 0x564]
mov esi, dword [edi + 0x560]
mov ecx, dword [edi + 0x55c]
mov edx, dword [edi + 0x558]
push eax
mov eax, dword [edi + 0x554]
mov ebx, dword [edi + 0x538]
push esi
push ecx
push edx
mov edx, dword [edi + 0x53c]
push eax
mov eax, dword [edi + 0x550]
push eax
mov eax, dword [edi + 0x54c]
push eax
mov eax, dword [edi + 0x548]
push eax
mov eax, dword [edi + 0x544]
push eax
mov eax, dword [edi + 0x540]
push eax
mov eax, dword [esp + 0x114]
mov ecx, ebx
call fcn.1012a360
lea eax, [esp + 0xec]
call fcn.101008e0
jmp 0x100558ab
mov edi, dword [esp + 0xac]
lea esi, [esp + 0x1fc]
call fcn.1013c180
test eax, eax
je 0x100562c5
mov ecx, dword [esp + 0x280]
mov eax, 0x10
cmp dword [esp + 0x294], eax
jae 0x100558db
lea ecx, [esp + 0x280]
cmp dword [edi + 0x18], eax
jb 0x100558e8
mov eax, dword [edi + 4]
add edi, 4
jmp 0x100558ed
add edi, 4
mov eax, edi
mov edx, dword [esp + 0x98]
push edx
push ecx
push eax
push str.mgr.Start___succeeds__rom__s___path__s___packageLength__d_.
lea edi, [esp + 0x28]
mov dword [esp + 0x28], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x2c], 0xffc
mov byte [esp + 0x30], 0
mov dword [esp + 0x34], str._DEBUG:
mov dword [esp + 0x38], str.DA_cmd::CMD_NAND_WriteImage
call fcn.10017c90
lea eax, [esp + 0x20c]
add esp, 0x10
mov dword [esp + 0x424], eax
mov ecx, dword [esp + 0x2a0]
test ecx, ecx
jb 0x10055f18
mov edx, dword [esp + 0x29c]
ja 0x10055967
test edx, edx
jbe 0x10055f18
jmp 0x10055967
mov edx, dword [esp + 0x29c]
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x414], eax
mov ebx, dword [esp + 0x7c]
mov esi, dword [esp + 0x98]
mov eax, edx
sub eax, ebx
sbb ecx, dword [esp + 0x80]
xor edi, edi
lea ecx, [ecx]
cmp edi, ecx
jb 0x1005599e
ja 0x1005599a
cmp esi, eax
jbe 0x1005599e
sub edx, ebx
mov esi, edx
mov ecx, dword [esp + 0x80]
push ecx
push ebx
mov eax, esi
lea ecx, [esp + 0x284]
call fcn.100dbab0
cmp byte [esp + 0x421], 0
mov edi, eax
je 0x10056364
mov edx, dword [esp + 0x38]
push 0
push 1
push edi
push edx
push ebp
mov ebx, esi
call fcn.1004a550
test eax, eax
jne 0x100559f2
push eax
push esi
call fcn.100dbaf0
mov ecx, dword [esp + 0x38]
push ecx
movzx eax, ax
push ebp
mov dl, 1
call fcn.1004aad0
mov edi, dword [esp + 0x38]
push 0
push 0x2710
push 0
lea edx, [esp + 0x448]
push edx
push edi
push ebp
mov ebx, 1
call fcn.1004a830
test eax, eax
jne 0x100563d0
cmp byte [esp + 0x43c], 0x69
je 0x10055c47
push ebx
push 0x2710
push ebx
lea eax, [esp + 0xc8]
push eax
push edi
push ebp
mov ebx, 4
call fcn.1004a830
test eax, eax
jne 0x10056694
mov eax, dword [esp + 0xbc]
movzx edx, byte [esp + 0xbe]
movzx esi, al
shl esi, 8
movzx ecx, ah
movzx eax, byte [esp + 0xbf]
or esi, ecx
shl esi, 8
or esi, edx
shl esi, 8
or esi, eax
cmp esi, 0xbf6
jl 0x10056cee
cmp esi, 0xbfa
jg 0x10056cee
cmp dword [esp + 0x94], 3
jae 0x10056a8e
mov ebx, dword [esp + 0x94]
push esi
inc ebx
push esi
mov dword [esp + 0x9c], ebx
mov dword [esp + 0x20], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x24], 0x106b
mov byte [esp + 0x28], 0
mov dword [esp + 0x2c], str._DEBUG:
mov dword [esp + 0x30], str.DA_cmd::CMD_NAND_WriteImage
call sym.FlashToolLib.v1.dll_StatusToString
mov esi, dword [esp + 0x7c]
push eax
push ebx
push esi
push str.PKT__lu_:_Retry__u_:___s___d__received__start_to_re_transmit.
lea edi, [esp + 0x2c]
call fcn.10017c90
add esp, 0x14
push ebx
push esi
push str.PKT__lu_:_Retry__u_:_wait_for_DA_clean_its_RX_buffer.
lea edi, [esp + 0x1d8]
mov dword [esp + 0x1d8], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x1dc], 0x107b
mov byte [esp + 0x1e0], 0
mov dword [esp + 0x1e4], str._DEBUG:
mov dword [esp + 0x1e8], str.DA_cmd::CMD_NAND_WriteImage
call fcn.10017c90
mov edx, dword [esp + 0x44]
add esp, 0xc
push 1
push 0x2710
push 0
lea ecx, [esp + 0x448]
push ecx
push edx
push ebp
mov ebx, 1
call fcn.1004a830
test eax, eax
jne 0x100566ca
mov al, byte [esp + 0x43c]
cmp al, 0x5a
jne 0x10056821
mov eax, dword [esp + 0x94]
push eax
push esi
push str.PKT__lu_:_Retry__u_:_send_CONT_CHAR_to_wakeup_DA_to_start_recieving_again.
lea edi, [esp + 0x138]
mov byte [esp + 0x448], 0x69
mov dword [esp + 0x138], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x13c], 0x1089
mov byte [esp + 0x140], 0
mov dword [esp + 0x144], str._DEBUG:
mov dword [esp + 0x148], str.DA_cmd::CMD_NAND_WriteImage
call fcn.10017c90
mov edx, dword [esp + 0x44]
add esp, 0xc
push ebx
push ebx
lea ecx, [esp + 0x444]
push ecx
push edx
push ebp
call fcn.1004a550
test eax, eax
jne 0x1005697f
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x94]
mov byte [esp + 0x44], al
mov eax, dword [esp + 0x80]
push eax
push ecx
push edx
push esi
push str.PKT__lu_:_Retry__u_:_re_transmission_this_frame__offset__lu_.
lea edi, [esp + 0x50]
mov dword [esp + 0x50], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x54], 0x1090
mov dword [esp + 0x5c], str._DEBUG:
mov dword [esp + 0x60], str.DA_cmd::CMD_NAND_WriteImage
call fcn.10017c90
mov ecx, dword [esp + 0x2b4]
mov edx, dword [esp + 0x2b0]
add esp, 0x14
jmp 0x10055975
mov eax, dword [ebp + 4]
mov dword [esp + 0x94], 0
test eax, eax
je 0x10055c65
cmp dword [eax], 0x2694
je 0x10056542
push 0
push 1
lea eax, [esp + 0x444]
push eax
push edi
push ebp
mov byte [esp + 0x450], 0x5a
call fcn.1004a550
xor edi, edi
cmp eax, edi
jne 0x10056623
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x9c]
xor eax, eax
add dword [esp + 0x7c], esi
adc dword [esp + 0x80], eax
add ecx, esi
mov esi, dword [esp + 0x90]
adc esi, eax
mov eax, edx
mov dword [esp + 0xa4], eax
fild dword [esp + 0xa4]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], esi
test eax, eax
jge 0x10055cd8
fadd qword [0x1024b9f8]
fst qword [esp + 0x1f4]
mov dword [esp + 0xdc], ecx
mov eax, esi
fnstcw word [esp + 0x2c]
mov ecx, eax
and eax, 0x7fffffff
and ecx, 0x80000000
mov dword [esp + 0xe0], eax
fild qword [esp + 0xdc]
mov eax, dword [esp + 0x70]
mov dword [esp + 0xf8], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0xf4], edi
fild qword [esp + 0xf4]
mov dword [esp + 0xfc], ecx
mov ecx, eax
and eax, 0x7fffffff
fchs
mov dword [esp + 0x100], eax
faddp st(1)
and ecx, 0x80000000
fild qword [esp + 0xfc]
mov dword [esp + 0xe8], ecx
mov dword [esp + 0xe4], edi
fild qword [esp + 0xe4]
movzx eax, word [esp + 0x2c]
or eax, 0xc00
mov dword [esp + 0xa4], eax
fchs
faddp st(1)
fdivp st(1)
fmul st(1)
fldcw word [esp + 0xa4]
fistp qword [esp + 0xa4]
mov ebx, dword [esp + 0xa4]
fldcw word [esp + 0x2c]
cmp edx, ebx
jae 0x10055d97
mov ebx, edx
mov edx, ebx
sub edx, dword [esp + 0xa0]
je 0x10055eeb
cmp byte [esp + 0xb3], 0
mov dword [esp + 0xa0], ebx
je 0x10055e6b
push str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
fstp st(0)
mov edx, 0x10201619
xor cl, cl
mov eax, 0x10a9
lea esi, [esp + 0x54]
call fcn.10111280
mov esi, eax
mov eax, ebx
mov dword [esp + 0xa4], eax
fild dword [esp + 0xa4]
mov byte [esp + 0x450], 4
test eax, eax
jge 0x10055dfb
fadd dword [0x1024b9e8]
mov ecx, dword [esp + 0x9c]
fild dword [esp + 0x9c]
test ecx, ecx
jge 0x10055e13
fadd dword [0x1024b9e8]
fdivp st(1)
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x90]
sub esp, 8
fmul qword [0x1024b9e0]
fstp qword [esp]
push edx
mov edx, dword [esp + 0x98]
push eax
push ecx
mov ecx, dword [esp + 0xc0]
push edx
call fcn.10004700
push eax
mov eax, dword [0x103b321c]
push str.DA_cmd::CMD_NAND_WriteImage__s_:___10d__10d___6.3f_
push eax
push esi
call fcn.10111350
fld qword [esp + 0x21c]
add esp, 0x28
mov byte [esp + 0x450], 2
mov ecx, dword [esp + 0xcc]
cmp ecx, edi
je 0x10055eeb
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x70]
push edx
mov edx, dword [esp + 0x70]
push eax
mov eax, dword [esp + 0x98]
push edx
mov edx, dword [esp + 0x98]
push eax
mov dword [esp + 0xb4], ebx
fild dword [esp + 0xb4]
push edx
test ebx, ebx
jge 0x10055ead
fadd qword [0x1024b9f8]
fdivrp st(1)
fmul qword [0x1024b9e0]
fnstcw word [esp + 0x40]
movzx eax, word [esp + 0x40]
or eax, 0xc00
mov dword [esp + 0xb8], eax
fldcw word [esp + 0xb8]
fistp dword [esp + 0xb8]
mov al, byte [esp + 0xb8]
movzx edx, al
push edx
fldcw word [esp + 0x44]
call ecx
jmp 0x10055eed
fstp st(0)
mov ecx, dword [esp + 0x2a0]
inc dword [esp + 0x78]
cmp dword [esp + 0x80], ecx
jb 0x10055960
ja 0x10055f18
mov edx, dword [esp + 0x29c]
cmp dword [esp + 0x7c], edx
jb 0x10055967
mov eax, dword [esp + 0x70]
fild dword [esp + 0xa0]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x90]
push eax
mov eax, dword [esp + 0x90]
push ecx
mov ecx, dword [esp + 0x88]
push edx
mov edx, dword [esp + 0x88]
push eax
mov eax, dword [esp + 0xb0]
mov ebx, str.DA_cmd::CMD_NAND_WriteImage
push ecx
mov dword [esp + 0x50], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x54], 0x10b1
mov byte [esp + 0x58], 0
mov dword [esp + 0x5c], str._DEBUG:
mov dword [esp + 0x60], ebx
push edx
test eax, eax
jge 0x10055f80
fadd dword [0x1024b9e8]
mov ecx, dword [esp + 0xb4]
fild dword [esp + 0xb4]
test ecx, ecx
jge 0x10055f98
fadd dword [0x1024b9e8]
fdivp st(1)
lea edi, [esp + 0x54]
fmul qword [0x1024b9e0]
fnstcw word [esp + 0x44]
movzx eax, word [esp + 0x44]
or eax, 0xc00
mov dword [esp + 0xbc], eax
fldcw word [esp + 0xbc]
fistp dword [esp + 0xbc]
mov dx, word [esp + 0xbc]
movzx eax, dx
push eax
fldcw word [esp + 0x48]
push str.__u___:__lu_bytes_sent__total_bytes_lu__lu.
call fcn.10017c90
mov esi, dword [esp + 0xcc]
add esp, 0x20
mov edx, esi
mov ecx, ebp
call fcn.10062f80
test al, al
je 0x10056e44
lea ecx, [esp + 0x1fc]
mov byte [esp + 0x450], 1
call fcn.1013bd90
lea ecx, [esp + 0x27c]
push ecx
mov dword [esp + 0x454], 0xffffffff
call fcn.100d8b40
mov ebx, dword [esp + 0x34]
mov eax, dword [esp + 0xb4]
mov ecx, dword [ebx + 0x10]
sub ecx, dword [ebx + 0xc]
inc eax
movzx edi, ax
mov dword [esp + 0xb4], eax
mov eax, 0xaf3addc7
imul ecx
add edx, ecx
sar edx, 0xa
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x10055330
xor ebx, ebx
mov esi, str.DA_cmd::CMD_NAND_WriteImage
push str.wait_for_DA_to_program_all_the_data.
lea edi, [esp + 0x54]
mov dword [esp + 0x54], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x58], 0x10b9
mov byte [esp + 0x5c], 0
mov dword [esp + 0x60], str._DEBUG:
mov dword [esp + 0x64], esi
call fcn.10017c90
mov ecx, dword [esp + 0x3c]
add esp, 4
push 1
push 0x1d4c0
push ebx
lea eax, [esp + 0x448]
push eax
push ecx
push ebp
mov ebx, 1
call fcn.1004a830
mov dword [esp + 0x60], esi
lea edi, [esp + 0x50]
test eax, eax
je 0x10056ebb
push eax
push str.ReadData__:_fail__Err__d_
mov dword [esp + 0x58], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x5c], 0x10bb
mov byte [esp + 0x60], 0xff
mov dword [esp + 0x64], str._ERROR:
call fcn.10017c90
add esp, 8
lea eax, [ebx + 0x10]
jmp 0x10057372
cmp al, 0xa5
jne 0x1005618f
mov edx, dword [esp + 0x38]
push 1
push 0x2710
push 1
lea ecx, [esp + 0x40]
push ecx
push edx
push ebp
mov ebx, 4
call fcn.1004a830
test eax, eax
jne 0x100566c0
mov ecx, dword [esp + 0x34]
movzx edx, byte [esp + 0x36]
movzx eax, cl
shl eax, 8
movzx ecx, ch
or eax, ecx
movzx ecx, byte [esp + 0x37]
shl eax, 8
or eax, edx
shl eax, 8
or eax, ecx
push eax
push eax
mov dword [esp + 0x44], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x48], 0xf93
mov byte [esp + 0x4c], 0xff
mov dword [esp + 0x50], str._ERROR:
mov dword [esp + 0x54], str.DA_cmd::CMD_NAND_WriteImage
call sym.FlashToolLib.v1.dll_StatusToString
push eax
push str.convert_fail:___s___d___abort_transmission_
lea edi, [esp + 0x48]
call fcn.10017c90
lea eax, [ebx + 7]
jmp 0x1005736f
lea edx, [esp + 0x43c]
push edx
push str.invalid_response__0x_02X_
lea edi, [esp + 0x44]
mov dword [esp + 0x44], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x48], 0xf97
mov byte [esp + 0x4c], 0xff
mov dword [esp + 0x50], str._ERROR:
mov dword [esp + 0x54], str.DA_cmd::CMD_NAND_WriteImage
call fcn.10017c90
add esp, 8
mov eax, 0xc
jmp 0x10057372
push str.UpdateCheckSumObjMap___failed.
lea edi, [esp + 0x40]
mov dword [esp + 0x40], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x44], 0xf9f
mov byte [esp + 0x48], 0xff
mov dword [esp + 0x4c], str._ERROR:
mov dword [esp + 0x50], ebx
call fcn.10017c90
add esp, 4
mov eax, 0x20
jmp 0x10057372
push eax
push str.ReadData32__:_fail__Err__d_
lea edi, [esp + 0x44]
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], 0xfae
mov byte [esp + 0x4c], 0xff
mov dword [esp + 0x50], str._ERROR:
mov dword [esp + 0x54], ebx
call fcn.10017c90
add esp, 8
mov eax, 0x15
jmp 0x10057372
cmp dword [edi + 0x18], 0x10
jb 0x10056257
mov edi, dword [edi + 4]
jmp 0x1005625a
add edi, 4
mov eax, dword [esp + 0xac]
mov ecx, dword [eax + 0x41c]
mov edx, dword [eax + 0x418]
push esi
push ecx
push edx
push edi
push str.YAFFS_image__s__size__d__is_not_alignment_by_pagespare_size__d_
lea edi, [esp + 0x50]
mov dword [esp + 0x50], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x54], 0xfc1
mov byte [esp + 0x58], 0xff
mov dword [esp + 0x5c], str._ERROR:
mov dword [esp + 0x60], str.DA_cmd::CMD_NAND_WriteImage
call fcn.10017c90
add esp, 0x14
mov eax, 0xfb1
jmp 0x10057372
mov eax, 0x18
jmp 0x10057372
mov eax, 0x17
jmp 0x10057372
mov eax, dword [esp + 0x280]
mov ecx, 0x10
cmp dword [esp + 0x294], ecx
jae 0x100562e1
lea eax, [esp + 0x280]
cmp dword [edi + 0x18], ecx
jb 0x100562eb
mov edi, dword [edi + 4]
jmp 0x100562ee
add edi, 4
mov ecx, dword [esp + 0x98]
push ecx
push eax
push edi
push str.mgr.Start___failed__rom__s___path__s___packageLength__d_.
lea edi, [esp + 0x4c]
mov dword [esp + 0x4c], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x50], 0xff7
mov byte [esp + 0x54], 0xff
mov dword [esp + 0x58], str._ERROR:
mov dword [esp + 0x5c], str.DA_cmd::CMD_NAND_WriteImage
call fcn.10017c90
add esp, 0x10
lea ecx, [esp + 0x1fc]
mov byte [esp + 0x450], 1
call fcn.1013bd90
lea edx, [esp + 0x27c]
push edx
mov dword [esp + 0x454], 0xffffffff
call fcn.100d8b40
mov eax, 7
jmp 0x10057372
push str.GetDLBuf___is_not_ready_
lea edi, [esp + 0x40]
mov dword [esp + 0x40], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x44], 0x101d
mov byte [esp + 0x48], 0xff
mov dword [esp + 0x4c], str._ERROR:
mov dword [esp + 0x50], str.DA_cmd::CMD_NAND_WriteImage
call fcn.10017c90
add esp, 4
lea ecx, [esp + 0x1fc]
mov byte [esp + 0x450], 1
call fcn.1013bd90
lea eax, [esp + 0x27c]
push eax
mov dword [esp + 0x454], 0xffffffff
call fcn.100d8b40
mov eax, 0xfc5
jmp 0x10057372
mov ecx, dword [esp + 0x78]
push eax
push ecx
mov bl, 0xff
mov ebp, str._ERROR:
mov esi, str.DA_cmd::CMD_NAND_WriteImage
push str.PKT__lu_:_ReadData__:_fail__Err__d_
lea edi, [esp + 0x48]
mov dword [esp + 0x48], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x4c], 0x1041
mov byte [esp + 0x50], bl
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], esi
call fcn.10017c90
mov edx, dword [esp + 0x84]
add esp, 0xc
push 0x69
push edx
push str.PKT__lu_:_wait_for_CONT_CHAR_0x_02X__timeout_
lea edi, [esp + 0x48]
mov dword [esp + 0x48], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x4c], 0x1042
mov byte [esp + 0x50], bl
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], esi
call fcn.10017c90
fild dword [esp + 0xac]
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x9c]
add esp, 0xc
push eax
mov eax, dword [esp + 0x90]
push ecx
mov ecx, dword [esp + 0x88]
push edx
mov edx, dword [esp + 0x88]
push eax
mov eax, dword [esp + 0xb0]
push ecx
mov dword [esp + 0x50], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x54], 0x1043
mov byte [esp + 0x58], bl
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x60], esi
push edx
test eax, eax
jge 0x100564a4
fadd dword [0x1024b9e8]
mov ecx, dword [esp + 0xb4]
fild dword [esp + 0xb4]
test ecx, ecx
jge 0x100564bc
fadd dword [0x1024b9e8]
fdivp st(1)
mov ecx, dword [esp + 0xac]
lea edi, [esp + 0x54]
fmul qword [0x1024b9e0]
fnstcw word [esp + 0x44]
movzx eax, word [esp + 0x44]
or eax, 0xc00
mov dword [esp + 0x48], eax
fldcw word [esp + 0x48]
fistp dword [esp + 0x48]
mov dx, word [esp + 0x48]
movzx eax, dx
mov edx, dword [esp + 0x90]
fldcw word [esp + 0x44]
push eax
push ecx
push edx
push str.PKT__lu_:_Retry__u_:___u___:__llu_bytes_sent__total_bytes_llu__llu.
call fcn.10017c90
add esp, 0x28
lea ecx, [esp + 0x1fc]
mov byte [esp + 0x450], 1
call fcn.1013bd90
lea eax, [esp + 0x27c]
push eax
mov dword [esp + 0x454], 0xffffffff
call fcn.100d8b40
mov eax, 9
jmp 0x10057372
push 0
push 1
lea ecx, [esp + 0x444]
push ecx
push edi
push ebp
mov byte [esp + 0x450], 0x96
call fcn.1004a550
mov dword [esp + 0x3c], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov byte [esp + 0x44], 0xff
mov dword [esp + 0x48], str._ERROR:
mov dword [esp + 0x4c], str.DA_cmd::CMD_NAND_WriteImage
lea edi, [esp + 0x3c]
test eax, eax
je 0x100565d2
mov edx, dword [esp + 0x78]
push eax
push edx
push str.STOP_transmission_fails__
mov dword [esp + 0x4c], 0x104d
call fcn.10017c90
add esp, 0xc
lea ecx, [esp + 0x1fc]
mov byte [esp + 0x450], bl
call fcn.1013bd90
lea eax, [esp + 0x27c]
push eax
mov dword [esp + 0x454], 0xffffffff
call fcn.100d8b40
mov eax, 9
jmp 0x10057372
mov ecx, dword [esp + 0x78]
push 0
push ecx
push str.STOP_transmission_OKAY__
mov dword [esp + 0x4c], 0x1050
call fcn.10017c90
add esp, 0xc
lea ecx, [esp + 0x1fc]
mov byte [esp + 0x450], bl
call fcn.1013bd90
lea edx, [esp + 0x27c]
push edx
mov dword [esp + 0x454], 0xffffffff
call fcn.100d8b40
mov eax, 0x3e8
jmp 0x10057372
push eax
mov eax, dword [esp + 0x7c]
push eax
push str.CONT_transmission_fails__
lea edi, [esp + 0x48]
mov dword [esp + 0x48], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x4c], 0x1056
mov byte [esp + 0x50], 0xff
mov dword [esp + 0x54], str._ERROR:
mov dword [esp + 0x58], str.DA_cmd::CMD_NAND_WriteImage
call fcn.10017c90
add esp, 0xc
lea ecx, [esp + 0x1fc]
mov byte [esp + 0x450], bl
call fcn.1013bd90
lea ecx, [esp + 0x27c]
push ecx
mov dword [esp + 0x454], 0xffffffff
call fcn.100d8b40
mov eax, 9
jmp 0x10057372
lea ecx, [esp + 0x1fc]
mov byte [esp + 0x450], 1
call fcn.1013bd90
lea edx, [esp + 0x27c]
push edx
mov dword [esp + 0x454], 0xffffffff
call fcn.100d8b40
mov eax, 0xa
jmp 0x10057372
push eax
push esi
mov bl, 0xff
mov ebp, str.DA_cmd::CMD_NAND_WriteImage
push str.PKT__lu_:_ReadData__:_fail__Err__d_
lea edi, [esp + 0x160]
mov dword [esp + 0x160], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x164], 0x107d
mov byte [esp + 0x168], bl
mov dword [esp + 0x16c], str._ERROR:
mov dword [esp + 0x170], ebp
call fcn.10017c90
fild dword [esp + 0xac]
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x9c]
add esp, 0xc
push eax
mov eax, dword [esp + 0x90]
push ecx
mov ecx, dword [esp + 0x88]
push edx
mov edx, dword [esp + 0x88]
push eax
mov eax, dword [esp + 0xb0]
push ecx
mov dword [esp + 0x190], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x194], 0x107e
mov byte [esp + 0x198], bl
mov dword [esp + 0x19c], str._ERROR:
mov dword [esp + 0x1a0], ebp
push edx
test eax, eax
jge 0x10056787
fadd dword [0x1024b9e8]
mov ecx, dword [esp + 0xb4]
fild dword [esp + 0xb4]
test ecx, ecx
jge 0x1005679f
fadd dword [0x1024b9e8]
fdivp st(1)
mov ecx, dword [esp + 0xac]
lea edi, [esp + 0x194]
fmul qword [0x1024b9e0]
fnstcw word [esp + 0x44]
movzx eax, word [esp + 0x44]
or eax, 0xc00
mov dword [esp + 0x48], eax
fldcw word [esp + 0x48]
fistp dword [esp + 0x48]
mov dx, word [esp + 0x48]
movzx eax, dx
push eax
fldcw word [esp + 0x48]
push ecx
push esi
push str.PKT__lu_:_Retry__u_:___u___:__lu_bytes_sent__total_bytes_lu__lu.
call fcn.10017c90
add esp, 0x28
lea ecx, [esp + 0x1fc]
mov byte [esp + 0x450], 1
call fcn.1013bd90
lea edx, [esp + 0x27c]
push edx
mov dword [esp + 0x454], 0xffffffff
call fcn.100d8b40
mov eax, 0xe
jmp 0x10057372
mov ebp, dword [esp + 0x94]
movzx eax, al
push eax
push ebp
push esi
mov bl, 0xff
push str.PKT__lu_:_Retry__u_:_wrong_ack_0x_02X__return_
lea edi, [esp + 0x114]
mov dword [esp + 0x114], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x118], 0x1082
mov byte [esp + 0x11c], bl
mov dword [esp + 0x120], str._ERROR:
mov dword [esp + 0x124], str.DA_cmd::CMD_NAND_WriteImage
call fcn.10017c90
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x7c]
fild dword [esp + 0xb0]
mov eax, dword [esp + 0xa0]
push ecx
mov ecx, dword [esp + 0xa0]
push edx
mov edx, dword [esp + 0x98]
push eax
mov eax, dword [esp + 0x98]
push ecx
mov ecx, dword [esp + 0xc0]
push edx
mov dword [esp + 0x1b4], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x1b8], 0x1083
mov byte [esp + 0x1bc], bl
mov dword [esp + 0x1c0], str._ERROR:
mov dword [esp + 0x1c4], str.DA_cmd::CMD_NAND_WriteImage
push eax
test ecx, ecx
jge 0x100568ec
fadd dword [0x1024b9e8]
mov edx, dword [esp + 0xc4]
fild dword [esp + 0xc4]
test edx, edx
jge 0x10056904
fadd dword [0x1024b9e8]
fdivp st(1)
lea edi, [esp + 0x1b8]
fmul qword [0x1024b9e0]
fnstcw word [esp + 0x54]
movzx eax, word [esp + 0x54]
or eax, 0xc00
mov dword [esp + 0x58], eax
fldcw word [esp + 0x58]
fistp dword [esp + 0x58]
mov ax, word [esp + 0x58]
movzx ecx, ax
push ecx
fldcw word [esp + 0x58]
push ebp
push esi
push str.PKT__lu_:_Retry__u_:___u___:__lu_bytes_sent__total_bytes_lu__lu.
call fcn.10017c90
add esp, 0x38
lea ecx, [esp + 0x1fc]
mov byte [esp + 0x450], 1
call fcn.1013bd90
lea edx, [esp + 0x27c]
push edx
mov dword [esp + 0x454], 0xffffffff
call fcn.100d8b40
mov eax, 0xf
jmp 0x10057372
mov eax, dword [esp + 0x70]
fild dword [esp + 0xa0]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x90]
push eax
mov eax, dword [esp + 0x90]
push ecx
mov ecx, dword [esp + 0x88]
push edx
mov edx, dword [esp + 0x88]
push eax
mov eax, dword [esp + 0xb0]
push ecx
mov dword [esp + 0x1b8], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x1bc], 0x108b
mov byte [esp + 0x1c0], 0xff
mov dword [esp + 0x1c4], str._ERROR:
mov dword [esp + 0x1c8], str.DA_cmd::CMD_NAND_WriteImage
push edx
test eax, eax
jge 0x100569f5
fadd dword [0x1024b9e8]
mov ecx, dword [esp + 0xb4]
fild dword [esp + 0xb4]
test ecx, ecx
jge 0x10056a0d
fadd dword [0x1024b9e8]
fdivp st(1)
mov ecx, dword [esp + 0xac]
lea edi, [esp + 0x1bc]
fmul qword [0x1024b9e0]
fnstcw word [esp + 0x44]
movzx eax, word [esp + 0x44]
or eax, 0xc00
mov dword [esp + 0x48], eax
fldcw word [esp + 0x48]
fistp dword [esp + 0x48]
mov dx, word [esp + 0x48]
movzx eax, dx
push eax
fldcw word [esp + 0x48]
push ecx
push esi
push str.PKT__lu_:_Retry__u_:___u___:__lu_bytes_sent__total_bytes_lu__lu.
call fcn.10017c90
add esp, 0x28
lea ecx, [esp + 0x1fc]
mov byte [esp + 0x450], bl
call fcn.1013bd90
lea edx, [esp + 0x27c]
push edx
mov dword [esp + 0x454], 0xffffffff
call fcn.100d8b40
mov eax, 0x10
jmp 0x10057372
mov esi, dword [esp + 0x94]
mov ebx, dword [esp + 0x78]
push esi
push esi
push ebx
push str.PKT__lu_:_Retry__u_:_stop_to_re_transmit__retry__u_times_fail_
lea edi, [esp + 0x128]
mov dword [esp + 0x128], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x12c], 0x106f
mov byte [esp + 0x130], 0xff
mov dword [esp + 0x134], str._ERROR:
mov dword [esp + 0x138], str.DA_cmd::CMD_NAND_WriteImage
call fcn.10017c90
fild dword [esp + 0xb0]
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x150], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x154], 0x1070
mov byte [esp + 0x158], 0xff
mov dword [esp + 0x15c], str._ERROR:
mov dword [esp + 0x160], str.DA_cmd::CMD_NAND_WriteImage
test eax, eax
jge 0x10056b2d
fadd dword [0x1024b9e8]
mov ecx, dword [esp + 0xac]
fild dword [esp + 0xac]
test ecx, ecx
jge 0x10056b45
fadd dword [0x1024b9e8]
fdivp st(1)
mov ecx, dword [esp + 0x80]
push ecx
mov ecx, dword [esp + 0xa4]
lea edi, [esp + 0x154]
fmul qword [0x1024b9e0]
fnstcw word [esp + 0x40]
movzx eax, word [esp + 0x40]
or eax, 0xc00
mov dword [esp + 0x44], eax
fldcw word [esp + 0x44]
fistp dword [esp + 0x44]
mov dx, word [esp + 0x44]
movzx eax, dx
mov edx, dword [esp + 0x80]
fldcw word [esp + 0x40]
push edx
mov edx, dword [esp + 0xa4]
push ecx
mov ecx, dword [esp + 0x9c]
push edx
mov edx, dword [esp + 0x9c]
push ecx
push edx
push eax
push esi
push ebx
push str.PKT__lu_:_Retry__u_:___u___:__lu_bytes_sent__total_bytes_lu__lu.
mov dword [esp + 0x68], eax
call fcn.10017c90
push 0xa5
push esi
push ebx
push str.PKT__lu_:_Retry__u_:_send_NACK_0x_02X__to_wakeup_DA_to_stop_
lea edi, [esp + 0x1b0]
mov byte [esp + 0x484], 0xa5
mov dword [esp + 0x1b0], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x1b4], 0x1073
mov byte [esp + 0x1b8], 0xff
mov dword [esp + 0x1bc], str._ERROR:
mov dword [esp + 0x1c0], str.DA_cmd::CMD_NAND_WriteImage
call fcn.10017c90
mov ecx, dword [esp + 0x80]
add esp, 0x48
push 1
push 1
lea eax, [esp + 0x444]
push eax
push ecx
push ebp
mov ebx, 1
call fcn.1004a550
test eax, eax
je 0x10056cb9
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x90]
push edx
mov edx, dword [esp + 0x90]
push eax
mov eax, dword [esp + 0x88]
push ecx
mov ecx, dword [esp + 0x88]
push edx
mov edx, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x8c]
push ecx
push edx
push esi
push eax
push str.Retry__u_:___u___:__lu_bytes_sent__total_bytes_lu__lu.
lea edi, [esp + 0x1e0]
mov dword [esp + 0x1e0], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x1e4], 0x1075
mov byte [esp + 0x1e8], 0xff
mov dword [esp + 0x1ec], str._ERROR:
mov dword [esp + 0x1f0], str.DA_cmd::CMD_NAND_WriteImage
call fcn.10017c90
add esp, 0x28
lea ecx, [esp + 0x1fc]
mov byte [esp + 0x450], bl
call fcn.1013bd90
lea ecx, [esp + 0x27c]
push ecx
mov dword [esp + 0x454], 0xffffffff
call fcn.100d8b40
mov eax, 0xd
jmp 0x10057372
push esi
mov bl, 0xff
push esi
mov dword [esp + 0x1e8], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x1ec], 0x1096
mov byte [esp + 0x1f0], bl
mov dword [esp + 0x1f4], str._ERROR:
mov dword [esp + 0x1f8], str.DA_cmd::CMD_NAND_WriteImage
call sym.FlashToolLib.v1.dll_StatusToString
mov ebp, dword [esp + 0x7c]
push eax
push ebp
push str.PKT__lu_:___s___d___abort_transmission_
lea edi, [esp + 0x1f0]
call fcn.10017c90
fild dword [esp + 0xb0]
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0xa0]
push edx
mov edx, dword [esp + 0xa0]
push eax
mov eax, dword [esp + 0x98]
push ecx
mov ecx, dword [esp + 0x98]
push edx
mov edx, dword [esp + 0xc0]
push eax
mov dword [esp + 0x74], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x78], 0x1097
mov byte [esp + 0x7c], bl
mov dword [esp + 0x80], str._ERROR:
mov dword [esp + 0x84], str.DA_cmd::CMD_NAND_WriteImage
push ecx
test edx, edx
jge 0x10056db0
fadd dword [0x1024b9e8]
mov eax, dword [esp + 0xc4]
fild dword [esp + 0xc4]
test eax, eax
jge 0x10056dc8
fadd dword [0x1024b9e8]
fdivp st(1)
lea edi, [esp + 0x78]
fmul qword [0x1024b9e0]
fnstcw word [esp + 0x54]
movzx eax, word [esp + 0x54]
or eax, 0xc00
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0xbc]
fldcw word [esp + 0x58]
fistp dword [esp + 0x58]
mov cx, word [esp + 0x58]
movzx edx, cx
push edx
fldcw word [esp + 0x58]
push eax
push ebp
push str.PKT__lu_:_Retry__u_:___u___:__lu_bytes_sent__total_bytes_lu__lu.
call fcn.10017c90
add esp, 0x38
lea ecx, [esp + 0x1fc]
mov byte [esp + 0x450], 1
call fcn.1013bd90
lea ecx, [esp + 0x27c]
push ecx
mov dword [esp + 0x454], 0xffffffff
call fcn.100d8b40
mov eax, esi
jmp 0x10057372
cmp dword [esi + 0x18], 0x10
jb 0x10056e4f
mov esi, dword [esi + 4]
jmp 0x10056e52
add esi, 4
push esi
push str.ROM__s__buffer_check_failed_
lea edi, [esp + 0x58]
mov dword [esp + 0x58], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x5c], 0x10b3
mov byte [esp + 0x60], 0xff
mov dword [esp + 0x64], str._ERROR:
mov dword [esp + 0x68], ebx
call fcn.10017c90
add esp, 8
lea ecx, [esp + 0x1fc]
mov byte [esp + 0x450], 1
call fcn.1013bd90
lea edx, [esp + 0x27c]
push edx
mov dword [esp + 0x454], 0xffffffff
call fcn.100d8b40
mov eax, 0x1a
jmp 0x10057372
mov al, byte [esp + 0x43c]
cmp al, 0x5a
je 0x10056efe
movzx edx, al
push edx
push str.non_ACK_0x_02X__return.
mov dword [esp + 0x58], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x5c], 0x10c0
mov byte [esp + 0x60], 0xff
mov dword [esp + 0x64], str._ERROR:
call fcn.10017c90
add esp, 8
mov eax, 0x12
jmp 0x10057372
push 0x5a
mov ebx, str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
push str.ACK_0x_02X_:_checksum_OK_
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], 0x10c3
mov byte [esp + 0x60], 0
mov dword [esp + 0x64], str._DEBUG:
call fcn.10017c90
push str.wait_for_security_post_process_...
lea edi, [esp + 0x5c]
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], 0x10c6
mov byte [esp + 0x64], 0
mov dword [esp + 0x68], str._DEBUG:
mov dword [esp + 0x6c], esi
call fcn.10017c90
mov ecx, dword [esp + 0x44]
add esp, 0xc
push 1
push 0x2710
push 0
lea eax, [esp + 0x448]
push eax
push ecx
push ebp
mov ebx, 1
call fcn.1004a830
test eax, eax
je 0x10056f83
lea eax, [ebx + 0x13]
jmp 0x10057372
cmp byte [esp + 0x43c], 0xa5
jne 0x10057067
push str.proceed_1st_time_download_post_process_...__it_takes_about_1015_seconds_
lea edi, [esp + 0x54]
mov dword [esp + 0x54], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x58], 0x10cb
mov byte [esp + 0x5c], 0
mov dword [esp + 0x60], str._DEBUG:
mov dword [esp + 0x64], esi
call fcn.10017c90
mov ebx, dword [esp + 0xd8]
add esp, 4
test ebx, ebx
je 0x1005703e
push ebx
push str.CALLBACK_SECURITY_POST_PROCESS_NOTIFY_0x_08X_:_enter_...
lea edi, [esp + 0x58]
mov dword [esp + 0x58], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x5c], 0x10cd
mov byte [esp + 0x60], 0
mov dword [esp + 0x64], str._DEBUG:
mov dword [esp + 0x68], esi
call fcn.10017c90
mov edx, dword [esp + 0xc8]
add esp, 8
push edx
call ebx
push ebx
push str.CALLBACK_SECURITY_POST_PROCESS_NOTIFY_0x_08X_:_OK.
lea edi, [esp + 0x58]
mov dword [esp + 0x58], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x5c], 0x10cf
mov byte [esp + 0x60], 0
mov dword [esp + 0x64], str._DEBUG:
mov dword [esp + 0x68], esi
call fcn.10017c90
add esp, 8
mov ecx, dword [esp + 0x38]
push 1
push 0x7530
push 0
lea eax, [esp + 0x448]
push eax
push ecx
push ebp
mov ebx, 1
call fcn.1004a830
test eax, eax
jne 0x10056242
xor bl, bl
push str.security_post_process_is_done_
lea edi, [esp + 0x54]
mov dword [esp + 0x54], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x58], 0x10d5
mov byte [esp + 0x5c], bl
mov dword [esp + 0x60], str._DEBUG:
mov dword [esp + 0x64], esi
call fcn.10017c90
mov edx, dword [esp + 0x38]
mov al, byte [edx + 0x6b]
and al, 2
mov byte [esp + 0x440], al
movzx eax, al
add esp, 4
push eax
push str.send_dl_handle__m_enabe_checksum_0x_02X_.
lea edi, [esp + 0x58]
mov dword [esp + 0x58], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x5c], 0x10dc
mov byte [esp + 0x60], bl
mov dword [esp + 0x64], str._DEBUG:
mov dword [esp + 0x68], esi
call fcn.10017c90
mov edx, dword [esp + 0x40]
add esp, 8
push 1
push 1
lea ecx, [esp + 0x444]
push ecx
push edx
push ebp
mov ebx, 1
call fcn.1004a550
test eax, eax
je 0x10057107
lea eax, [ebx + 0x15]
jmp 0x10057372
push str.wait_for_allowance_check_...
lea edi, [esp + 0x54]
mov dword [esp + 0x54], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x58], 0x10e2
mov byte [esp + 0x5c], 0
mov dword [esp + 0x60], str._DEBUG:
mov dword [esp + 0x64], esi
call fcn.10017c90
mov ecx, dword [esp + 0x3c]
add esp, 4
push 1
push 0x2710
push 1
lea eax, [esp + 0x448]
push eax
push ecx
push ebp
call fcn.1004a830
test eax, eax
jne 0x100562bb
cmp byte [esp + 0x43c], 0x5a
je 0x100571f2
mov eax, dword [esp + 0x38]
push 1
push 0x2710
push 1
lea edx, [esp + 0x40]
push edx
push eax
push ebp
mov ebx, 4
call fcn.1004a830
test eax, eax
jne 0x100562b1
mov eax, dword [esp + 0x34]
movzx edx, byte [esp + 0x36]
movzx ebx, al
shl ebx, 8
movzx ecx, ah
movzx eax, byte [esp + 0x37]
or ebx, ecx
shl ebx, 8
or ebx, edx
shl ebx, 8
or ebx, eax
push ebx
push ebx
mov dword [esp + 0x58], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x5c], 0x10ea
mov byte [esp + 0x60], 0xff
mov dword [esp + 0x64], str._ERROR:
mov dword [esp + 0x68], esi
call sym.FlashToolLib.v1.dll_StatusToString
push eax
push 0x10223800
lea edi, [esp + 0x5c]
call fcn.10017c90
mov eax, ebx
jmp 0x1005736f
xor bl, bl
push str.checksum_is_allowed.
lea edi, [esp + 0x54]
mov dword [esp + 0x54], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x58], 0x10ed
mov byte [esp + 0x5c], bl
mov dword [esp + 0x60], str._DEBUG:
mov dword [esp + 0x64], esi
call fcn.10017c90
mov ecx, dword [esp + 0x38]
add esp, 4
test byte [ecx + 0x6b], 2
mov dword [esp + 0x50], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov byte [esp + 0x58], bl
mov dword [esp + 0x5c], str._DEBUG:
mov dword [esp + 0x60], esi
lea edi, [esp + 0x50]
je 0x100572d2
push str.start_to_calculate_checksum_
mov dword [esp + 0x58], 0x10f2
call fcn.10017c90
mov edx, dword [esp + 0xc8]
mov eax, dword [esp + 0xcc]
mov ecx, dword [esp + 0x38]
add esp, 4
push edx
mov edx, dword [esp + 0x3c]
push eax
push ecx
mov ecx, dword [esp + 0x94]
push edx
mov edx, dword [esp + 0xe0]
push ebp
call fcn.10058760
test eax, eax
je 0x100572e7
push str.VerifyImageChecksum___failed
lea edi, [esp + 0x54]
mov dword [esp + 0x54], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x58], 0x10f5
mov byte [esp + 0x5c], 0xff
mov dword [esp + 0x60], str._ERROR:
mov dword [esp + 0x64], esi
call fcn.10017c90
add esp, 4
mov eax, 0x19
jmp 0x10057372
push str.checksum_is_skipped_
mov dword [esp + 0x58], 0x10fb
call fcn.10017c90
add esp, 4
push 0x102135a4
lea edi, [esp + 0x54]
mov dword [esp + 0x54], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x58], 0x10fe
mov byte [esp + 0x5c], bl
mov dword [esp + 0x60], str._DEBUG:
mov dword [esp + 0x64], esi
call fcn.10017c90
add esp, 4
xor eax, eax
jmp 0x10057372
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 + 0x5c]
mov dword [esp + 0x5c], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x60], 0xf0b
mov byte [esp + 0x64], 0xff
mov dword [esp + 0x68], str._ERROR:
mov dword [esp + 0x6c], str.DA_cmd::CMD_NAND_WriteImage
call fcn.10017c90
mov eax, 1
add esp, 0xc
mov ecx, dword [esp + 0x448]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x430]
xor ecx, esp
call fcn.1016cb16
add esp, 0x440
ret 0x30