Function at 0x403660
Capabilities:
Encode data using xor
Encrypt data using blowfish
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
push esi
push edi
push dword [0x422bd0]
mov esi, ecx
push 0
push dword [0x422bcc]
call fcn.004053b0
push dword [0x422bc8]
push 0
push dword [0x422bc4]
call fcn.004053b0
add esp, 0x14
mov dword [0x422bd4], 0
mov edx, esi
call fcn.00403e30
call fcn.00403f00
push 0x200
push 0
push dword [0x422b70]
call fcn.004053b0
movups xmm0, xmmword [0x41f2b0]
mov ecx, 0x400
mov dword [ebp - 4], 0
mov esi, 0x41e2b0
mov dword [ebp - 8], 0
movups xmmword [0x425d48], xmm0
mov edi, 0x425d90
add esp, 0x10
movups xmm0, xmmword [0x41f2c0]
xor edx, edx
movups xmmword [0x425d58], xmm0
movups xmm0, xmmword [0x41f2d0]
movups xmmword [0x425d68], xmm0
movups xmm0, xmmword [0x41f2e0]
movups xmmword [0x425d78], xmm0
movq xmm0, qword [0x41f2f0]
movq qword [0x425d88], xmm0
rep movsd dword es:[edi], dword [esi]
mov esi, 0x425d48
mov edi, 0x12
lea eax, [edx + 1]
and eax, 0x1f
lea esi, [esi + 4]
movzx ecx, byte [eax + 0x425d08]
movzx eax, byte [edx + 0x425d08]
shl eax, 8
or ecx, eax
lea eax, [edx + 2]
and eax, 0x1f
shl ecx, 8
movzx eax, byte [eax + 0x425d08]
or ecx, eax
lea eax, [edx + 3]
and eax, 0x1f
shl ecx, 8
add edx, 4
and edx, 0x1f
movzx eax, byte [eax + 0x425d08]
or ecx, eax
xor dword [esi - 4], ecx
sub edi, 1
jne 0x403734
mov esi, 0x425d4c
mov edi, 0x209
nop dword [eax]
push 0x425d48
lea edx, [ebp - 8]
lea ecx, [ebp - 4]
call fcn.00401110
mov eax, dword [ebp - 4]
lea esi, [esi + 8]
mov dword [esi - 0xc], eax
add esp, 4
mov eax, dword [ebp - 8]
mov dword [esi - 8], eax
sub edi, 1
jne 0x403790
mov esi, 0x421d18
nop dword [eax]
movups xmm0, xmmword [esi]
xor ecx, ecx
movups xmmword [ebp - 0x80], xmm0
movups xmm0, xmmword [esi + 0x10]
movups xmmword [ebp - 0x70], xmm0
movups xmm0, xmmword [esi + 0x20]
movups xmmword [ebp - 0x60], xmm0
movups xmm0, xmmword [esi + 0x30]
movups xmmword [ebp - 0x50], xmm0
movups xmm0, xmmword [esi + 0x40]
movups xmmword [ebp - 0x40], xmm0
movups xmm0, xmmword [esi + 0x50]
movups xmmword [ebp - 0x30], xmm0
xorps xmm0, xmm0
movlpd qword [ebp - 0x20], xmm0
nop dword [eax]
mov ax, word [ebp + ecx - 0x20]
mov word [ebp + ecx - 0x10], ax
add ecx, 2
cmp ecx, 8
jb 0x403800
mov edx, dword [ebp - 0x10]
mov eax, edx
mov ecx, dword [0x422b70]
and eax, 0x3f
push 0x60
xor edx, dword [ecx + eax*8]
mov eax, dword [ecx + eax*8 + 4]
lea ecx, [ebp - 0x10]
xor dword [ebp - 0xc], eax
lea eax, [ebp - 0x80]
push eax
push eax
mov dword [ebp - 0x10], edx
call fcn.004019f0
lea eax, [ebp - 0x80]
push 0x18
push eax
mov edx, eax
call section..text
movups xmm0, xmmword [esi]
mov eax, dword [ebp - 0x40]
add esp, 0x14
mov ecx, dword [ebp - 0x3c]
movups xmmword [ebp - 0x80], xmm0
mov dword [ebp - 0x20], eax
xor eax, eax
movups xmm0, xmmword [esi + 0x10]
mov dword [ebp - 0x1c], ecx
movups xmmword [ebp - 0x70], xmm0
movups xmm0, xmmword [esi + 0x20]
movups xmmword [ebp - 0x60], xmm0
movups xmm0, xmmword [esi + 0x30]
movups xmmword [ebp - 0x50], xmm0
movups xmm0, xmmword [esi + 0x40]
movups xmmword [ebp - 0x40], xmm0
movups xmm0, xmmword [esi + 0x50]
movups xmmword [ebp - 0x30], xmm0
nop dword [eax]
mov cx, word [ebp + eax - 0x20]
mov word [ebp + eax - 0x18], cx
add eax, 2
cmp eax, 8
jb 0x403890
mov edx, dword [ebp - 0x18]
mov eax, edx
mov ecx, dword [0x422b70]
and eax, 0x3f
push 0x60
xor edx, dword [ecx + eax*8]
mov eax, dword [ecx + eax*8 + 4]
lea ecx, [ebp - 0x18]
xor dword [ebp - 0x14], eax
lea eax, [ebp - 0x80]
push eax
push eax
mov dword [ebp - 0x18], edx
call fcn.004019f0
lea eax, [ebp - 0x80]
push 0x18
push eax
mov edx, eax
call section..text
push 0x40
push 0
push 0x422c00
mov dword [0x422bd8], 0x6a09e667
mov dword [0x422bdc], 0xbb67ae85
mov dword [0x422be0], 0x3c6ef372
mov dword [0x422be4], 0xa54ff53a
mov dword [0x422be8], 0x510e527f
mov dword [0x422bec], 0x9b05688c
mov dword [0x422bf0], 0x1f83d9ab
mov dword [0x422bf4], 0x5be0cd19
mov dword [0x422bfc], 0
mov dword [0x422bf8], 0
call fcn.004053b0
push 0x3c
lea edx, [ebp - 0x80]
mov ecx, 0x422bd8
call fcn.00403be0
add esp, 0x24
lea edx, [ebp - 0xa0]
mov ecx, 0x422bd8
call fcn.00403d10
lea ecx, [ebp - 0xa0]
mov edi, 0x1c
lea edx, [ebp - 0x40]
nop dword [eax + eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x40399c
add ecx, 4
add edx, 4
sub edi, 4
jae 0x403980
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
sub esi, 0x64
cmp esi, 0x421a5c
jg 0x4037c0
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret