Function at 0x40bf80
Capabilities:
Encode data using xor
Hash data with md5
Read file on windows

Disassembly:
mov eax, dword [0x45f8d0]
sub esp, 0x20
test eax, eax
jne 0x40bf9e
push 0x1040
call fcn.0040f0b9
add esp, 4
mov dword [0x45f8d0], eax
push ebx
push ebp
push edi
mov edi, eax
mov dword [esp + 0x20], edi
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
xor ebp, ebp
mov eax, dword [esp + 0x30]
push eax
push 0x1000
push 1
push edi
call fcn.0042dc97
add ebp, eax
add esp, 0x10
cmp eax, 0x1000
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ebp
jne 0x40bfee
mov edx, eax
jmp 0x40c031
lea ecx, [eax + 1]
mov edx, ecx
and edx, 0x3f
cmp dl, 0x38
mov byte [eax + edi], 0x80
je 0x40c011
nop
mov byte [ecx + edi], 0
add ecx, 1
mov edx, ecx
and edx, 0x3f
cmp dl, 0x38
jne 0x40c000
lea edx, [ebp*8]
mov dword [ecx + edi], edx
add ecx, 4
mov edx, ebp
shr edx, 0x1d
mov dword [ecx + edi], edx
lea edx, [ecx + 4]
test edx, edx
jbe 0x40c9b5
lea eax, [edx - 1]
shr eax, 6
add eax, 1
lea ecx, [edi + 0x38]
mov dword [esp + 0xc], eax
mov edi, dword [esi + 4]
mov edx, dword [esi + 8]
mov eax, dword [esi + 0xc]
mov ebx, dword [esi]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
and edx, edi
mov ebp, edi
not ebp
and ebp, eax
mov eax, dword [ecx - 0x38]
or ebp, edx
add ebp, ebx
lea edx, [eax + ebp - 0x28955b88]
rol edx, 7
mov dword [esi], edx
mov eax, dword [esi + 4]
add edx, eax
mov dword [esi], edx
mov eax, edx
and edx, dword [esi + 4]
not eax
and eax, dword [esi + 8]
mov dword [esp + 0x14], edi
or eax, edx
add eax, dword [esi + 0xc]
mov edx, dword [ecx - 0x34]
lea edx, [eax + edx - 0x173848aa]
rol edx, 0xc
mov dword [esi + 0xc], edx
mov eax, dword [esi]
add edx, eax
mov dword [esi + 0xc], edx
mov eax, edx
and edx, dword [esi]
not eax
and eax, dword [esi + 4]
or eax, edx
add eax, dword [esi + 8]
mov edx, dword [ecx - 0x30]
lea edx, [eax + edx + 0x242070db]
ror edx, 0xf
mov dword [esi + 8], edx
mov eax, dword [esi + 0xc]
add edx, eax
mov dword [esi + 8], edx
mov eax, edx
and edx, dword [esi + 0xc]
not eax
and eax, dword [esi]
or eax, edx
add eax, dword [esi + 4]
mov edx, dword [ecx - 0x2c]
lea edx, [eax + edx - 0x3e423112]
ror edx, 0xa
mov dword [esi + 4], edx
mov eax, dword [esi + 8]
add edx, eax
mov dword [esi + 4], edx
mov eax, edx
and edx, dword [esi + 8]
not eax
and eax, dword [esi + 0xc]
or eax, edx
add eax, dword [ecx - 0x28]
mov edx, dword [esi]
lea edx, [eax + edx - 0xa83f051]
rol edx, 7
mov dword [esi], edx
mov eax, dword [esi + 4]
add edx, eax
mov eax, edx
mov dword [esi], edx
and edx, dword [esi + 4]
not eax
and eax, dword [esi + 8]
or eax, edx
add eax, dword [esi + 0xc]
mov edx, dword [ecx - 0x24]
lea edx, [eax + edx + 0x4787c62a]
rol edx, 0xc
mov dword [esi + 0xc], edx
mov eax, dword [esi]
add edx, eax
mov dword [esi + 0xc], edx
mov eax, edx
and edx, dword [esi]
not eax
and eax, dword [esi + 4]
or eax, edx
add eax, dword [ecx - 0x20]
mov edx, dword [esi + 8]
lea edx, [eax + edx - 0x57cfb9ed]
ror edx, 0xf
mov dword [esi + 8], edx
mov eax, dword [esi + 0xc]
add edx, eax
mov dword [esi + 8], edx
mov edi, dword [esi + 0xc]
and edi, edx
mov eax, edx
mov edx, dword [ecx - 0x1c]
not eax
and eax, dword [esi]
or eax, edi
add eax, dword [esi + 4]
lea edx, [eax + edx - 0x2b96aff]
ror edx, 0xa
mov dword [esi + 4], edx
mov eax, dword [esi + 8]
add edx, eax
mov dword [esi + 4], edx
mov edi, dword [esi + 8]
and edi, edx
mov eax, edx
mov edx, dword [esi]
not eax
and eax, dword [esi + 0xc]
or eax, edi
add eax, dword [ecx - 0x18]
lea edx, [eax + edx + 0x698098d8]
rol edx, 7
mov dword [esi], edx
mov eax, dword [esi + 4]
add edx, eax
mov dword [esi], edx
mov edi, dword [esi + 4]
mov eax, edx
not eax
and eax, dword [esi + 8]
and edi, edx
mov edx, dword [ecx - 0x14]
or eax, edi
add eax, dword [esi + 0xc]
lea edx, [eax + edx - 0x74bb0851]
rol edx, 0xc
mov dword [esi + 0xc], edx
mov eax, dword [esi]
add edx, eax
mov dword [esi + 0xc], edx
mov edi, dword [esi]
mov eax, edx
not eax
and eax, dword [esi + 4]
and edi, edx
mov edx, dword [ecx - 0x10]
or eax, edi
add eax, dword [esi + 8]
lea edx, [eax + edx - 0xa44f]
ror edx, 0xf
mov dword [esi + 8], edx
mov eax, dword [esi + 0xc]
add edx, eax
mov dword [esi + 8], edx
mov edi, dword [esi + 0xc]
mov eax, edx
not eax
and eax, dword [esi]
and edi, edx
mov edx, dword [esi + 4]
or eax, edi
add eax, dword [ecx - 0xc]
lea edx, [eax + edx - 0x76a32842]
ror edx, 0xa
mov dword [esi + 4], edx
mov eax, dword [esi + 8]
add edx, eax
mov dword [esi + 4], edx
mov edi, dword [esi + 8]
and edi, edx
mov eax, edx
mov edx, dword [esi]
not eax
and eax, dword [esi + 0xc]
or eax, edi
add eax, dword [ecx - 8]
lea edx, [eax + edx + 0x6b901122]
rol edx, 7
mov dword [esi], edx
mov eax, dword [esi + 4]
add edx, eax
mov dword [esi], edx
mov edi, dword [esi + 4]
and edi, edx
mov eax, edx
mov edx, dword [ecx - 4]
not eax
and eax, dword [esi + 8]
or eax, edi
add eax, dword [esi + 0xc]
lea edx, [eax + edx - 0x2678e6d]
rol edx, 0xc
mov dword [esi + 0xc], edx
mov eax, dword [esi]
add edx, eax
mov dword [esi + 0xc], edx
mov eax, edx
and edx, dword [esi]
not eax
and eax, dword [esi + 4]
or eax, edx
add eax, dword [esi + 8]
mov edx, dword [ecx]
lea edx, [eax + edx - 0x5986bc72]
ror edx, 0xf
mov dword [esi + 8], edx
mov eax, dword [esi + 0xc]
add edx, eax
mov dword [esi + 8], edx
mov edi, dword [esi + 0xc]
and edi, edx
mov eax, edx
mov edx, dword [ecx + 4]
not eax
and eax, dword [esi]
or eax, edi
add eax, dword [esi + 4]
lea edx, [eax + edx + 0x49b40821]
ror edx, 0xa
mov dword [esi + 4], edx
mov eax, dword [esi + 8]
add eax, edx
mov dword [esi + 4], eax
mov edx, dword [esi + 0xc]
mov edi, edx
not edi
and edi, dword [esi + 8]
and edx, eax
or edi, edx
add edi, dword [ecx - 0x34]
mov edx, dword [esi]
lea edx, [edi + edx - 0x9e1da9e]
rol edx, 5
mov dword [esi], edx
mov eax, dword [esi + 4]
add eax, edx
mov dword [esi], eax
mov edx, dword [esi + 8]
mov edi, edx
not edi
and edi, dword [esi + 4]
and edx, eax
or edi, edx
add edi, dword [esi + 0xc]
mov edx, dword [ecx - 0x20]
lea edx, [edi + edx - 0x3fbf4cc0]
rol edx, 9
mov dword [esi + 0xc], edx
mov eax, dword [esi]
add eax, edx
mov dword [esi + 0xc], eax
mov edx, dword [esi + 4]
mov edi, edx
and edx, eax
not edi
and edi, dword [esi]
or edi, edx
add edi, dword [ecx - 0xc]
mov edx, dword [esi + 8]
lea edx, [edi + edx + 0x265e5a51]
rol edx, 0xe
mov dword [esi + 8], edx
mov eax, dword [esi + 0xc]
add eax, edx
mov dword [esi + 8], eax
mov edx, dword [esi]
mov edi, edx
and edx, eax
not edi
and edi, dword [esi + 0xc]
or edi, edx
add edi, dword [esi + 4]
mov edx, dword [ecx - 0x38]
lea edx, [edi + edx - 0x16493856]
ror edx, 0xc
mov dword [esi + 4], edx
mov eax, dword [esi + 8]
add eax, edx
mov dword [esi + 4], eax
mov edx, dword [esi + 0xc]
mov edi, edx
and edx, eax
not edi
and edi, dword [esi + 8]
or edi, edx
add edi, dword [ecx - 0x24]
mov edx, dword [esi]
lea edx, [edi + edx - 0x29d0efa3]
rol edx, 5
mov dword [esi], edx
mov eax, dword [esi + 4]
add eax, edx
mov dword [esi], eax
mov edx, dword [esi + 8]
mov edi, edx
and edx, eax
not edi
and edi, dword [esi + 4]
or edi, edx
add edi, dword [esi + 0xc]
mov edx, dword [ecx - 0x10]
lea edx, [edi + edx + 0x2441453]
rol edx, 9
mov dword [esi + 0xc], edx
mov eax, dword [esi]
add edx, eax
mov dword [esi + 0xc], edx
mov eax, dword [esi + 4]
mov edi, eax
not edi
and edi, dword [esi]
and edx, eax
or edi, edx
add edi, dword [esi + 8]
mov edx, dword [ecx + 4]
lea edx, [edi + edx - 0x275e197f]
rol edx, 0xe
mov dword [esi + 8], edx
mov eax, dword [esi + 0xc]
add eax, edx
mov dword [esi + 8], eax
mov edx, dword [esi]
mov edi, edx
not edi
and edi, dword [esi + 0xc]
and edx, eax
or edi, edx
add edi, dword [ecx - 0x28]
mov edx, dword [esi + 4]
lea edx, [edi + edx - 0x182c0438]
ror edx, 0xc
mov dword [esi + 4], edx
mov eax, dword [esi + 8]
add eax, edx
mov dword [esi + 4], eax
mov edx, dword [esi + 0xc]
mov edi, edx
and edx, eax
not edi
and edi, dword [esi + 8]
or edi, edx
add edi, dword [ecx - 0x14]
mov edx, dword [esi]
lea edx, [edi + edx + 0x21e1cde6]
rol edx, 5
mov dword [esi], edx
mov eax, dword [esi + 4]
add eax, edx
mov dword [esi], eax
mov edx, dword [esi + 8]
mov edi, edx
and edx, eax
not edi
and edi, dword [esi + 4]
or edi, edx
add edi, dword [esi + 0xc]
mov edx, dword [ecx]
lea edx, [edi + edx - 0x3cc8f82a]
rol edx, 9
mov dword [esi + 0xc], edx
mov eax, dword [esi]
add edx, eax
mov dword [esi + 0xc], edx
mov eax, dword [esi + 4]
and edx, eax
mov edi, eax
not edi
and edi, dword [esi]
or edi, edx
add edi, dword [esi + 8]
mov edx, dword [ecx - 0x2c]
lea edx, [edi + edx - 0xb2af279]
rol edx, 0xe
mov dword [esi + 8], edx
mov eax, dword [esi + 0xc]
add eax, edx
mov dword [esi + 8], eax
mov edx, dword [esi]
mov edi, edx
and edx, eax
not edi
and edi, dword [esi + 0xc]
or edi, edx
add edi, dword [esi + 4]
mov edx, dword [ecx - 0x18]
lea edx, [edi + edx + 0x455a14ed]
ror edx, 0xc
mov dword [esi + 4], edx
mov eax, dword [esi + 8]
add edx, eax
mov dword [esi + 4], edx
mov eax, dword [esi + 0xc]
mov edi, eax
not edi
and edi, dword [esi + 8]
and edx, eax
or edi, edx
add edi, dword [ecx - 4]
mov edx, dword [esi]
lea edx, [edi + edx - 0x561c16fb]
rol edx, 5
mov dword [esi], edx
mov eax, dword [esi + 4]
add edx, eax
mov dword [esi], edx
mov eax, dword [esi + 8]
and edx, eax
mov edi, eax
not edi
and edi, dword [esi + 4]
or edi, edx
add edi, dword [esi + 0xc]
mov edx, dword [ecx - 0x30]
lea edx, [edi + edx - 0x3105c08]
rol edx, 9
mov dword [esi + 0xc], edx
mov eax, dword [esi]
add edx, eax
mov dword [esi + 0xc], edx
mov eax, dword [esi + 4]
and edx, eax
mov edi, eax
not edi
and edi, dword [esi]
or edi, edx
add edi, dword [esi + 8]
mov edx, dword [ecx - 0x1c]
lea edx, [edi + edx + 0x676f02d9]
rol edx, 0xe
mov dword [esi + 8], edx
mov eax, dword [esi + 0xc]
add eax, edx
mov dword [esi + 8], eax
mov edx, dword [esi]
mov edi, edx
and edx, eax
not edi
and edi, dword [esi + 0xc]
or edi, edx
add edi, dword [esi + 4]
mov edx, dword [ecx - 8]
lea edx, [edi + edx - 0x72d5b376]
ror edx, 0xc
mov dword [esi + 4], edx
mov eax, dword [esi + 8]
add edx, eax
mov dword [esi + 4], edx
mov eax, dword [esi + 0xc]
xor eax, dword [esi + 8]
xor eax, edx
add eax, dword [ecx - 0x24]
mov edx, dword [esi]
lea edx, [eax + edx - 0x5c6be]
rol edx, 4
mov dword [esi], edx
mov eax, dword [esi + 4]
add edx, eax
mov dword [esi], edx
mov eax, dword [esi + 8]
xor eax, dword [esi + 4]
xor eax, edx
add eax, dword [esi + 0xc]
mov edx, dword [ecx - 0x18]
lea edx, [eax + edx - 0x788e097f]
rol edx, 0xb
mov dword [esi + 0xc], edx
mov eax, dword [esi]
add edx, eax
mov dword [esi + 0xc], edx
mov eax, dword [esi + 4]
xor eax, edx
xor eax, dword [esi]
mov edx, dword [esi + 8]
add eax, dword [ecx - 0xc]
lea edx, [eax + edx + 0x6d9d6122]
rol edx, 0x10
mov dword [esi + 8], edx
mov eax, dword [esi + 0xc]
add edx, eax
mov dword [esi + 8], edx
mov eax, dword [esi + 0xc]
xor eax, edx
xor eax, dword [esi]
mov edx, dword [ecx]
add eax, dword [esi + 4]
lea edx, [eax + edx - 0x21ac7f4]
ror edx, 9
mov dword [esi + 4], edx
mov eax, dword [esi + 8]
add edx, eax
mov dword [esi + 4], edx
mov eax, dword [esi + 0xc]
xor eax, dword [esi + 8]
xor eax, edx
add eax, dword [ecx - 0x34]
mov edx, dword [esi]
lea edx, [eax + edx - 0x5b4115bc]
rol edx, 4
mov dword [esi], edx
mov eax, dword [esi + 4]
add edx, eax
mov dword [esi], edx
mov eax, dword [esi + 8]
xor eax, dword [esi + 4]
xor eax, edx
add eax, dword [esi + 0xc]
mov edx, dword [ecx - 0x28]
lea edx, [eax + edx + 0x4bdecfa9]
rol edx, 0xb
mov dword [esi + 0xc], edx
mov eax, dword [esi]
add edx, eax
mov dword [esi + 0xc], edx
mov eax, dword [esi + 4]
xor eax, edx
xor eax, dword [esi]
mov edx, dword [ecx - 0x1c]
add eax, dword [esi + 8]
lea edx, [eax + edx - 0x944b4a0]
rol edx, 0x10
mov dword [esi + 8], edx
mov eax, dword [esi + 0xc]
add edx, eax
mov dword [esi + 8], edx
mov eax, dword [esi + 0xc]
xor eax, edx
xor eax, dword [esi]
mov edx, dword [ecx - 0x10]
add eax, dword [esi + 4]
lea edx, [eax + edx - 0x41404390]
ror edx, 9
mov dword [esi + 4], edx
mov eax, dword [esi + 8]
add edx, eax
mov dword [esi + 4], edx
mov eax, dword [esi + 0xc]
xor eax, dword [esi + 8]
xor eax, edx
add eax, dword [ecx - 4]
mov edx, dword [esi]
lea edx, [eax + edx + 0x289b7ec6]
rol edx, 4
mov dword [esi], edx
mov eax, dword [esi + 4]
add edx, eax
mov dword [esi], edx
mov eax, dword [esi + 8]
xor eax, edx
xor eax, dword [esi + 4]
mov edx, dword [ecx - 0x38]
add eax, dword [esi + 0xc]
lea edx, [eax + edx - 0x155ed806]
rol edx, 0xb
mov dword [esi + 0xc], edx
mov eax, dword [esi]
add edx, eax
mov dword [esi + 0xc], edx
mov eax, dword [esi + 4]
xor eax, edx
xor eax, dword [esi]
mov edx, dword [ecx - 0x2c]
add eax, dword [esi + 8]
lea edx, [eax + edx - 0x2b10cf7b]
rol edx, 0x10
mov dword [esi + 8], edx
mov eax, dword [esi + 0xc]
add edx, eax
mov dword [esi + 8], edx
mov eax, dword [esi + 0xc]
xor eax, edx
xor eax, dword [esi]
mov edx, dword [esi + 4]
add eax, dword [ecx - 0x20]
lea edx, [eax + edx + 0x4881d05]
ror edx, 9
mov dword [esi + 4], edx
mov eax, dword [esi + 8]
add edx, eax
mov dword [esi + 4], edx
mov eax, dword [esi + 0xc]
xor eax, dword [esi + 8]
xor eax, edx
add eax, dword [ecx - 0x14]
mov edx, dword [esi]
lea edx, [eax + edx - 0x262b2fc7]
rol edx, 4
mov dword [esi], edx
mov eax, dword [esi + 4]
add edx, eax
mov dword [esi], edx
mov eax, dword [esi + 8]
xor eax, edx
xor eax, dword [esi + 4]
mov edx, dword [ecx - 8]
add eax, dword [esi + 0xc]
lea edx, [eax + edx - 0x1924661b]
rol edx, 0xb
mov dword [esi + 0xc], edx
mov eax, dword [esi]
add edx, eax
mov dword [esi + 0xc], edx
mov eax, dword [esi + 4]
xor eax, edx
xor eax, dword [esi]
mov edx, dword [ecx + 4]
add eax, dword [esi + 8]
lea edx, [eax + edx + 0x1fa27cf8]
rol edx, 0x10
mov dword [esi + 8], edx
mov eax, dword [esi + 0xc]
add edx, eax
mov dword [esi + 8], edx
mov eax, dword [esi + 0xc]
xor eax, edx
xor eax, dword [esi]
mov edx, dword [ecx - 0x30]
add eax, dword [esi + 4]
lea edx, [eax + edx - 0x3b53a99b]
ror edx, 9
mov dword [esi + 4], edx
mov eax, dword [esi + 8]
add edx, eax
mov dword [esi + 4], edx
mov eax, dword [esi + 0xc]
not eax
or eax, edx
xor eax, dword [esi + 8]
mov edx, dword [esi]
add eax, dword [ecx - 0x38]
lea edx, [eax + edx - 0xbd6ddbc]
rol edx, 6
mov dword [esi], edx
mov eax, dword [esi + 4]
add edx, eax
mov dword [esi], edx
mov eax, dword [esi + 8]
not eax
or eax, edx
xor eax, dword [esi + 4]
mov edx, dword [ecx - 0x1c]
add eax, dword [esi + 0xc]
lea edx, [eax + edx + 0x432aff97]
rol edx, 0xa
mov dword [esi + 0xc], edx
mov eax, dword [esi]
add edx, eax
mov dword [esi + 0xc], edx
mov eax, dword [esi + 4]
not eax
or eax, edx
xor eax, dword [esi]
mov edx, dword [ecx]
add eax, dword [esi + 8]
lea edx, [eax + edx - 0x546bdc59]
rol edx, 0xf
mov dword [esi + 8], edx
mov eax, dword [esi + 0xc]
add edx, eax
mov dword [esi + 8], edx
mov eax, dword [esi]
not eax
or eax, edx
xor eax, dword [esi + 0xc]
mov edx, dword [ecx - 0x24]
add eax, dword [esi + 4]
lea edx, [eax + edx - 0x36c5fc7]
ror edx, 0xb
mov dword [esi + 4], edx
mov eax, dword [esi + 8]
add edx, eax
mov dword [esi + 4], edx
mov eax, dword [esi + 0xc]
not eax
or eax, edx
xor eax, dword [esi + 8]
mov edx, dword [esi]
add eax, dword [ecx - 8]
lea edx, [eax + edx + 0x655b59c3]
rol edx, 6
mov dword [esi], edx
mov eax, dword [esi + 4]
add edx, eax
mov dword [esi], edx
mov eax, dword [esi + 8]
not eax
or eax, edx
xor eax, dword [esi + 4]
mov edx, dword [ecx - 0x2c]
add eax, dword [esi + 0xc]
lea edx, [eax + edx - 0x70f3336e]
rol edx, 0xa
mov dword [esi + 0xc], edx
mov eax, dword [esi]
add edx, eax
mov dword [esi + 0xc], edx
mov eax, dword [esi + 4]
not eax
or eax, edx
xor eax, dword [esi]
mov edx, dword [ecx - 0x10]
add eax, dword [esi + 8]
lea edx, [eax + edx - 0x100b83]
rol edx, 0xf
mov dword [esi + 8], edx
mov eax, dword [esi + 0xc]
add edx, eax
mov dword [esi + 8], edx
mov eax, dword [esi]
not eax
or eax, edx
xor eax, dword [esi + 0xc]
mov edx, dword [ecx - 0x34]
add eax, dword [esi + 4]
lea edx, [eax + edx - 0x7a7ba22f]
ror edx, 0xb
mov dword [esi + 4], edx
mov eax, dword [esi + 8]
add edx, eax
mov dword [esi + 4], edx
mov eax, dword [esi + 0xc]
not eax
or eax, edx
xor eax, dword [esi + 8]
mov edx, dword [esi]
add eax, dword [ecx - 0x18]
lea edx, [eax + edx + 0x6fa87e4f]
rol edx, 6
mov dword [esi], edx
mov eax, dword [esi + 4]
add edx, eax
mov dword [esi], edx
mov eax, dword [esi + 8]
not eax
or eax, edx
xor eax, dword [esi + 4]
mov edx, dword [ecx + 4]
add eax, dword [esi + 0xc]
lea edx, [eax + edx - 0x1d31920]
rol edx, 0xa
mov dword [esi + 0xc], edx
mov eax, dword [esi]
add edx, eax
mov dword [esi + 0xc], edx
mov eax, dword [esi + 4]
not eax
or eax, edx
xor eax, dword [esi]
mov edx, dword [esi + 8]
add eax, dword [ecx - 0x20]
lea edx, [eax + edx - 0x5cfebcec]
rol edx, 0xf
mov dword [esi + 8], edx
mov eax, dword [esi + 0xc]
add edx, eax
mov dword [esi + 8], edx
mov eax, dword [esi]
not eax
or eax, edx
xor eax, dword [esi + 0xc]
mov edx, dword [esi + 4]
add eax, dword [ecx - 4]
lea edx, [eax + edx + 0x4e0811a1]
ror edx, 0xb
mov dword [esi + 4], edx
mov eax, dword [esi + 8]
add edx, eax
mov dword [esi + 4], edx
mov eax, dword [esi + 0xc]
not eax
or eax, edx
xor eax, dword [esi + 8]
mov edx, dword [esi]
add eax, dword [ecx - 0x28]
lea edx, [eax + edx - 0x8ac817e]
rol edx, 6
mov dword [esi], edx
mov eax, dword [esi + 4]
add edx, eax
mov dword [esi], edx
mov eax, dword [esi + 8]
not eax
or eax, edx
xor eax, dword [esi + 4]
mov edx, dword [ecx - 0xc]
add eax, dword [esi + 0xc]
lea edx, [eax + edx - 0x42c50dcb]
rol edx, 0xa
mov dword [esi + 0xc], edx
mov eax, dword [esi]
add edx, eax
mov dword [esi + 0xc], edx
mov eax, dword [esi + 4]
not eax
or eax, edx
xor eax, dword [esi]
mov edx, dword [ecx - 0x30]
add eax, dword [esi + 8]
lea edx, [eax + edx + 0x2ad7d2bb]
rol edx, 0xf
mov dword [esi + 8], edx
mov eax, dword [esi + 0xc]
add edx, eax
mov dword [esi + 8], edx
mov eax, dword [esi]
not eax
or eax, edx
xor eax, dword [esi + 0xc]
mov edx, dword [ecx - 0x14]
add eax, dword [esi + 4]
lea edx, [eax + edx - 0x14792c6f]
ror edx, 0xb
mov dword [esi + 4], edx
mov eax, dword [esi + 8]
add eax, edx
mov dword [esi + 4], eax
mov eax, dword [esp + 0x14]
mov edx, ebx
add dword [esi], edx
add dword [esi + 4], eax
mov edx, dword [esp + 0x18]
add dword [esi + 8], edx
mov eax, dword [esp + 0x1c]
add dword [esi + 0xc], eax
add ecx, 0x40
sub dword [esp + 0xc], 1
jne 0x40c041
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov ebp, dword [esp + 0x28]
cmp eax, 0x1000
je 0x40bfc4
pop edi
pop ebp
mov eax, esi
pop ebx
add esp, 0x20
ret