Function at 0x37a8c660
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc8
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x54], ecx
lea esi, [edx + 2]
xor edi, edi
movzx edx, byte [esi - 2]
lea esi, [esi + 4]
movzx eax, byte [esi - 5]
shl edx, 8
or edx, eax
movzx eax, byte [esi - 4]
shl edx, 8
or edx, eax
movzx eax, byte [esi - 3]
shl edx, 8
or edx, eax
mov dword [esp + edi*4 + 0x58], edx
inc edi
cmp edi, 0x10
jb 0x37a8c673
mov eax, dword [ecx]
mov edi, 0xa4093822
mov dword [esp + 0x28], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x30], eax
mov eax, dword [ecx + 8]
mov dword [esp + 0x24], eax
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x20], eax
mov eax, dword [ecx + 0x14]
mov dword [esp + 0x2c], eax
mov eax, dword [ecx + 0x1c]
mov esi, dword [ecx + 0x10]
mov edx, dword [ecx + 0x18]
mov dword [esp + 0x18], eax
mov eax, dword [ecx + 0x20]
xor eax, 0x243f6a88
mov dword [esp + 0x10], esi
mov dword [esp + 0x3c], eax
mov eax, dword [ecx + 0x24]
xor eax, 0x85a308d3
mov dword [esp + 0x1c], edx
mov dword [esp + 0x38], eax
mov eax, dword [ecx + 0x28]
xor eax, 0x13198a2e
mov dword [esp + 0x48], 0x82efa98
mov dword [esp + 0x40], eax
mov eax, dword [ecx + 0x2c]
xor eax, 0x3707344
mov dword [esp + 0x4c], 0xec4e6c89
cmp dword [ecx + 0x3c], 0
mov dword [esp + 0x44], eax
mov eax, 0x299f31d0
mov dword [esp + 0x34], eax
jne 0x37a8c756
mov eax, dword [ecx + 0x30]
mov edi, eax
xor eax, 0x299f31d0
xor edi, 0xa4093822
mov dword [esp + 0x34], eax
mov eax, dword [ecx + 0x34]
mov edx, eax
xor edx, 0x82efa98
xor eax, 0xec4e6c89
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x34]
xor ebp, ebp
mov dword [esp + 0x14], ebp
mov eax, dword [esp + 0x14]
movzx ebp, byte [ebp + 0x37b01781]
mov edx, dword [esp + 0x28]
movzx ebx, byte [eax + 0x37b01780]
mov eax, dword [esp + ebx*4 + 0x58]
xor eax, dword [ebp*4 + 0x37b01860]
add eax, esi
add edx, eax
mov esi, edx
xor esi, edi
mov edi, dword [esp + 0x3c]
rol esi, 0x10
add edi, esi
mov eax, edi
xor eax, dword [esp + 0x10]
ror eax, 0xc
mov dword [esp + 0x10], eax
mov eax, dword [ebx*4 + 0x37b01860]
xor eax, dword [esp + ebp*4 + 0x58]
mov ebx, dword [esp + 0x10]
add eax, ebx
add eax, edx
mov dword [esp + 0x28], eax
xor eax, esi
ror eax, 8
mov dword [esp + 0x50], eax
add eax, edi
xor ebx, eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x38]
ror ebx, 7
mov dword [esp + 0x10], ebx
movzx edx, byte [eax + 0x37b01783]
movzx ebx, byte [eax + 0x37b01782]
shl edx, 2
mov dword [esp + 0x34], edx
mov eax, dword [esp + ebx*4 + 0x58]
xor eax, dword [edx + 0x37b01860]
add eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
add edx, eax
mov eax, dword [ebx*4 + 0x37b01860]
mov ebx, dword [esp + 0x34]
mov esi, edx
xor esi, ecx
rol esi, 0x10
add edi, esi
xor eax, dword [esp + ebx + 0x58]
mov ebp, edi
xor ebp, dword [esp + 0x2c]
add eax, edx
ror ebp, 0xc
add eax, ebp
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x30], eax
xor eax, esi
mov esi, dword [esp + 0x1c]
ror eax, 8
mov dword [esp + 0x34], eax
add eax, edi
mov ecx, eax
xor eax, ebp
ror eax, 7
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x14]
movzx edx, byte [eax + 0x37b01785]
movzx ebp, byte [eax + 0x37b01784]
shl edx, 2
mov dword [esp + 0x38], edx
mov eax, dword [esp + ebp*4 + 0x58]
xor eax, dword [edx + 0x37b01860]
mov edx, dword [esp + 0x24]
add eax, esi
add edx, eax
mov edi, edx
xor edi, dword [esp + 0x48]
rol edi, 0x10
add ebx, edi
xor esi, ebx
ror esi, 0xc
mov eax, dword [ebp*4 + 0x37b01860]
mov ebp, dword [esp + 0x38]
xor eax, dword [esp + ebp + 0x58]
add eax, edx
add eax, esi
mov dword [esp + 0x24], eax
xor eax, edi
ror eax, 8
mov dword [esp + 0x38], eax
add eax, ebx
mov dword [esp + 0x40], eax
xor eax, esi
ror eax, 7
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x44]
movzx edi, byte [eax + 0x37b01786]
movzx ebp, byte [eax + 0x37b01787]
mov eax, dword [esp + edi*4 + 0x58]
xor eax, dword [ebp*4 + 0x37b01860]
add eax, dword [esp + 0x18]
add eax, dword [esp + 0x20]
mov edi, dword [edi*4 + 0x37b01860]
mov edx, eax
xor edx, dword [esp + 0x4c]
xor edi, dword [esp + ebp*4 + 0x58]
add edi, eax
rol edx, 0x10
add esi, edx
mov ebx, esi
xor ebx, dword [esp + 0x18]
ror ebx, 0xc
add edi, ebx
mov ebp, edi
mov dword [esp + 0x20], edi
xor ebp, edx
mov edx, dword [esp + 0x20]
ror ebp, 8
lea eax, [esi + ebp]
mov dword [esp + 0x44], eax
xor eax, ebx
mov ebx, dword [esp + 0x14]
ror eax, 7
mov dword [esp + 0x18], eax
movzx esi, byte [ebx + 0x37b0178e]
movzx edi, byte [ebx + 0x37b0178f]
mov eax, dword [esp + esi*4 + 0x58]
xor eax, dword [edi*4 + 0x37b01860]
add eax, dword [esp + 0x10]
add edx, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], edx
xor edx, dword [esp + 0x38]
rol edx, 0x10
add ecx, edx
xor eax, ecx
ror eax, 0xc
mov dword [esp + 0x10], eax
mov eax, dword [esi*4 + 0x37b01860]
xor eax, dword [esp + edi*4 + 0x58]
mov esi, dword [esp + 0x10]
add eax, esi
mov edi, dword [esp + 0x20]
add edi, eax
mov eax, edi
mov dword [esp + 0x20], edi
xor eax, edx
mov dword [esp + 0xa4], edi
movzx edi, byte [ebx + 0x37b0178d]
ror eax, 8
add ecx, eax
mov dword [esp + 0x48], eax
xor esi, ecx
mov dword [esp + 0xd0], eax
ror esi, 7
mov dword [esp + 0x10], esi
mov dword [esp + 0xa8], esi
movzx esi, byte [ebx + 0x37b0178c]
mov dword [esp + 0x38], ecx
mov dword [esp + 0xbc], ecx
mov eax, dword [esp + esi*4 + 0x58]
xor eax, dword [edi*4 + 0x37b01860]
mov ecx, dword [esp + 0x18]
add eax, ecx
mov edx, dword [esp + 0x24]
add edx, eax
mov ebx, dword [esp + 0x3c]
mov eax, dword [esi*4 + 0x37b01860]
xor eax, dword [esp + edi*4 + 0x58]
mov dword [esp + 0x24], edx
xor edx, dword [esp + 0x34]
rol edx, 0x10
add ebx, edx
xor ecx, ebx
ror ecx, 0xc
add eax, ecx
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x24]
add ecx, eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x24], ecx
mov dword [esp + 0xa0], ecx
xor ecx, edx
mov edx, dword [esp + 0x28]
ror ecx, 8
add ebx, ecx
xor eax, ebx
mov dword [esp + 0x3c], ebx
ror eax, 7
mov dword [esp + 0x18], eax
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0xb8], ebx
mov ebx, dword [esp + 0x40]
movzx esi, byte [eax + 0x37b01788]
movzx edi, byte [eax + 0x37b01789]
mov eax, dword [esp + esi*4 + 0x58]
xor eax, dword [edi*4 + 0x37b01860]
add eax, dword [esp + 0x2c]
add edx, eax
mov eax, dword [esi*4 + 0x37b01860]
xor eax, dword [esp + edi*4 + 0x58]
mov dword [esp + 0x28], edx
xor edx, ebp
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
rol edx, 0x10
add ebx, edx
xor ebp, ebx
ror ebp, 0xc
add eax, ebp
add esi, eax
mov eax, esi
mov dword [esp + 0x28], esi
xor eax, edx
mov dword [esp + 0x98], esi
mov edx, dword [esp + 0x30]
ror eax, 8
add ebx, eax
mov dword [esp + 0x4c], eax
xor ebp, ebx
mov dword [esp + 0xd4], eax
ror ebp, 7
mov dword [esp + 0x2c], ebp
mov dword [esp + 0xac], ebp
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x40], ebx
mov dword [esp + 0xc0], ebx
mov ebx, dword [esp + 0x44]
movzx esi, byte [ebp + 0x37b0178a]
movzx edi, byte [ebp + 0x37b0178b]
mov eax, dword [esp + esi*4 + 0x58]
xor eax, dword [edi*4 + 0x37b01860]
add eax, dword [esp + 0x1c]
add edx, eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x30], edx
xor edx, dword [esp + 0x50]
rol edx, 0x10
add ebx, edx
xor eax, ebx
ror eax, 0xc
mov dword [esp + 0x1c], eax
add ebp, 0x10
mov eax, dword [esi*4 + 0x37b01860]
xor eax, dword [esp + edi*4 + 0x58]
mov esi, dword [esp + 0x1c]
add eax, esi
mov edi, dword [esp + 0x30]
add edi, eax
mov dword [esp + 0x14], ebp
mov dword [esp + 0x30], edi
mov dword [esp + 0x9c], edi
xor edi, edx
ror edi, 8
add ebx, edi
xor esi, ebx
mov dword [esp + 0x44], ebx
ror esi, 7
mov dword [esp + 0x1c], esi
mov dword [esp + 0xb0], esi
mov esi, dword [esp + 0x10]
mov dword [esp + 0xc4], ebx
cmp ebp, 0xe0
jb 0x37a8c760
mov esi, 2
mov dword [esp + 0xcc], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0xc8], edi
lea edi, [esp + 0x9c]
lea ebx, [esi + 2]
nop dword [eax]
lea eax, [esi - 2]
and eax, 7
lea edi, [edi + 0x10]
lea edx, [ecx + eax*4]
mov eax, dword [edi - 0x14]
xor dword [edx], eax
lea eax, [esi - 1]
and eax, 7
lea edx, [ecx + eax*4]
mov eax, dword [edi - 0x10]
xor dword [edx], eax
mov eax, esi
and eax, 7
lea edx, [ecx + eax*4]
mov eax, dword [edi - 0xc]
xor dword [edx], eax
lea eax, [esi + 1]
and eax, 7
add esi, 4
lea edx, [ecx + eax*4]
mov eax, dword [edi - 8]
xor dword [edx], eax
sub ebx, 1
jne 0x37a8cb80
mov eax, dword [ecx + 0x20]
xor dword [ecx], eax
mov eax, dword [ecx + 0x24]
xor dword [ecx + 4], eax
mov eax, dword [ecx + 0x28]
xor dword [ecx + 8], eax
mov eax, dword [ecx + 0x2c]
xor dword [ecx + 0xc], eax
mov eax, dword [ecx + 0x20]
xor dword [ecx + 0x10], eax
mov eax, dword [ecx + 0x24]
xor dword [ecx + 0x14], eax
mov eax, dword [ecx + 0x28]
xor dword [ecx + 0x18], eax
mov eax, dword [ecx + 0x2c]
xor dword [ecx + 0x1c], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc8
ret