Function at 0x408830
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ecx, 0x50cb420
push esi
push edi
lea edx, [ecx + 1]
jmp 0x408840
mov al, byte [ecx]
inc ecx
test al, al
jne 0x408840
sub ecx, edx
je 0x408bfd
mov dl, 1
mov byte [0x4494f1], 1
mov ecx, 0x50cb420
mov byte [0x4494be], 1
call fcn.0040d270
mov esi, eax
test esi, esi
je 0x408c01
push 0x449500
push dword [0x448c04]
push str.Signed_Digest_Table___ld_bytes___s
push 0xe57
push str.SendSignedDigestTable
push 4
call fcn.004011c0
push 0x42eea8
mov edx, 0x800
mov ecx, esi
call fcn.0040eb90
add esp, 0x1c
mov esi, eax
push str.Trying_get_filesize__calling_fseek__
push 0x20b3
push str.ReturnFileSize
push 5
call fcn.004011c0
push 2
push 0
push esi
call fcn.00415e23
add esp, 0x1c
push esi
call fcn.004158dc
add esp, 4
mov edi, eax
push 0
push 0
push esi
call fcn.00415e23
add esp, 0xc
push edi
push str.File_size_is__ld_bytes
push 0xe5d
push str.SendSignedDigestTable
push 5
call fcn.004011c0
add esp, 0x14
push esi
push edi
push 1
push 0x2a95300
call fcn.00414f9f
push esi
mov ebx, eax
call fcn.00415fc1
add esp, 0x14
test ebx, ebx
je 0x408c29
cmp ebx, edi
jb 0x408c51
lea eax, [edi - 0x1928]
cmp edi, 0x1928
ja 0x408939
lea eax, [edi - 0x28]
shr eax, 5
push eax
push str.SIGNED_Digest_table_had__ld_digets
push 0xe80
push str.SendSignedDigestTable
push 4
mov dword [0x448c00], eax
call fcn.004011c0
add esp, 0x14
push dword [0x448c2c]
push str.MaxNumDigestsPerTable_is__ld
push 0xe82
push str.SendSignedDigestTable
push 4
call fcn.004011c0
mov eax, dword [0x448c2c]
add esp, 0x14
mov ecx, eax
sub ecx, dword [0x448c00]
sub eax, ecx
mov dword [0x449440], ecx
push eax
push ecx
push str.Setting_CurrentDigestLocation_to_number__ld__meaning__ld_hashes_to_go_before_a_new_table_must_be_sent
push 0xe85
push str.SendSignedDigestTable
push 4
call fcn.004011c0
push edi
push str.Calling_sendTransmitBufferBytes__ld_bytes_
push 0xe8d
push str.SendSignedDigestTable
push 4
mov byte [0x4494f1], 0
call fcn.004011c0
add esp, 0x2c
call fcn.00408470
push 1
push ecx
mov edx, edi
call fcn.00408cd0
add esp, 8
mov dword [0x448c0c], eax
test eax, eax
je 0x408c7b
cmp byte [0x448c26], 0
mov byte [0x4494f1], 1
je 0x408a56
mov eax, dword [0x4494b0]
mov edx, 0x100000
sub edx, eax
lea ecx, [eax + 0x2895240]
call fcn.00409870
push ecx
mov edx, str._data__n
mov ecx, 0x2895240
call fcn.004098b0
mov edx, str._response_value_ACK_
mov ecx, 0x2895240
call fcn.004098b0
mov edx, str.___n__data_
mov ecx, 0x2895240
call fcn.004098b0
mov ecx, 0x2895240
add esp, 4
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x408a47
sub ecx, edx
mov dword [0x4494f8], ecx
call fcn.0040c2d0
cmp byte [0x448c38], 0
je 0x408c85
push str.Got_the_ACK
push 0xea8
push str.SendSignedDigestTable
push 5
call fcn.004011c0
push str._t____________________________
push 0xeb5
push str.SendSignedDigestTable
push 4
call fcn.004011c0
push str._t___________________________
push 0xeb6
push str.SendSignedDigestTable
push 4
call fcn.004011c0
push str._t____._____________________________________
push 0xeb7
push str.SendSignedDigestTable
push 4
call fcn.004011c0
add esp, 0x40
push str._t____.______________________________
push 0xeb8
push str.SendSignedDigestTable
push 4
call fcn.004011c0
push str._t______________________________
push 0xeb9
push str.SendSignedDigestTable
push 4
call fcn.004011c0
push 0x42f77c
push 0xeba
push str.SendSignedDigestTable
push 4
call fcn.004011c0
push str._t______________
push 0xebb
push str.SendSignedDigestTable
push 4
call fcn.004011c0
add esp, 0x40
push str._t_________________n
push 0xebc
push str.SendSignedDigestTable
push 4
call fcn.004011c0
push str._t_____________________________
push 0xebd
push str.SendSignedDigestTable
push 4
call fcn.004011c0
push 0x42f810
push 0xebe
push str.SendSignedDigestTable
push 4
call fcn.004011c0
push 0x42f830
push 0xebf
push str.SendSignedDigestTable
push 4
call fcn.004011c0
add esp, 0x40
push str._t__________________________
push 0xec0
push str.SendSignedDigestTable
push 4
call fcn.004011c0
push str._t_____________________
push 0xec1
push str.SendSignedDigestTable
push 4
call fcn.004011c0
push str._t_______________________n
push 0xec2
push str.SendSignedDigestTable
push 4
call fcn.004011c0
push str.FIREHOSE:_Signed_DIGEST_sent._This_is_not_counted_towards_command_sent
push 0xec3
push str.SendSignedDigestTable
push 5
call fcn.004011c0
add esp, 0x40
push str.FIREHOSE:_PacketsSent_reset_to_0
push 0xec4
push str.SendSignedDigestTable
push 5
call fcn.004011c0
add esp, 0x10
mov dword [0x449480], 0
dec dword [0x449440]
pop edi
pop esi
pop ebx
ret
push 0x50cb420
push str._s_not_found
push 0xe53
push str.SendSignedDigestTable
push 1
call fcn.004011c0
add esp, 0x14
mov ecx, 1
call fcn.004016b0
push 0x50cb420
push str.Read_0_bytes_from__s
push 0xe65
push str.SendSignedDigestTable
push 1
call fcn.004011c0
add esp, 0x14
mov ecx, 1
call fcn.004016b0
push edi
push 0x50cb420
push ebx
push str.Read__ld_bytes_from__s_but_expected__ld
push 0xe6b
push str.SendSignedDigestTable
push 1
call fcn.004011c0
add esp, 0x1c
mov ecx, 1
call fcn.004016b0
mov ecx, 1
call fcn.004016b0
push 0x50cb420
push 0x50cb420
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 0xeb1
push str.SendSignedDigestTable
push 1
call fcn.004011c0
add esp, 0x18
mov ecx, 1
call fcn.004016b0
int3