Function at 0x40b910
Capabilities:
Enumerate pe sections
Hash data using sha256

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x446ac9
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push esi
mov esi, ecx
mov al, byte [esi + 0x68]
xor ebx, ebx
cmp al, bl
jne 0x40b961
push str.FileCrypt_ERROR:_in_CSHA::FinalDigest____No_data_Added_before_call_
lea ecx, [esp + 0xc]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
push eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x58], ebx
call fcn.00405530
push 0x470a58
lea eax, [esp + 0x28]
push eax
call sub.MSVCR71.dll__CxxThrowException
mov eax, dword [esi + 0x20]
shr eax, 3
and eax, 0x3f
push edi
lea edi, [eax + esi + 0x28]
mov ecx, 0x3f
sub ecx, eax
mov byte [edi], 0x80
inc edi
xor eax, eax
cmp ecx, 8
jae 0x40b9a4
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, esi
call fcn.00408e00
mov ecx, 0xe
xor eax, eax
lea edi, [esi + 0x28]
rep stosd dword es:[edi], eax
jmp 0x40b9b5
add ecx, 0xfffffff8
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov cl, byte [esi + 0x24]
mov byte [esi + 0x63], cl
mov dl, byte [esi + 0x25]
lea eax, [esi + 0x63]
mov byte [eax - 1], dl
mov cl, byte [esi + 0x26]
dec eax
mov byte [eax - 1], cl
mov dl, byte [esi + 0x27]
mov byte [eax - 2], dl
mov cl, byte [esi + 0x20]
dec eax
mov byte [esi + 0x67], cl
mov dl, byte [esi + 0x21]
lea eax, [esi + 0x67]
mov byte [eax - 1], dl
mov cl, byte [esi + 0x22]
dec eax
dec eax
mov byte [eax], cl
mov dl, byte [esi + 0x23]
mov ecx, esi
mov byte [eax - 1], dl
call fcn.00408e00
mov dl, byte [esi]
mov eax, dword [esp + 0x60]
mov byte [eax + 3], dl
mov dl, byte [esi + 1]
lea ecx, [eax + 3]
mov byte [ecx - 1], dl
mov dl, byte [esi + 2]
dec ecx
mov byte [ecx - 1], dl
mov dl, byte [esi + 3]
mov byte [ecx - 2], dl
mov dl, byte [esi + 4]
mov byte [eax + 7], dl
mov dl, byte [esi + 5]
dec ecx
lea ecx, [eax + 7]
mov byte [ecx - 1], dl
mov dl, byte [esi + 6]
dec ecx
mov byte [ecx - 1], dl
mov dl, byte [esi + 7]
mov byte [ecx - 2], dl
mov dl, byte [esi + 8]
mov byte [eax + 0xb], dl
mov dl, byte [esi + 9]
dec ecx
lea ecx, [eax + 0xb]
mov byte [ecx - 1], dl
mov dl, byte [esi + 0xa]
dec ecx
mov byte [ecx - 1], dl
mov dl, byte [esi + 0xb]
mov byte [ecx - 2], dl
mov dl, byte [esi + 0xc]
mov byte [eax + 0xf], dl
mov dl, byte [esi + 0xd]
dec ecx
lea ecx, [eax + 0xf]
mov byte [ecx - 1], dl
mov dl, byte [esi + 0xe]
dec ecx
mov byte [ecx - 1], dl
mov dl, byte [esi + 0xf]
mov byte [ecx - 2], dl
mov dl, byte [esi + 0x10]
dec ecx
mov byte [eax + 0x13], dl
mov dl, byte [esi + 0x11]
lea ecx, [eax + 0x13]
mov byte [ecx - 1], dl
mov dl, byte [esi + 0x12]
dec ecx
dec ecx
mov byte [ecx], dl
mov dl, byte [esi + 0x13]
mov byte [ecx - 1], dl
lea ecx, [eax + 0x17]
mov dl, byte [esi + 0x14]
mov byte [ecx], dl
mov dl, byte [esi + 0x15]
mov byte [ecx - 1], dl
mov dl, byte [esi + 0x16]
dec ecx
mov byte [ecx - 1], dl
mov dl, byte [esi + 0x17]
mov byte [ecx - 2], dl
mov dl, byte [esi + 0x18]
mov byte [eax + 0x1b], dl
mov dl, byte [esi + 0x19]
dec ecx
lea ecx, [eax + 0x1b]
mov byte [ecx - 1], dl
mov dl, byte [esi + 0x1a]
dec ecx
mov byte [ecx - 1], dl
mov dl, byte [esi + 0x1b]
mov byte [ecx - 2], dl
dec ecx
mov cl, byte [esi + 0x1c]
mov byte [eax + 0x1f], cl
mov dl, byte [esi + 0x1d]
add eax, 0x1f
mov byte [eax - 1], dl
mov cl, byte [esi + 0x1e]
dec eax
mov byte [eax - 1], cl
mov dl, byte [esi + 0x1f]
mov ecx, dword [esp + 0x50]
mov byte [eax - 2], dl
dec eax
mov dword [esi], 0x6a09e667
mov dword [esi + 4], 0xbb67ae85
mov dword [esi + 8], 0x3c6ef372
mov dword [esi + 0xc], 0xa54ff53a
mov dword [esi + 0x10], 0x510e527f
mov dword [esi + 0x14], 0x9b05688c
mov dword [esi + 0x18], 0x1f83d9ab
mov dword [esi + 0x1c], 0x5be0cd19
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov byte [esi + 0x68], bl
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x50
ret 4