Function at 0x409f80
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov eax, 0x23f7ee0
push edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x409f91
sub eax, edx
je 0x40a400
push 1
mov ecx, 0x23f7ee0
mov byte [0x23893a9], 1
mov byte [0x23893aa], 1
call fcn.0040f430
mov esi, eax
add esp, 4
test esi, esi
jne 0x409fe8
push 0x23f7ee0
push str._s_not_found
push 0x12bd
push str.SendSignedDigestTable
push 1
call fcn.00401210
add esp, 0x14
push 1
call fcn.004017c0
mov eax, dword [0x2389cec]
mov ecx, dword [0x2389ce8]
push 0x2388ba8
push eax
push ecx
push str.Signed_Digest_Table___lld_bytes___s
push 0x12c1
push str.SendSignedDigestTable
push 4
call fcn.00401210
add esp, 0x1c
push 0x800
mov edx, 0x42d888
mov ecx, esi
call fcn.00410ed0
add esp, 4
push str.Trying_get_filesize__calling_fseek__
push 0x2559
push str.ReturnFileSize
push 5
mov edi, eax
call fcn.00401210
push 2
push 0
push 0
push edi
call fcn.00418c8a
push edi
call fcn.004179ce
add esp, 0x24
push 0
push 0
push 0
push edi
mov esi, eax
mov ebx, edx
call fcn.00418c8a
push ebx
push esi
push str.File_size_is__lld_bytes
push 0x12c7
push str.SendSignedDigestTable
push 5
call fcn.00401210
push edi
push esi
push 1
push 0x277a800
call fcn.00419559
push edi
mov dword [ebp - 8], eax
call fcn.00419df4
mov ecx, dword [ebp - 8]
mov edx, ecx
xor eax, eax
add esp, 0x3c
or edx, eax
jne 0x40a0b5
push 0x23f7ee0
push str.Read_0_bytes_from__s
push 0x12cf
jmp 0x409fd2
cmp eax, ebx
jg 0x40a0e6
jl 0x40a0bf
cmp ecx, esi
jae 0x40a0e6
push ebx
push esi
push 0x23f7ee0
push eax
push ecx
push str.Read__lld_bytes_from__s_but_expected__lld
push 0x12d5
push str.SendSignedDigestTable
push 1
call fcn.00401210
add esp, 0x24
jmp 0x409fe1
test ebx, ebx
jl 0x40a108
jg 0x40a0f4
cmp esi, 0x1928
jbe 0x40a108
mov eax, esi
push 0
sub eax, 0x1928
mov ecx, ebx
push 0x20
sbb ecx, 0
push ecx
push eax
jmp 0x40a118
mov edx, esi
push 0
sub edx, 0x28
mov eax, ebx
push 0x20
sbb eax, 0
push eax
push edx
call fcn.00421560
push edx
push eax
push str.SIGNED_Digest_table_had__lld_digests
push 0x12ea
push str.SendSignedDigestTable
push 4
mov dword [0x2389c34], edx
mov dword [0x2389c30], eax
call fcn.00401210
mov ecx, dword [0x2389c3c]
mov edx, dword [0x2389c38]
push ecx
push edx
push str.MaxNumDigestsPerTable_is__lld
push 0x12ec
push str.SendSignedDigestTable
push 4
call fcn.00401210
mov edx, dword [0x2389c38]
mov edi, dword [0x2389c3c]
mov eax, edx
sub eax, 0x36
mov ecx, edi
sbb ecx, 0
sub edx, eax
sbb edi, ecx
push edi
push edx
push ecx
push eax
push str.Setting_CurrentDigestLocation_to_number__lld__meaning__lld_hashes_to_go_before_a_new_table_must_be_sent
push 0x12f0
push str.SendSignedDigestTable
push 4
mov dword [0x2389c20], eax
mov dword [0x2389c24], ecx
call fcn.00401210
add esp, 0x50
push ebx
push esi
push str.Calling_sendTransmitBufferBytes__lld_bytes_
push 0x12f8
push str.SendSignedDigestTable
push 4
mov byte [0x23893a9], 0
call fcn.00401210
push ebx
push esi
call fcn.0040b0e0
add esp, 0x20
test eax, eax
je 0x409fe1
cmp byte [0x2389c43], 0
mov byte [0x23893a9], 1
je 0x40a24e
mov eax, dword [0x2389cc8]
mov ecx, 0x100000
sub ecx, eax
push 0
push ecx
lea eax, [eax + 0x297a8c0]
call fcn.0040b050
push 0x297a8c0
mov eax, str._data__n
call fcn.0040b080
add esp, 0xc
push 0x297a8c0
mov eax, str._response_value_ACK_
call fcn.0040b080
add esp, 4
push 0x297a8c0
mov eax, str.___n__data_
call fcn.0040b080
mov eax, 0x297a8c0
add esp, 4
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40a240
sub eax, edx
mov dword [0x2389cc4], eax
call fcn.0040e2e0
cmp byte [0x23893b3], 0
je 0x40a407
push str.Got_the_ACK
push 0x1313
push str.SendSignedDigestTable
push 5
call fcn.00401210
push str._t____________________________
push 0x1320
push str.SendSignedDigestTable
push 4
call fcn.00401210
push str._t___________________________
push 0x1321
push str.SendSignedDigestTable
push 4
call fcn.00401210
push str._t____._____________________________________
push 0x1322
push str.SendSignedDigestTable
push 4
call fcn.00401210
add esp, 0x40
push str._t____.______________________________
push 0x1323
push str.SendSignedDigestTable
push 4
call fcn.00401210
push str._t______________________________
push 0x1324
push str.SendSignedDigestTable
push 4
call fcn.00401210
push 0x42ec74
push 0x1325
push str.SendSignedDigestTable
push 4
call fcn.00401210
push str._t______________
push 0x1326
push str.SendSignedDigestTable
push 4
call fcn.00401210
add esp, 0x40
push str._t_________________n
push 0x1327
push str.SendSignedDigestTable
push 4
call fcn.00401210
push str._t_____________________________
push 0x1328
push str.SendSignedDigestTable
push 4
call fcn.00401210
push 0x42ed08
push 0x1329
push str.SendSignedDigestTable
push 4
call fcn.00401210
push 0x42ed28
push 0x132a
push str.SendSignedDigestTable
push 4
call fcn.00401210
add esp, 0x40
push str._t__________________________
push 0x132b
push str.SendSignedDigestTable
push 4
call fcn.00401210
push str._t_____________________
push 0x132c
push str.SendSignedDigestTable
push 4
call fcn.00401210
push str._t_______________________n
push 0x132d
push str.SendSignedDigestTable
push 4
call fcn.00401210
push str.FIREHOSE:_Signed_DIGEST_sent._This_is_not_counted_towards_command_sent
push 0x132e
push str.SendSignedDigestTable
push 5
call fcn.00401210
add esp, 0x40
push str.FIREHOSE:_PacketsSent_reset_to_0
push 0x132f
push str.SendSignedDigestTable
push 5
call fcn.00401210
xor eax, eax
mov dword [0x2389c18], eax
mov dword [0x2389c1c], eax
or eax, 0xffffffff
add esp, 0x10
add dword [0x2389c20], eax
adc dword [0x2389c24], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x23f7ee0
push 0x23f7ee0
push str.The_Digitally_Signed_Digest_Table_was_rejected_by_the_target_n_n_t1._Are_you_sure_it_was_digitally_signed__Was_it_digitally_signed_correctly_for_this_target__n_t2._Are_you_sure_you_have_a_secure_boot_enabled_target__Maybe_your_target_was_expecting_an_XML_file__n_nBecause_you_used___signeddigests_s_option__this_tool_sends__n_s_as_the_first_packet._It_is_sent_as_a_RAW_binary_file_for_VIP_nYour_target_either_wasnt_expecting_this_file__OR_your_file_was_not_digitially_signed_correctly_n_nCant_continue_due_to_this_error._Your_target_does_not_like_what_you_sent_n_n
push 0x131c
push str.SendSignedDigestTable
push 1
call fcn.00401210
add esp, 0x18
jmp 0x409fe1