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

Disassembly:
sub esp, 0x7c
mov eax, dword [esp + 0x8c]
push ebx
mov ebx, dword [esp + 0x94]
push ebp
mov ebp, dword [esp + 0x88]
push esi
mov esi, dword [esp + 0xa8]
push edi
push esi
push ebx
push eax
push str.stream_io_mgr:_Length_016I64X__packet_Length_u
lea edi, [esp + 0x84]
mov dword [esp + 0x84], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x88], 0xc8c
mov byte [esp + 0x8c], 0
mov dword [esp + 0x90], str._DEBUG:
mov dword [esp + 0x94], str.DA_cmd::SendDataWithRetransmission
call fcn.10017c90
mov ecx, dword [esp + 0xac]
add esp, 0x10
xor eax, eax
push eax
add ecx, 0xffffffff
push esi
adc ebx, 0xffffffff
push ebx
push ecx
call fcn.10176970
mov edi, eax
mov ebx, 0
add edi, 1
mov dword [esp + 0x34], edi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
je 0x10052c04
xor eax, eax
push eax
push esi
push eax
push ebx
call fcn.101769e0
dec edi
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edx
cmp ebx, edi
jne 0x10052ac5
mov edi, dword [esp + 0x9c]
sub edi, eax
jmp 0x10052ac7
mov edi, esi
mov esi, dword [esp + 0x98]
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x24], 0
call fcn.1013c5a0
cmp eax, edi
jb 0x10053014
xor eax, eax
cmp edi, eax
mov dword [esp + 0x1c], eax
jle 0x10052b10
mov cx, ax
mov edx, dword [esp + 0x20]
movzx dx, byte [eax + edx]
inc eax
add cx, dx
cmp eax, edi
jl 0x10052af5
mov word [esp + 0x1c], cx
jmp 0x10052b10
mov esi, dword [esp + 0x94]
push 0
push 0
lea eax, [esp + 0x1c]
push eax
push esi
push ebp
mov ebx, 1
mov byte [esp + 0x28], 0x5a
call fcn.1004a550
test eax, eax
jne 0x10052d85
mov ecx, dword [esp + 0x20]
push eax
push ebx
push ecx
push esi
push ebp
mov ebx, edi
call fcn.1004a550
test eax, eax
jne 0x10052dd0
mov edx, dword [esp + 0x1c]
mov al, byte [esp + 0x1c]
push 0
push 1
lea ecx, [esp + 0x20]
push ecx
push esi
shr edx, 8
push ebp
mov ebx, 2
mov byte [esp + 0x2c], dl
mov byte [esp + 0x2d], al
call fcn.1004a550
test eax, eax
jne 0x10052e2d
push eax
push 0x2710
push 1
lea edx, [esp + 0x9c]
push edx
push esi
push ebp
lea ebx, [eax + 1]
mov byte [esp + 0xa8], al
call fcn.1004a830
test eax, eax
jne 0x10052e7b
mov al, byte [esp + 0x90]
cmp al, 0x69
je 0x10052c10
cmp al, 0xa5
je 0x10052f62
cmp al, 0x96
jne 0x10052b10
push str.DA_cmd::SendDataWithRetransmission__:_STOP_
lea edi, [esp + 0x78]
mov dword [esp + 0x78], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x7c], 0xcec
mov byte [esp + 0x80], 0xd2
mov dword [esp + 0x84], str._WARN:
mov dword [esp + 0x88], str.DA_cmd::SendDataWithRetransmission
call fcn.10017c90
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret 0x28
mov eax, dword [ebp + 4]
xor ebx, ebx
cmp eax, ebx
je 0x10052c25
cmp dword [eax], 0x2694
je 0x10052ec9
cmp dword [esp + 0xb0], ebx
je 0x10052d60
add edi, dword [esp + 0x38]
fnstcw word [esp + 0x14]
mov esi, dword [esp + 0xa8]
mov ecx, ebx
adc ecx, dword [esp + 0x3c]
xor eax, eax
mov edx, 0x64
mov dword [esp + 0x40], edx
mov edx, eax
and eax, 0x7fffffff
mov dword [esp + 0x44], eax
fild qword [esp + 0x40]
and edx, 0x80000000
mov dword [esp + 0x4c], edx
mov dword [esp + 0x48], ebx
fild qword [esp + 0x48]
mov eax, ecx
mov edx, ecx
and eax, 0x7fffffff
fchs
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0xa4]
faddp st(1)
and edx, 0x80000000
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], eax
mov dword [esp + 0x50], edi
fild qword [esp + 0x50]
mov dword [esp + 0x58], ebx
fild qword [esp + 0x58]
mov eax, esi
mov edx, esi
and eax, 0x7fffffff
fchs
mov dword [esp + 0x64], eax
faddp st(1)
and edx, 0x80000000
fild qword [esp + 0x60]
mov dword [esp + 0x6c], edx
mov dword [esp + 0x68], ebx
fild qword [esp + 0x68]
movzx eax, word [esp + 0x14]
or eax, 0xc00
mov dword [esp + 0x20], eax
fchs
faddp st(1)
fdivp st(1)
fmul st(1)
fldcw word [esp + 0x20]
fistp qword [esp + 0x20]
mov eax, dword [esp + 0x20]
mov edx, eax
sub edx, dword [esp + 0x30]
fldcw word [esp + 0x14]
je 0x10052d5e
mov edx, dword [esp + 0xb4]
push edx
mov edx, dword [esp + 0xa8]
push esi
push edx
push ecx
mov dword [esp + 0x30], eax
fild dword [esp + 0x30]
mov dword [esp + 0x40], eax
push edi
test eax, eax
jge 0x10052d27
fadd qword [0x1024b9f8]
fdivrp st(1)
fmul qword [0x1024b9e0]
fnstcw word [esp + 0x28]
movzx eax, word [esp + 0x28]
or eax, 0xc00
mov dword [esp + 0x34], eax
fldcw word [esp + 0x34]
fistp dword [esp + 0x34]
mov al, byte [esp + 0x34]
movzx ecx, al
push ecx
fldcw word [esp + 0x2c]
call dword [esp + 0xc8]
jmp 0x10052d60
fstp st(0)
mov eax, dword [esp + 0x2c]
inc eax
mov dword [esp + 0x2c], eax
cmp eax, dword [esp + 0x34]
jae 0x10052c04
mov esi, dword [esp + 0xac]
mov edi, dword [esp + 0x34]
mov ebx, eax
jmp 0x10052aa2
push str.DA_cmd::SendDataWithRetransmission___WriteData8_hCOM__ACK___fail.
lea edi, [esp + 0x78]
mov dword [esp + 0x78], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x7c], 0xca8
mov byte [esp + 0x80], 0xff
mov dword [esp + 0x84], str._ERROR:
mov dword [esp + 0x88], str.DA_cmd::SendDataWithRetransmission
call fcn.10017c90
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret 0x28
mov edx, dword [esp + 0x20]
push edi
push edx
push str.DA_cmd::SendDataWithRetransmission___WriteData8___data_fail_p_data_buf___s_currentPacketLength_d
lea edi, [esp + 0x80]
mov dword [esp + 0x80], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x84], 0xcae
mov byte [esp + 0x88], 0xff
mov dword [esp + 0x8c], str._ERROR:
mov dword [esp + 0x90], str.DA_cmd::SendDataWithRetransmission
call fcn.10017c90
add esp, 0xc
mov eax, 2
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret 0x28
push str.DA_cmd::SendDataWithRetransmission___WriteData16___checksum_fail
lea edi, [esp + 0x78]
mov dword [esp + 0x78], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x7c], 0xcb4
mov byte [esp + 0x80], 0xff
mov dword [esp + 0x84], str._ERROR:
mov dword [esp + 0x88], str.DA_cmd::SendDataWithRetransmission
call fcn.10017c90
add esp, 4
mov eax, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret 0x28
push str.DA_cmd::SendDataWithRetransmission___ReadData8___handle_download_no_response_
lea edi, [esp + 0x78]
mov dword [esp + 0x78], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x7c], 0xcbc
mov byte [esp + 0x80], 0xff
mov dword [esp + 0x84], str._ERROR:
mov dword [esp + 0x88], str.DA_cmd::SendDataWithRetransmission
call fcn.10017c90
add esp, 4
mov eax, 5
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret 0x28
push ebx
push 1
lea eax, [esp + 0xb8]
push eax
push esi
push ebp
mov ebx, 1
mov byte [esp + 0xc4], 0x96
call fcn.1004a550
mov dword [esp + 0x74], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov byte [esp + 0x7c], 0xff
mov dword [esp + 0x80], str._ERROR:
mov dword [esp + 0x84], str.DA_cmd::SendDataWithRetransmission
lea edi, [esp + 0x74]
test eax, eax
je 0x10052f39
push eax
push str.DA_cmd::SendDataWithRetransmission__:_STOP_transmission_fails__
mov dword [esp + 0x80], 0xcc8
call fcn.10017c90
add esp, 8
lea eax, [ebx + 8]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret 0x28
push 0
push str.DA_cmd::SendDataWithRetransmission__:_STOP_transmission_OKAY__
mov dword [esp + 0x80], 0xccb
call fcn.10017c90
add esp, 8
mov eax, 0x3e8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret 0x28
push 0
push 0x2710
push 1
lea ecx, [esp + 0xbc]
push ecx
push esi
push ebp
mov ebx, 4
call fcn.1004a830
test eax, eax
jne 0x10053005
mov eax, dword [esp + 0xb0]
movzx ecx, byte [esp + 0xb3]
movzx esi, al
shl esi, 8
movzx edx, ah
movzx eax, byte [esp + 0xb2]
or esi, edx
shl esi, 8
or esi, eax
shl esi, 8
or esi, ecx
push esi
mov dword [esp + 0x78], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x7c], 0xcda
mov byte [esp + 0x80], 0xff
mov dword [esp + 0x84], str._ERROR:
mov dword [esp + 0x88], str.DA_cmd::SendDataWithRetransmission
call sym.FlashToolLib.v1.dll_StatusToString
push eax
push str.errorCode__s_.
lea edi, [esp + 0x7c]
call fcn.10017c90
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret 0x28
mov eax, 6
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret 0x28
push edi
push eax
push str.get_buffer_fail.read_len__d__less_than_current_package_length__d_
lea edi, [esp + 0x80]
mov dword [esp + 0x80], str.FlashToolLib_sv5_common_generic_src_da_cmd.cpp
mov dword [esp + 0x84], 0xd00
mov byte [esp + 0x88], 0xff
mov dword [esp + 0x8c], str._ERROR:
mov dword [esp + 0x90], str.DA_cmd::SendDataWithRetransmission
call fcn.10017c90
add esp, 0xc
pop edi
pop esi
pop ebp
mov eax, 0xa
pop ebx
add esp, 0x7c
ret 0x28