Function at 0x413f0c
Capabilities:
Encrypt data using hc-128 via wolfssl

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edx, dword [eax + 0x1080]
mov edi, 0x1ff
mov ecx, edx
and ecx, edi
lea esi, [ecx + 0x10]
and esi, edi
cmp edx, 0x200
mov dword [ebp + 8], esi
jae 0x41449f
add edx, 0x10
lea edi, [eax + ecx*4 + 4]
and edx, 0x3ff
mov dword [eax + 0x1080], edx
mov edx, dword [edi]
mov esi, dword [eax + 0x1034]
ror edx, 0x17
mov dword [ebp - 4], edx
mov edx, dword [eax + 0x1018]
ror esi, 0xa
ror edx, 8
xor esi, dword [ebp - 4]
mov dword [ebp - 8], edx
mov edx, dword [eax + 0x1010]
movzx ebx, byte [eax + 0x1010]
add esi, dword [eax + ecx*4]
shr edx, 0x10
add esi, dword [ebp - 8]
movzx edx, dl
mov edx, dword [eax + edx*4 + 0xc00]
add edx, dword [eax + ebx*4 + 0x800]
xor edx, esi
mov dword [eax + ecx*4], edx
mov dword [eax + 0x1000], edx
mov edx, dword [eax + ecx*4 + 8]
mov esi, dword [eax + 0x1038]
ror edx, 0x17
mov dword [ebp - 8], edx
mov edx, dword [eax + 0x101c]
ror esi, 0xa
ror edx, 8
xor esi, dword [ebp - 8]
mov dword [ebp - 4], edx
mov edx, dword [eax + 0x1014]
movzx ebx, byte [eax + 0x1014]
add esi, dword [edi]
shr edx, 0x10
add esi, dword [ebp - 4]
movzx edx, dl
mov edx, dword [eax + edx*4 + 0xc00]
add edx, dword [eax + ebx*4 + 0x800]
xor edx, esi
mov dword [edi], edx
lea edi, [eax + ecx*4 + 0xc]
mov dword [eax + 0x1004], edx
mov esi, dword [eax + 0x103c]
mov edx, dword [edi]
ror edx, 0x17
mov dword [ebp - 8], edx
mov edx, dword [eax + 0x1020]
ror esi, 0xa
ror edx, 8
xor esi, dword [ebp - 8]
mov dword [ebp - 4], edx
mov edx, dword [eax + 0x1018]
movzx ebx, byte [eax + 0x1018]
add esi, dword [eax + ecx*4 + 8]
shr edx, 0x10
add esi, dword [ebp - 4]
movzx edx, dl
mov edx, dword [eax + edx*4 + 0xc00]
add edx, dword [eax + ebx*4 + 0x800]
xor edx, esi
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + 0x1008], edx
mov edx, dword [eax + ecx*4 + 0x10]
mov esi, dword [eax + 0x1000]
ror edx, 0x17
mov dword [ebp - 8], edx
mov edx, dword [eax + 0x1024]
ror esi, 0xa
ror edx, 8
movzx ebx, byte [eax + 0x101c]
mov dword [ebp - 4], edx
mov edx, dword [eax + 0x101c]
xor esi, dword [ebp - 8]
shr edx, 0x10
movzx edx, dl
mov edx, dword [eax + edx*4 + 0xc00]
add edx, dword [eax + ebx*4 + 0x800]
add esi, dword [edi]
add esi, dword [ebp - 4]
xor edx, esi
mov dword [edi], edx
lea edi, [eax + ecx*4 + 0x14]
mov dword [eax + 0x100c], edx
mov esi, dword [eax + 0x1004]
mov edx, dword [edi]
ror edx, 0x17
mov dword [ebp - 8], edx
mov edx, dword [eax + 0x1028]
ror esi, 0xa
ror edx, 8
xor esi, dword [ebp - 8]
mov dword [ebp - 4], edx
mov edx, dword [eax + 0x1020]
movzx ebx, byte [eax + 0x1020]
add esi, dword [eax + ecx*4 + 0x10]
shr edx, 0x10
add esi, dword [ebp - 4]
movzx edx, dl
mov edx, dword [eax + edx*4 + 0xc00]
add edx, dword [eax + ebx*4 + 0x800]
xor edx, esi
mov dword [eax + ecx*4 + 0x10], edx
mov dword [eax + 0x1010], edx
mov edx, dword [eax + ecx*4 + 0x18]
mov esi, dword [eax + 0x1008]
ror edx, 0x17
mov dword [ebp - 8], edx
mov edx, dword [eax + 0x102c]
ror esi, 0xa
ror edx, 8
xor esi, dword [ebp - 8]
mov dword [ebp - 4], edx
mov edx, dword [eax + 0x1024]
movzx ebx, byte [eax + 0x1024]
add esi, dword [edi]
shr edx, 0x10
add esi, dword [ebp - 4]
movzx edx, dl
mov edx, dword [eax + edx*4 + 0xc00]
add edx, dword [eax + ebx*4 + 0x800]
xor edx, esi
mov dword [edi], edx
lea edi, [eax + ecx*4 + 0x1c]
mov dword [eax + 0x1014], edx
mov esi, dword [eax + 0x100c]
mov edx, dword [edi]
ror edx, 0x17
mov dword [ebp - 8], edx
mov edx, dword [eax + 0x1030]
ror esi, 0xa
ror edx, 8
xor esi, dword [ebp - 8]
mov dword [ebp - 4], edx
mov edx, dword [eax + 0x1028]
movzx ebx, byte [eax + 0x1028]
add esi, dword [eax + ecx*4 + 0x18]
shr edx, 0x10
add esi, dword [ebp - 4]
movzx edx, dl
mov edx, dword [eax + edx*4 + 0xc00]
add edx, dword [eax + ebx*4 + 0x800]
xor edx, esi
mov dword [eax + ecx*4 + 0x18], edx
mov dword [eax + 0x1018], edx
mov edx, dword [eax + ecx*4 + 0x20]
mov esi, dword [eax + 0x1010]
ror edx, 0x17
mov dword [ebp - 8], edx
mov edx, dword [eax + 0x1034]
ror esi, 0xa
ror edx, 8
movzx ebx, byte [eax + 0x102c]
mov dword [ebp - 4], edx
mov edx, dword [eax + 0x102c]
shr edx, 0x10
movzx edx, dl
mov edx, dword [eax + edx*4 + 0xc00]
add edx, dword [eax + ebx*4 + 0x800]
xor esi, dword [ebp - 8]
add esi, dword [edi]
add esi, dword [ebp - 4]
xor edx, esi
mov dword [edi], edx
lea edi, [eax + ecx*4 + 0x24]
mov dword [eax + 0x101c], edx
mov esi, dword [eax + 0x1014]
mov edx, dword [edi]
ror edx, 0x17
mov dword [ebp - 8], edx
mov edx, dword [eax + 0x1038]
ror esi, 0xa
ror edx, 8
xor esi, dword [ebp - 8]
mov dword [ebp - 4], edx
mov edx, dword [eax + 0x1030]
movzx ebx, byte [eax + 0x1030]
add esi, dword [ebp - 4]
shr edx, 0x10
add esi, dword [eax + ecx*4 + 0x20]
movzx edx, dl
mov edx, dword [eax + edx*4 + 0xc00]
add edx, dword [eax + ebx*4 + 0x800]
xor edx, esi
mov dword [eax + ecx*4 + 0x20], edx
mov dword [eax + 0x1020], edx
mov edx, dword [eax + ecx*4 + 0x28]
mov esi, dword [eax + 0x1018]
ror edx, 0x17
mov dword [ebp - 8], edx
mov edx, dword [eax + 0x103c]
ror esi, 0xa
ror edx, 8
xor esi, dword [ebp - 8]
mov dword [ebp - 4], edx
mov edx, dword [eax + 0x1034]
movzx ebx, byte [eax + 0x1034]
add esi, dword [edi]
shr edx, 0x10
add esi, dword [ebp - 4]
movzx edx, dl
mov edx, dword [eax + edx*4 + 0xc00]
add edx, dword [eax + ebx*4 + 0x800]
xor edx, esi
mov dword [edi], edx
lea edi, [eax + ecx*4 + 0x2c]
mov dword [eax + 0x1024], edx
mov esi, dword [eax + 0x101c]
mov edx, dword [edi]
ror edx, 0x17
mov dword [ebp - 8], edx
mov edx, dword [eax + 0x1000]
ror esi, 0xa
ror edx, 8
xor esi, dword [ebp - 8]
mov dword [ebp - 4], edx
mov edx, dword [eax + 0x1038]
movzx ebx, byte [eax + 0x1038]
add esi, dword [eax + ecx*4 + 0x28]
shr edx, 0x10
add esi, dword [ebp - 4]
movzx edx, dl
mov edx, dword [eax + edx*4 + 0xc00]
add edx, dword [eax + ebx*4 + 0x800]
xor edx, esi
mov dword [eax + ecx*4 + 0x28], edx
mov dword [eax + 0x1028], edx
mov edx, dword [eax + ecx*4 + 0x30]
mov esi, dword [eax + 0x1020]
ror edx, 0x17
mov dword [ebp - 8], edx
mov edx, dword [eax + 0x1004]
ror esi, 0xa
ror edx, 8
movzx ebx, byte [eax + 0x103c]
mov dword [ebp - 4], edx
mov edx, dword [eax + 0x103c]
shr edx, 0x10
movzx edx, dl
mov edx, dword [eax + edx*4 + 0xc00]
add edx, dword [eax + ebx*4 + 0x800]
xor esi, dword [ebp - 8]
add esi, dword [ebp - 4]
add esi, dword [edi]
xor edx, esi
mov dword [edi], edx
lea edi, [eax + ecx*4 + 0x34]
mov dword [eax + 0x102c], edx
mov esi, dword [eax + 0x1024]
mov edx, dword [edi]
ror edx, 0x17
mov dword [ebp - 8], edx
mov edx, dword [eax + 0x1008]
ror esi, 0xa
ror edx, 8
xor esi, dword [ebp - 8]
mov dword [ebp - 4], edx
mov edx, dword [eax + 0x1000]
movzx ebx, byte [eax + 0x1000]
add esi, dword [ebp - 4]
shr edx, 0x10
add esi, dword [eax + ecx*4 + 0x30]
movzx edx, dl
mov edx, dword [eax + edx*4 + 0xc00]
add edx, dword [eax + ebx*4 + 0x800]
xor edx, esi
mov dword [eax + ecx*4 + 0x30], edx
mov dword [eax + 0x1030], edx
mov esi, dword [eax + 0x1028]
lea edx, [eax + ecx*4 + 0x38]
mov dword [ebp - 0xc], edx
mov edx, dword [edx]
ror edx, 0x17
mov dword [ebp - 8], edx
mov edx, dword [eax + 0x100c]
ror esi, 0xa
ror edx, 8
xor esi, dword [ebp - 8]
mov dword [ebp - 4], edx
mov edx, dword [eax + 0x1004]
movzx ebx, byte [eax + 0x1004]
add esi, dword [edi]
shr edx, 0x10
add esi, dword [ebp - 4]
movzx edx, dl
mov edx, dword [eax + edx*4 + 0xc00]
add edx, dword [eax + ebx*4 + 0x800]
xor edx, esi
lea esi, [eax + ecx*4 + 0x3c]
mov dword [edi], edx
mov dword [eax + 0x1034], edx
mov ecx, dword [esi]
mov edx, dword [eax + 0x102c]
ror ecx, 0x17
mov edi, ecx
mov ecx, dword [eax + 0x1010]
ror edx, 0xa
ror ecx, 8
movzx ebx, byte [eax + 0x1008]
mov dword [ebp - 8], ecx
mov ecx, dword [eax + 0x1008]
shr ecx, 0x10
movzx ecx, cl
xor edx, edi
mov edi, dword [ebp - 0xc]
mov ecx, dword [eax + ecx*4 + 0xc00]
add edx, dword [edi]
add ecx, dword [eax + ebx*4 + 0x800]
add edx, dword [ebp - 8]
xor ecx, edx
mov dword [edi], ecx
mov dword [eax + 0x1038], ecx
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x1030]
mov ecx, dword [eax + ecx*4]
ror ecx, 0x17
mov edi, ecx
mov ecx, dword [eax + 0x1014]
ror edx, 0xa
ror ecx, 8
mov dword [ebp + 8], ecx
mov ecx, dword [eax + 0x100c]
movzx ebx, byte [eax + 0x100c]
shr ecx, 0x10
movzx ecx, cl
xor edx, edi
add edx, dword [ebp + 8]
mov ecx, dword [eax + ecx*4 + 0xc00]
add ecx, dword [eax + ebx*4 + 0x800]
add edx, dword [esi]
xor ecx, edx
mov dword [esi], ecx
mov dword [eax + 0x103c], ecx
jmp 0x414a25
add edx, 0x10
lea edi, [eax + ecx*4 + 0x804]
and edx, 0x3ff
mov dword [eax + 0x1080], edx
mov edx, dword [edi]
mov esi, dword [eax + 0x1074]
ror edx, 9
mov dword [ebp - 0xc], edx
mov edx, dword [eax + 0x1058]
ror esi, 0x16
ror edx, 0x18
xor esi, dword [ebp - 0xc]
mov dword [ebp - 8], edx
mov edx, dword [eax + 0x1050]
movzx ebx, byte [eax + 0x1050]
add esi, dword [ebp - 8]
shr edx, 0x10
add esi, dword [eax + ecx*4 + 0x800]
movzx edx, dl
mov edx, dword [eax + edx*4 + 0x400]
add edx, dword [eax + ebx*4]
xor edx, esi
mov dword [eax + ecx*4 + 0x800], edx
mov esi, dword [eax + 0x1078]
mov dword [eax + 0x1040], edx
mov edx, dword [eax + ecx*4 + 0x808]
ror edx, 9
mov dword [ebp - 0xc], edx
mov edx, dword [eax + 0x105c]
ror esi, 0x16
ror edx, 0x18
xor esi, dword [ebp - 0xc]
mov dword [ebp - 8], edx
mov edx, dword [eax + 0x1054]
movzx ebx, byte [eax + 0x1054]
add esi, dword [edi]
shr edx, 0x10
add esi, dword [ebp - 8]
movzx edx, dl
mov edx, dword [eax + edx*4 + 0x400]
add edx, dword [eax + ebx*4]
xor edx, esi
mov dword [edi], edx
mov esi, dword [eax + 0x107c]
lea edi, [eax + ecx*4 + 0x80c]
mov dword [eax + 0x1044], edx
movzx ebx, byte [eax + 0x1058]
mov edx, dword [edi]
ror edx, 9
mov dword [ebp - 0xc], edx
mov edx, dword [eax + 0x1060]
ror esi, 0x16
ror edx, 0x18
mov dword [ebp - 8], edx
mov edx, dword [eax + 0x1058]
xor esi, dword [ebp - 0xc]
shr edx, 0x10
movzx edx, dl
add esi, dword [ebp - 8]
mov edx, dword [eax + edx*4 + 0x400]
add edx, dword [eax + ebx*4]
add esi, dword [eax + ecx*4 + 0x808]
lea ebx, [eax + ecx*4 + 0x808]
xor edx, esi
mov dword [ebx], edx
mov esi, dword [eax + 0x1040]
mov dword [eax + 0x1048], edx
mov edx, dword [eax + ecx*4 + 0x810]
ror edx, 9
mov dword [ebp - 0xc], edx
mov edx, dword [eax + 0x1064]
ror esi, 0x16
ror edx, 0x18
movzx ebx, byte [eax + 0x105c]
mov dword [ebp - 8], edx
mov edx, dword [eax + 0x105c]
shr edx, 0x10
movzx edx, dl
mov edx, dword [eax + edx*4 + 0x400]
add edx, dword [eax + ebx*4]
xor esi, dword [ebp - 0xc]
add esi, dword [ebp - 8]
add esi, dword [edi]
xor edx, esi
mov dword [edi], edx
mov esi, dword [eax + 0x1044]
lea edi, [eax + ecx*4 + 0x814]
mov dword [eax + 0x104c], edx
movzx ebx, byte [eax + 0x1060]
mov edx, dword [edi]
ror edx, 9
mov dword [ebp - 0xc], edx
mov edx, dword [eax + 0x1068]
ror esi, 0x16
ror edx, 0x18
xor esi, dword [ebp - 0xc]
mov dword [ebp - 8], edx
mov edx, dword [eax + 0x1060]
add esi, dword [eax + ecx*4 + 0x810]
shr edx, 0x10
add esi, dword [ebp - 8]
movzx edx, dl
mov edx, dword [eax + edx*4 + 0x400]
add edx, dword [eax + ebx*4]
xor edx, esi
mov dword [eax + ecx*4 + 0x810], edx
mov esi, dword [eax + 0x1048]
mov dword [eax + 0x1050], edx
mov edx, dword [eax + ecx*4 + 0x818]
ror edx, 9
mov dword [ebp - 0xc], edx
mov edx, dword [eax + 0x106c]
ror esi, 0x16
ror edx, 0x18
xor esi, dword [ebp - 0xc]
mov dword [ebp - 8], edx
mov edx, dword [eax + 0x1064]
movzx ebx, byte [eax + 0x1064]
add esi, dword [edi]
shr edx, 0x10
add esi, dword [ebp - 8]
movzx edx, dl
mov edx, dword [eax + edx*4 + 0x400]
add edx, dword [eax + ebx*4]
xor edx, esi
mov dword [edi], edx
mov esi, dword [eax + 0x104c]
lea edi, [eax + ecx*4 + 0x81c]
mov dword [eax + 0x1054], edx
movzx ebx, byte [eax + 0x1068]
mov edx, dword [edi]
ror edx, 9
mov dword [ebp - 0xc], edx
mov edx, dword [eax + 0x1070]
ror esi, 0x16
ror edx, 0x18
mov dword [ebp - 8], edx
mov edx, dword [eax + 0x1068]
xor esi, dword [ebp - 0xc]
shr edx, 0x10
movzx edx, dl
add esi, dword [ebp - 8]
mov edx, dword [eax + edx*4 + 0x400]
add edx, dword [eax + ebx*4]
add esi, dword [eax + ecx*4 + 0x818]
lea ebx, [eax + ecx*4 + 0x818]
xor edx, esi
mov dword [ebx], edx
mov esi, dword [eax + 0x1050]
mov dword [eax + 0x1058], edx
mov edx, dword [eax + ecx*4 + 0x820]
ror edx, 9
mov dword [ebp - 0xc], edx
mov edx, dword [eax + 0x1074]
ror esi, 0x16
ror edx, 0x18
mov dword [ebp - 8], edx
mov edx, dword [eax + 0x106c]
movzx ebx, byte [eax + 0x106c]
shr edx, 0x10
movzx edx, dl
mov edx, dword [eax + edx*4 + 0x400]
xor esi, dword [ebp - 0xc]
add edx, dword [eax + ebx*4]
add esi, dword [edi]
add esi, dword [ebp - 8]
xor edx, esi
mov dword [edi], edx
mov esi, dword [eax + 0x1054]
lea edi, [eax + ecx*4 + 0x824]
mov dword [eax + 0x105c], edx
movzx ebx, byte [eax + 0x1070]
mov edx, dword [edi]
ror edx, 9
mov dword [ebp - 0xc], edx
mov edx, dword [eax + 0x1078]
ror esi, 0x16
ror edx, 0x18
mov dword [ebp - 8], edx
mov edx, dword [eax + 0x1070]
xor esi, dword [ebp - 0xc]
shr edx, 0x10
movzx edx, dl
add esi, dword [ebp - 8]
mov edx, dword [eax + edx*4 + 0x400]
add edx, dword [eax + ebx*4]
add esi, dword [eax + ecx*4 + 0x820]
lea ebx, [eax + ecx*4 + 0x820]
xor edx, esi
mov dword [ebx], edx
mov esi, dword [eax + 0x1058]
mov dword [eax + 0x1060], edx
mov edx, dword [eax + ecx*4 + 0x828]
ror edx, 9
mov dword [ebp - 0xc], edx
mov edx, dword [eax + 0x107c]
ror esi, 0x16
ror edx, 0x18
xor esi, dword [ebp - 0xc]
mov dword [ebp - 8], edx
mov edx, dword [eax + 0x1074]
movzx ebx, byte [eax + 0x1074]
add esi, dword [edi]
shr edx, 0x10
add esi, dword [ebp - 8]
movzx edx, dl
mov edx, dword [eax + edx*4 + 0x400]
add edx, dword [eax + ebx*4]
xor edx, esi
mov dword [edi], edx
mov esi, dword [eax + 0x105c]
lea edi, [eax + ecx*4 + 0x82c]
mov dword [eax + 0x1064], edx
movzx ebx, byte [eax + 0x1078]
mov edx, dword [edi]
ror edx, 9
mov dword [ebp - 0xc], edx
mov edx, dword [eax + 0x1040]
ror esi, 0x16
ror edx, 0x18
mov dword [ebp - 8], edx
mov edx, dword [eax + 0x1078]
xor esi, dword [ebp - 0xc]
shr edx, 0x10
movzx edx, dl
add esi, dword [ebp - 8]
mov edx, dword [eax + edx*4 + 0x400]
add edx, dword [eax + ebx*4]
add esi, dword [eax + ecx*4 + 0x828]
lea ebx, [eax + ecx*4 + 0x828]
xor edx, esi
mov dword [ebx], edx
mov esi, dword [eax + 0x1060]
mov dword [eax + 0x1068], edx
mov edx, dword [eax + ecx*4 + 0x830]
ror edx, 9
mov dword [ebp - 0xc], edx
mov edx, dword [eax + 0x1044]
ror esi, 0x16
ror edx, 0x18
mov dword [ebp - 8], edx
mov edx, dword [eax + 0x107c]
shr edx, 0x10
xor esi, dword [ebp - 0xc]
movzx ebx, byte [eax + 0x107c]
add esi, dword [edi]
movzx edx, dl
add esi, dword [ebp - 8]
mov edx, dword [eax + edx*4 + 0x400]
add edx, dword [eax + ebx*4]
xor edx, esi
mov dword [edi], edx
mov esi, dword [eax + 0x1064]
lea edi, [eax + ecx*4 + 0x834]
mov dword [eax + 0x106c], edx
movzx ebx, byte [eax + 0x1040]
mov edx, dword [edi]
ror edx, 9
mov dword [ebp - 0xc], edx
mov edx, dword [eax + 0x1048]
ror esi, 0x16
ror edx, 0x18
mov dword [ebp - 8], edx
mov edx, dword [eax + 0x1040]
xor esi, dword [ebp - 0xc]
shr edx, 0x10
movzx edx, dl
add esi, dword [ebp - 8]
mov edx, dword [eax + edx*4 + 0x400]
add edx, dword [eax + ebx*4]
add esi, dword [eax + ecx*4 + 0x830]
lea ebx, [eax + ecx*4 + 0x830]
xor edx, esi
mov dword [ebx], edx
mov dword [eax + 0x1070], edx
mov esi, dword [eax + 0x1068]
lea edx, [eax + ecx*4 + 0x838]
mov dword [ebp - 4], edx
mov edx, dword [edx]
ror edx, 9
mov dword [ebp - 0xc], edx
mov edx, dword [eax + 0x104c]
ror esi, 0x16
ror edx, 0x18
xor esi, dword [ebp - 0xc]
mov dword [ebp - 8], edx
mov edx, dword [eax + 0x1044]
movzx ebx, byte [eax + 0x1044]
add esi, dword [edi]
shr edx, 0x10
add esi, dword [ebp - 8]
movzx edx, dl
mov edx, dword [eax + edx*4 + 0x400]
add edx, dword [eax + ebx*4]
xor edx, esi
lea esi, [eax + ecx*4 + 0x83c]
mov dword [edi], edx
mov dword [eax + 0x1074], edx
mov ecx, dword [esi]
mov edx, dword [eax + 0x106c]
ror ecx, 9
mov edi, ecx
mov ecx, dword [eax + 0x1050]
ror edx, 0x16
ror ecx, 0x18
movzx ebx, byte [eax + 0x1048]
mov dword [ebp - 0xc], ecx
mov ecx, dword [eax + 0x1048]
shr ecx, 0x10
movzx ecx, cl
xor edx, edi
mov edi, dword [ebp - 4]
add edx, dword [ebp - 0xc]
mov ecx, dword [eax + ecx*4 + 0x400]
add ecx, dword [eax + ebx*4]
add edx, dword [edi]
xor ecx, edx
mov dword [edi], ecx
mov dword [eax + 0x1078], ecx
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x1070]
mov ecx, dword [eax + ecx*4 + 0x800]
ror ecx, 9
mov edi, ecx
mov ecx, dword [eax + 0x1054]
ror edx, 0x16
ror ecx, 0x18
movzx ebx, byte [eax + 0x104c]
mov dword [ebp + 8], ecx
mov ecx, dword [eax + 0x104c]
shr ecx, 0x10
movzx ecx, cl
xor edx, edi
add edx, dword [ebp + 8]
mov ecx, dword [eax + ecx*4 + 0x400]
add ecx, dword [eax + ebx*4]
add edx, dword [esi]
xor ecx, edx
mov dword [esi], ecx
mov dword [eax + 0x107c], ecx
pop edi
pop esi
pop ebx
leave
ret 4