Function at 0x407feb
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dl, 1
mov ecx, str.DIGEST_TABLE.bin
push ebx
push esi
push edi
call fcn.0040d270
test eax, eax
je 0x4083f0
mov eax, dword [0x448c04]
mov edi, eax
shr edi, 5
mov dword [0x449474], 0
mov dword [ebp - 0x24], edi
test al, 0x1f
ja 0x408418
push edi
push str.NumDigestsInFile___ld
push 0xd05
push str.PrepareDigestTable
push 2
call fcn.004011c0
mov eax, dword [0x448c2c]
add esp, 0x14
test eax, eax
jne 0x407f15
push str.3._In_PrepareDigestTable_AND_MaxNumDigestsPerTable_WAS_ZERO
push 0xd0a
push str.PrepareDigestTable
push 4
call fcn.004011c0
mov eax, dword [0x2681ecc]
add esp, 0x10
shr eax, 5
mov dword [0x448c2c], eax
lea ecx, [eax - 1]
mov dword [ebp - 8], ecx
cmp edi, 0x36
jb 0x407f2c
lea eax, [edi - 0x35]
xor edx, edx
div ecx
lea ebx, [eax + 1]
jmp 0x407f2e
xor ebx, ebx
lea eax, [ebx - 1]
mov dword [ebp - 0x14], ebx
push 0x42eea8
mov edx, 0x10
mov dword [ebp - 0x28], eax
mov ecx, str.DIGEST_TABLE.bin
call fcn.0040eb90
add esp, 4
mov esi, eax
mov dword [0x448c30], esi
push 0x100000
push 0
push 0x2a95300
call fcn.00418cc0
add esp, 0xc
push 0x100000
push 0
push 0x25816a0
call fcn.00418cc0
xorps xmm0, xmm0
mov dword [ebp - 0xc], 0
add esp, 0xc
movdqa xmmword [0x4494c0], xmm0
movdqa xmmword [0x4494d0], xmm0
test ebx, ebx
je 0x408167
mov eax, 0x2a95300
lea edi, [ebx - 1]
sub eax, 0x20
shl edi, 5
mov dword [ebp - 0x18], eax
add edi, 0x25816a0
mov eax, dword [ebp - 8]
shl eax, 5
mov dword [ebp - 0x20], eax
lea eax, [ebx - 1]
imul eax, dword [ebp - 8]
add eax, 0x35
shl eax, 5
mov dword [ebp - 0x10], eax
push 0
push eax
push esi
call fcn.00415e23
mov eax, dword [0x2681ecc]
add esp, 0xc
add eax, 0xffffffe0
push dword [0x448c30]
push eax
push 1
push 0x2a95300
call fcn.00414f9f
mov ecx, dword [0x2681ecc]
add esp, 0x10
cmp dword [ebp - 0xc], 0
mov edx, dword [ebp - 0x18]
movdqu xmm0, xmmword [0x4494c0]
mov dword [0x449474], eax
movdqu xmmword [edx + ecx], xmm0
movdqu xmm0, xmmword [0x4494d0]
movdqu xmmword [edx + ecx + 0x10], xmm0
jbe 0x408031
add eax, 0x20
mov dword [0x449474], eax
push dword [0x448c30]
call fcn.004158dc
add esp, 4
cdq
mov esi, eax
mov dword [ebp - 0x1c], edx
push 2
push 0
push dword [0x448c30]
call fcn.00415e23
add esp, 0xc
push dword [0x448c30]
call fcn.004158dc
cdq
add esp, 4
cmp esi, eax
jne 0x408091
cmp dword [ebp - 0x1c], edx
jne 0x408091
mov esi, dword [0x449474]
cmp esi, 0x100000
jae 0x408440
mov byte [esi + 0x2a95300], 0
inc esi
mov dword [0x449474], esi
jmp 0x408097
mov esi, dword [0x449474]
xor eax, eax
cmp eax, 0x2784740
je 0x4080e7
push 0x8c
push eax
push 0x2784740
call fcn.00418cc0
movdqu xmm0, xmmword [0x434834]
add esp, 0xc
mov dword [0x2784740], 0
mov dword [0x2784744], 0
movdqu xmmword [0x2784748], xmm0
movdqu xmm0, xmmword [0x434844]
movdqu xmmword [0x2784758], xmm0
test esi, esi
je 0x408103
push esi
push 0x2a95300
mov edx, 0x2784788
mov ecx, 0x2784740
call fcn.004023a0
add esp, 8
mov edx, 0x2784788
mov ecx, 0x2784740
call fcn.004024b0
push 0x4494c0
mov edx, 0x2784788
mov ecx, 0x2784740
call fcn.004025a0
movdqu xmm0, xmmword [0x4494c0]
mov ecx, dword [ebp - 0xc]
add esp, 4
mov eax, dword [ebp - 0x10]
inc ecx
sub eax, dword [ebp - 0x20]
movdqu xmmword [edi], xmm0
mov dword [ebp - 0x10], eax
movdqu xmm0, xmmword [0x4494d0]
mov dword [ebp - 0xc], ecx
movdqu xmmword [edi + 0x10], xmm0
sub edi, 0x20
cmp ecx, ebx
jae 0x408164
mov esi, dword [0x448c30]
jmp 0x407fd0
mov edi, dword [ebp - 0x24]
push 0x42d4e4
mov edx, 0x15
mov ecx, str.DigestsToSign.bin.mbn
call fcn.0040eb90
add esp, 4
mov esi, eax
push 0
push 0
push dword [0x448c30]
call fcn.00415e23
add esp, 0xc
push dword [0x448c30]
push 0x6a0
push 1
push 0x2a95300
call fcn.00414f9f
push esi
push 1
mov dword [0x449474], eax
lea eax, [ebp - 4]
push 4
push eax
mov dword [ebp - 4], 0x1a
call fcn.004154ca
push esi
push 1
lea eax, [ebp - 4]
mov dword [ebp - 4], 3
push 4
push eax
call fcn.004154ca
push esi
push 1
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x28
push 4
push eax
call fcn.004154ca
add esp, 0x40
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push esi
push 1
push 4
push eax
call fcn.004154ca
add esp, 0x10
cmp edi, 0x36
jb 0x408216
mov dword [ebp - 4], 0x6c0
jmp 0x40821f
lea eax, [edi + 1]
shl eax, 5
mov dword [ebp - 4], eax
push esi
push 1
lea eax, [ebp - 4]
push 4
push eax
call fcn.004154ca
push esi
push 1
lea eax, [ebp - 4]
push 4
push eax
call fcn.004154ca
push esi
push 1
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push 4
push eax
call fcn.004154ca
push esi
push 1
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push 4
push eax
call fcn.004154ca
add esp, 0x40
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push esi
push 1
push 4
push eax
call fcn.004154ca
push esi
push 1
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push 4
push eax
call fcn.004154ca
push esi
push 1
push dword [0x449474]
push 0x2a95300
call fcn.004154ca
add esp, 0x30
cmp edi, 0x36
jae 0x4082c1
push 0x100000
push 0
push 0x25816a0
call fcn.00418cc0
add esp, 0xc
push esi
push 1
push 0x20
push 0x25816a0
call fcn.004154ca
push esi
call fcn.00415fc1
add esp, 0x14
mov edx, 0x19
mov ecx, str.ChainedTableOfDigests.bin
push 0x42d4e4
call fcn.0040eb90
add esp, 4
xor esi, esi
mov edi, eax
test ebx, ebx
je 0x40839f
shl dword [ebp - 8], 5
mov eax, 0x6a0
mov ebx, 0x25816c0
mov dword [ebp - 0x10], eax
lea ecx, [ecx]
push 0
push eax
push dword [0x448c30]
call fcn.00415e23
add esp, 0xc
push 0x100000
push 0
push 0x2a95300
call fcn.00418cc0
mov eax, dword [0x2681ecc]
add esp, 0xc
add eax, 0xffffffe0
push dword [0x448c30]
push eax
push 1
push 0x2a95300
call fcn.00414f9f
push edi
push 1
push eax
push 0x2a95300
mov dword [0x449474], eax
call fcn.004154ca
add esp, 0x20
push edi
push 1
cmp esi, dword [ebp - 0x28]
jae 0x408373
push 0x20
push ebx
jmp 0x408381
push 1
mov byte [0x2a95300], 0
push 0x2a95300
call fcn.004154ca
mov eax, dword [ebp - 0x10]
inc esi
add eax, dword [ebp - 8]
add esp, 0x10
add ebx, 0x20
mov dword [ebp - 0x10], eax
cmp esi, dword [ebp - 0x14]
jb 0x408310
push edi
call fcn.004158dc
cdq
add esp, 4
mov ecx, eax
and ecx, 0x1ff
or ecx, 0
jne 0x4083c8
push ecx
push dword [0x2681ecc]
push edx
push eax
call fcn.004267c0
or eax, edx
jne 0x408445
push edi
call fcn.00415fc1
add esp, 4
push dword [0x448c30]
call fcn.00415fc1
add esp, 4
mov dword [0x448c30], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.DIGEST_TABLE.bin
push str._s_not_found
push 0xcf6
push str.PrepareDigestTable
push 1
call fcn.004011c0
add esp, 0x14
mov ecx, 1
call fcn.004016b0
push str.DIGEST_TABLE.bin
push str.Your_DIGEST_TABLE__s_file_is_not_a_multiple_of_32_bytes
push 0xd01
push str.PrepareDigestTable
push 1
call fcn.004011c0
add esp, 0x14
mov ecx, 1
call fcn.004016b0
call fcn.00415295
push str.This_should_not_be_hit._The_Digest_output_file_is_a_multiple_of_512._This_will_cause_the_target_to_hang._Please_re_run_and_add___nop_to_fix_this_issue
push 0xda4
push str.PrepareDigestTable
push 1
call fcn.004011c0
add esp, 0x10
mov ecx, 1
call fcn.004016b0
int3