Function at 0x409a22
Capabilities:
Encode data using xor
Hash data using sha1

Disassembly:
sub esp, 0x38
cmp byte [esp + 0x48], 0
push ebx
push ebp
push esi
push edi
je 0x409a3a
mov ebx, dword [esp + 0x54]
mov dword [esp + 0x10], ebx
jmp 0x409a51
mov ebx, dword [esp + 0x50]
push 0x40
push dword [esp + 0x58]
mov dword [esp + 0x18], ebx
push ebx
call fcn.0041e510
add esp, 0xc
mov esi, dword [esp + 0x4c]
push dword [ebx]
mov eax, dword [esi + 8]
mov ebp, dword [esi]
mov edi, dword [esi + 4]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0xc]
mov esi, dword [esi + 0x10]
mov dword [esp + 0x28], eax
xor eax, eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x30], eax
call fcn.00424d34
pop ecx
mov ecx, dword [esp + 0x24]
mov edx, ebp
mov ebp, dword [esp + 0x20]
add esi, 0x5a827999
xor ecx, ebp
ror edx, 0x1b
and ecx, edi
mov dword [ebx], eax
xor ecx, dword [esp + 0x24]
add edx, eax
add ecx, edx
mov eax, ebx
add esi, ecx
mov dword [esp + 0x30], eax
ror edi, 2
lea ecx, [ebx + 0xc]
mov dword [esp + 0x18], esi
mov dword [esp + 0x28], edi
mov dword [esp + 0x1c], ecx
jmp 0x409abe
mov ebp, dword [esp + 0x20]
push dword [eax + 4]
call fcn.00424d34
mov ebx, dword [esp + 0x18]
mov edx, esi
mov ecx, dword [esp + 0x34]
mov esi, ebp
xor esi, edi
ror edx, 0x1b
and esi, ebx
add edx, eax
xor esi, ebp
mov ebp, ebx
shr ebx, 2
add esi, edx
shl ebp, 0x1e
or ebp, ebx
mov dword [ecx + 4], eax
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
add eax, 0x5a827999
add esi, eax
push dword [ebx - 4]
call fcn.00424d34
mov dword [ebx - 4], eax
mov ecx, edi
mov edx, esi
xor ecx, ebp
and ecx, dword [esp + 0x20]
ror edx, 0x1b
xor edi, ecx
add edx, eax
mov eax, dword [esp + 0x28]
add eax, 0x5a827999
add edi, edx
add edi, eax
mov eax, dword [esp + 0x20]
mov ebx, eax
shr eax, 2
shl ebx, 0x1e
or ebx, eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x3c], ebx
push dword [eax]
call fcn.00424d34
mov ecx, dword [esp + 0x28]
xor ebx, ebp
and ebx, esi
mov edx, edi
ror edx, 0x1b
xor ebx, ebp
add edx, eax
mov dword [ecx], eax
add ebx, edx
mov eax, dword [esp + 0x34]
add eax, 0x5a827999
add ebx, eax
mov eax, esi
shl eax, 0x1e
shr esi, 2
or eax, esi
mov esi, ecx
mov dword [esp + 0x30], eax
push dword [esi + 4]
call fcn.00424d34
mov dword [esi + 4], eax
mov edx, ebx
mov esi, dword [esp + 0x44]
mov ecx, esi
xor ecx, dword [esp + 0x34]
and ecx, edi
ror edx, 0x1b
add edx, eax
xor ecx, esi
add ecx, edx
lea eax, [ebp + 0x5a827999]
add eax, ecx
mov dword [esp + 0x24], eax
mov eax, edi
shl eax, 0x1e
shr edi, 2
or eax, edi
mov ebp, dword [esp + 0x20]
add dword [esp + 0x2c], 0x14
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x3c]
add eax, 5
mov dword [esp + 0x3c], eax
lea edi, [eax*4]
add edi, ebp
mov dword [esp + 0x40], edi
push dword [edi]
call fcn.00424d34
mov ecx, dword [esp + 0x38]
add esi, 0x5a827999
xor ecx, dword [esp + 0x34]
add esp, 0x14
mov edx, dword [esp + 0x14]
and ecx, ebx
xor ecx, dword [esp + 0x24]
mov dword [edi], eax
mov edi, ebx
ror edx, 0x1b
add edx, eax
shl edi, 0x1e
mov eax, dword [esp + 0x30]
add ecx, edx
shr ebx, 2
add esi, ecx
or edi, ebx
mov dword [esp + 0x18], esi
cmp dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], edi
jne 0x409aba
mov eax, dword [ebp + 0x34]
mov ecx, esi
xor eax, dword [ebp + 0x20]
xor eax, dword [ebp]
xor eax, dword [ebp + 8]
mov edi, eax
mov edx, dword [esp + 0x14]
add eax, eax
mov esi, dword [esp + 0x20]
xor esi, dword [esp + 0x28]
mov ebx, edx
ror ecx, 0x1b
and esi, edx
xor esi, dword [esp + 0x20]
shr edi, 0x1f
or edi, eax
shr edx, 2
mov eax, dword [ebp + 0x38]
add ecx, edi
xor eax, dword [ebp + 0x24]
add esi, ecx
xor eax, dword [ebp + 0xc]
xor eax, dword [ebp + 4]
mov ecx, dword [esp + 0x24]
add ecx, 0x5a827999
shl ebx, 0x1e
add esi, ecx
mov dword [ebp], edi
or ebx, edx
mov ecx, esi
mov edx, eax
ror ecx, 0x1b
add eax, eax
shr edx, 0x1f
or edx, eax
mov eax, dword [esp + 0x28]
xor eax, ebx
mov dword [ebp + 4], edx
and eax, dword [esp + 0x18]
add ecx, edx
xor eax, dword [esp + 0x28]
add eax, ecx
mov ecx, dword [esp + 0x20]
add ecx, 0x5a827999
add eax, ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x14], eax
mov eax, ecx
shl eax, 0x1e
shr ecx, 2
or eax, ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x3c]
xor eax, dword [ebp + 0x28]
xor eax, dword [ebp + 0x10]
xor eax, dword [ebp + 8]
mov edx, eax
ror ecx, 0x1b
add eax, eax
shr edx, 0x1f
or edx, eax
mov eax, dword [esp + 0x18]
xor eax, ebx
mov dword [ebp + 8], edx
and eax, esi
add ecx, edx
xor eax, ebx
add eax, ecx
mov ecx, dword [esp + 0x28]
add ecx, 0x5a827999
add ecx, eax
mov eax, esi
shl eax, 0x1e
shr esi, 2
or eax, esi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x2c]
xor eax, dword [ebp + 0x14]
xor eax, dword [ebp + 0xc]
mov esi, dword [esp + 0x18]
xor eax, edi
mov edi, dword [esp + 0x1c]
mov edx, eax
add eax, eax
shr edx, 0x1f
or edx, eax
ror ecx, 0x1b
mov eax, esi
mov dword [ebp + 0xc], edx
xor eax, edi
add ecx, edx
and eax, dword [esp + 0x14]
xor eax, esi
add eax, 0x5a827999
add eax, ecx
push 0x11
add eax, ebx
ror dword [esp + 0x18], 2
pop ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], ecx
jmp 0x409d52
mov ebp, dword [esp + 0x10]
mov esi, dword [esp + 0x18]
lea eax, [ecx + 5]
add esi, 0x6ed9eba1
lea ebx, [ecx + 3]
mov dword [esp + 0x40], eax
add ecx, 0xfffffffb
mov edx, eax
mov eax, dword [esp + 0x28]
and ecx, 0xf
and edx, 0xf
and ebx, 0xf
and eax, 0xf
mov dword [esp + 0x30], edx
mov dword [esp + 0x38], ebx
mov ecx, dword [ebp + ecx*4]
push 0xf
xor ecx, dword [ebp + eax*4]
xor ecx, dword [ebp + ebx*4]
xor ecx, dword [ebp + edx*4]
mov edx, ecx
shr edx, 0x1f
lea eax, [ecx + ecx]
mov ecx, dword [esp + 0x24]
or edx, eax
ror ecx, 0x1b
mov eax, dword [esp + 0x2c]
add ecx, edx
mov dword [ebp + ebx*4], edx
mov ebx, edi
xor ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x28]
xor ebx, edi
add ebx, ecx
lea edx, [eax + 6]
mov ebp, edi
lea ecx, [eax - 4]
shr edi, 2
add ebx, esi
shl ebp, 0x1e
lea esi, [eax + 4]
or ebp, edi
pop edi
and ecx, edi
mov dword [esp + 0x2c], ebp
and esi, edi
and edx, edi
inc eax
mov dword [esp + 0x34], edx
and eax, edi
mov dword [esp + 0x3c], esi
mov edi, dword [esp + 0x10]
mov ecx, dword [edi + ecx*4]
xor ecx, dword [edi + eax*4]
xor ecx, dword [edi + esi*4]
xor ecx, dword [edi + edx*4]
mov edx, ecx
shr edx, 0x1f
lea eax, [ecx + ecx]
mov ecx, ebx
or edx, eax
ror ecx, 0x1b
mov eax, dword [esp + 0x28]
add ecx, edx
mov dword [edi + esi*4], edx
mov edi, dword [esp + 0x14]
xor edi, ebp
mov ebp, dword [esp + 0x20]
xor edi, ebp
mov esi, ebp
add edi, ecx
shr ebp, 2
mov ecx, dword [esp + 0x1c]
add ecx, 0x6ed9eba1
shl esi, 0x1e
or esi, ebp
add edi, ecx
lea ebp, [eax + 7]
mov dword [esp + 0x24], esi
lea ecx, [eax - 3]
and ebp, 0xf
and ecx, 0xf
add eax, 2
mov edx, dword [esp + 0x10]
and eax, 0xf
mov ecx, dword [edx + ecx*4]
xor ecx, dword [edx + eax*4]
mov eax, dword [esp + 0x30]
xor ecx, dword [edx + eax*4]
xor ecx, dword [edx + ebp*4]
mov edx, ecx
shr edx, 0x1f
lea eax, [ecx + ecx]
mov ecx, dword [esp + 0x10]
or edx, eax
mov eax, dword [esp + 0x30]
mov dword [ecx + eax*4], edx
mov eax, ebx
xor eax, dword [esp + 0x2c]
mov ecx, edi
xor esi, eax
ror ecx, 0x1b
add ecx, edx
mov eax, ebx
mov edx, dword [esp + 0x10]
add esi, ecx
mov ecx, dword [esp + 0x14]
shl eax, 0x1e
add ecx, 0x6ed9eba1
add esi, ecx
shr ebx, 2
or eax, ebx
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x28]
lea ecx, [eax - 8]
add eax, 0xfffffffe
and ecx, 0xf
and eax, 0xf
mov ecx, dword [edx + ecx*4]
xor ecx, dword [edx + eax*4]
xor ecx, dword [edx + ebx*4]
mov eax, dword [esp + 0x38]
xor ecx, dword [edx + eax*4]
mov edx, ecx
shr edx, 0x1f
lea eax, [ecx + ecx]
mov ecx, esi
or edx, eax
ror ecx, 0x1b
mov eax, dword [esp + 0x10]
add ecx, edx
mov dword [eax + ebx*4], edx
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x24]
xor eax, edi
xor eax, ebx
add eax, ecx
mov ecx, dword [esp + 0x2c]
add ecx, 0x6ed9eba1
add eax, ecx
mov dword [esp + 0x24], eax
mov eax, edi
shl eax, 0x1e
shr edi, 2
or eax, edi
mov edi, dword [esp + 0x10]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x28]
lea ecx, [eax - 7]
and ecx, 0xf
dec eax
and eax, 0xf
mov ecx, dword [edi + ecx*4]
xor ecx, dword [edi + eax*4]
mov eax, dword [esp + 0x3c]
xor ecx, dword [edi + eax*4]
xor ecx, dword [edi + ebp*4]
mov edx, ecx
shr edx, 0x1f
lea eax, [ecx + ecx]
mov ecx, dword [esp + 0x24]
or edx, eax
mov dword [edi + ebp*4], edx
mov ebp, dword [esp + 0x18]
mov eax, ebp
mov edi, dword [esp + 0x1c]
xor eax, edi
ror ecx, 0x1b
xor eax, esi
add ecx, 0x6ed9eba1
add ecx, edx
add eax, ecx
mov ecx, dword [esp + 0x40]
add eax, ebx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], eax
mov eax, esi
shl eax, 0x1e
shr esi, 2
or eax, esi
mov dword [esp + 0x14], eax
lea eax, [ecx + 3]
cmp eax, 0x23
jbe 0x409d4a
mov ebx, dword [esp + 0x10]
push 0x25
pop ecx
mov dword [esp + 0x28], ecx
lea eax, [ecx + 5]
lea edx, [ecx + 3]
mov dword [esp + 0x44], eax
add ecx, 0xfffffffb
mov edi, eax
mov eax, dword [esp + 0x28]
push 0xf
pop esi
and ecx, esi
and eax, esi
and edx, esi
and edi, esi
mov dword [esp + 0x3c], edx
push 0xf
mov ecx, dword [ebx + ecx*4]
xor ecx, dword [ebx + eax*4]
xor ecx, dword [ebx + edi*4]
xor ecx, dword [ebx + edx*4]
mov esi, ecx
shr esi, 0x1f
lea eax, [ecx + ecx]
or esi, eax
mov eax, dword [esp + 0x18]
mov dword [ebx + edx*4], esi
mov ecx, eax
or ecx, dword [esp + 0x28]
and ecx, dword [esp + 0x20]
and eax, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
or ecx, eax
mov eax, dword [esp + 0x28]
add ecx, esi
add ecx, ebp
ror edx, 0x1b
mov ebx, eax
shr eax, 2
shl ebx, 0x1e
or ebx, eax
mov eax, dword [esp + 0x2c]
lea ebp, [edx - 0x70e44324]
mov dword [esp + 0x34], ebx
add ebp, ecx
pop ebx
lea edx, [eax + 6]
and edx, ebx
lea esi, [eax + 4]
and esi, ebx
mov dword [esp + 0x40], edx
lea ecx, [eax - 4]
mov dword [esp + 0x34], esi
and ecx, ebx
inc eax
and eax, ebx
mov ebx, dword [esp + 0x10]
mov ecx, dword [ebx + ecx*4]
xor ecx, dword [ebx + eax*4]
mov eax, ebx
xor ecx, dword [eax + edx*4]
mov edx, ebp
xor ecx, dword [eax + esi*4]
mov esi, ecx
ror edx, 0x1b
shr esi, 0x1f
lea eax, [ecx + ecx]
mov ecx, ebx
mov ebx, dword [esp + 0x30]
or esi, eax
mov eax, dword [esp + 0x34]
mov dword [ecx + eax*4], esi
mov ecx, ebx
or ecx, dword [esp + 0x20]
and ecx, dword [esp + 0x14]
and ebx, dword [esp + 0x20]
or ecx, ebx
lea ebx, [edx - 0x70e44324]
add ecx, esi
add ecx, dword [esp + 0x1c]
add ebx, ecx
mov ecx, dword [esp + 0x20]
mov eax, ecx
shl eax, 0x1e
shr ecx, 2
or eax, ecx
mov esi, dword [esp + 0x10]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x28]
lea ecx, [eax - 3]
and ecx, 0xf
lea edx, [eax + 7]
add eax, 2
and edx, 0xf
and eax, 0xf
mov dword [esp + 0x38], edx
mov ecx, dword [esi + ecx*4]
xor ecx, dword [esi + eax*4]
xor ecx, dword [esi + edx*4]
xor ecx, dword [esi + edi*4]
mov esi, ecx
mov edx, dword [esp + 0x40]
shr esi, 0x1f
lea eax, [ecx + ecx]
mov ecx, ebp
or ecx, dword [esp + 0x2c]
or esi, eax
and ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x10]
mov dword [eax + edi*4], esi
mov eax, ebp
and eax, dword [esp + 0x2c]
add esi, 0x8f1bbcdc
or ecx, eax
mov edi, ebx
add ecx, esi
ror edi, 0x1b
add ecx, dword [esp + 0x14]
mov eax, ebp
shl eax, 0x1e
add edi, ecx
shr ebp, 2
or eax, ebp
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x28]
lea ecx, [eax - 8]
add eax, 0xfffffffe
and ecx, 0xf
and eax, 0xf
mov ecx, dword [ebp + ecx*4]
xor ecx, dword [ebp + eax*4]
xor ecx, dword [ebp + edx*4]
mov eax, dword [esp + 0x3c]
xor ecx, dword [ebp + eax*4]
mov esi, ecx
shr esi, 0x1f
lea eax, [ecx + ecx]
or esi, eax
mov eax, dword [esp + 0x18]
mov ecx, eax
mov dword [ebp + edx*4], esi
or ecx, ebx
and eax, ebx
and ecx, dword [esp + 0x2c]
mov edx, edi
or ecx, eax
ror edx, 0x1b
add ecx, esi
add ecx, dword [esp + 0x30]
lea eax, [edx - 0x70e44324]
add eax, ecx
mov dword [esp + 0x24], eax
mov eax, ebx
shl eax, 0x1e
shr ebx, 2
or eax, ebx
mov ebx, ebp
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x28]
lea ecx, [eax - 7]
and ecx, 0xf
dec eax
and eax, 0xf
mov ecx, dword [ebx + ecx*4]
xor ecx, dword [ebx + eax*4]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
mov ebp, dword [esp + 0x18]
xor ecx, dword [ebx + edx*4]
xor ecx, dword [ebx + eax*4]
mov esi, ecx
shr esi, 0x1f
lea eax, [ecx + ecx]
or esi, eax
mov eax, dword [esp + 0x1c]
mov ecx, eax
mov dword [ebx + edx*4], esi
mov edx, dword [esp + 0x24]
or ecx, edi
and ecx, dword [esp + 0x18]
and eax, edi
or ecx, eax
ror edx, 0x1b
add ecx, esi
mov esi, edi
add ecx, dword [esp + 0x2c]
shl esi, 0x1e
lea eax, [edx - 0x70e44324]
shr edi, 2
add eax, ecx
or esi, edi
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], esi
mov dword [esp + 0x28], ecx
lea eax, [ecx + 3]
cmp eax, 0x37
jbe 0x409f88
mov edi, dword [esp + 0x10]
push 0x39
pop ebx
mov dword [esp + 0x28], ebx
jmp 0x40a1e9
mov esi, dword [esp + 0x14]
lea eax, [ebx + 5]
add ebx, 3
mov edx, eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x28]
and edx, 0xf
and ebx, 0xf
mov dword [esp + 0x34], edx
mov dword [esp + 0x40], ebx
lea ecx, [eax - 5]
and eax, 0xf
and ecx, 0xf
mov ecx, dword [edi + ecx*4]
xor ecx, dword [edi + eax*4]
xor ecx, dword [edi + ebx*4]
xor ecx, dword [edi + edx*4]
mov edx, ecx
shr edx, 0x1f
lea eax, [ecx + ecx]
or edx, eax
mov eax, dword [esp + 0x1c]
xor eax, esi
mov dword [edi + ebx*4], edx
mov esi, dword [esp + 0x24]
xor eax, esi
mov ebx, dword [esp + 0x20]
add eax, edx
add eax, ebp
ror ebx, 0x1b
mov ebp, esi
add ebx, 0xca62c1d6
add ebx, eax
shr esi, 2
mov eax, dword [esp + 0x28]
shl ebp, 0x1e
or ebp, esi
mov dword [esp + 0x30], ebp
lea edx, [eax + 6]
lea esi, [eax + 4]
and edx, 0xf
lea ecx, [eax - 4]
mov dword [esp + 0x44], edx
and ecx, 0xf
and esi, 0xf
inc eax
mov dword [esp + 0x38], esi
and eax, 0xf
mov ecx, dword [edi + ecx*4]
xor ecx, dword [edi + eax*4]
xor ecx, dword [edi + esi*4]
xor ecx, dword [edi + edx*4]
mov edx, ecx
shr edx, 0x1f
lea eax, [ecx + ecx]
or edx, eax
mov eax, dword [esp + 0x14]
xor eax, ebp
mov dword [edi + esi*4], edx
mov ebp, dword [esp + 0x20]
mov edi, ebx
xor eax, ebp
ror edi, 0x1b
add eax, 0xca62c1d6
mov esi, ebp
add eax, edx
shr ebp, 2
add eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
add edi, eax
mov eax, dword [esp + 0x28]
shl esi, 0x1e
or esi, ebp
mov dword [esp + 0x3c], esi
lea ecx, [eax - 3]
lea ebp, [eax + 7]
and ecx, 0xf
add eax, 2
and ebp, 0xf
and eax, 0xf
mov ecx, dword [edx + ecx*4]
xor ecx, dword [edx + eax*4]
mov eax, dword [esp + 0x34]
xor ecx, dword [edx + eax*4]
xor ecx, dword [edx + ebp*4]
mov edx, ecx
shr edx, 0x1f
lea eax, [ecx + ecx]
mov ecx, dword [esp + 0x10]
or edx, eax
mov eax, dword [esp + 0x34]
mov dword [ecx + eax*4], edx
mov eax, ebx
xor eax, dword [esp + 0x30]
mov ecx, edi
xor eax, esi
ror ecx, 0x1b
add eax, edx
mov edx, dword [esp + 0x10]
add eax, dword [esp + 0x14]
lea esi, [ecx - 0x359d3e2a]
add esi, eax
mov eax, ebx
shl eax, 0x1e
shr ebx, 2
or eax, ebx
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x28]
lea ecx, [eax - 8]
add eax, 0xfffffffe
and eax, 0xf
and ecx, 0xf
mov ecx, dword [edx + ecx*4]
xor ecx, dword [edx + eax*4]
xor ecx, dword [edx + ebx*4]
mov eax, dword [esp + 0x40]
xor ecx, dword [edx + eax*4]
mov edx, ecx
shr edx, 0x1f
lea eax, [ecx + ecx]
mov ecx, esi
or edx, eax
ror ecx, 0x1b
mov eax, dword [esp + 0x10]
add ecx, 0xca62c1d6
mov dword [eax + ebx*4], edx
mov eax, dword [esp + 0x18]
xor eax, edi
xor eax, dword [esp + 0x3c]
add eax, edx
add eax, dword [esp + 0x30]
add eax, ecx
mov dword [esp + 0x24], eax
mov eax, edi
shl eax, 0x1e
shr edi, 2
or eax, edi
mov edi, dword [esp + 0x10]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x28]
lea ecx, [eax - 7]
and ecx, 0xf
dec eax
and eax, 0xf
mov ecx, dword [edi + ecx*4]
xor ecx, dword [edi + eax*4]
mov eax, dword [esp + 0x38]
xor ecx, dword [edi + eax*4]
xor ecx, dword [edi + ebp*4]
mov edx, ecx
shr edx, 0x1f
lea eax, [ecx + ecx]
mov ecx, dword [esp + 0x24]
or edx, eax
ror ecx, 0x1b
mov dword [edi + ebp*4], edx
mov ebp, dword [esp + 0x18]
mov eax, ebp
xor eax, dword [esp + 0x1c]
xor eax, esi
add eax, edx
add eax, dword [esp + 0x3c]
mov ebx, dword [esp + 0x2c]
lea edx, [ecx - 0x359d3e2a]
mov ecx, esi
mov dword [esp + 0x28], ebx
add edx, eax
shl ecx, 0x1e
shr esi, 2
or ecx, esi
mov dword [esp + 0x20], edx
lea eax, [ebx + 3]
mov dword [esp + 0x14], ecx
cmp eax, 0x4b
jbe 0x40a1e5
mov eax, dword [esp + 0x4c]
mov edi, dword [esp + 0x24]
add dword [eax + 4], edi
add dword [eax + 8], ecx
mov ecx, dword [esp + 0x1c]
add dword [eax], edx
add dword [eax + 0xc], ecx
add dword [eax + 0x10], ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret 0x10