Function at 0x3fbce0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x954
mov edi, dword [ebp + 0x10]
mov eax, dword [0x10376020]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x718]
push 0x708
push 0xff
push eax
call fcn.002a95c0
add esp, 0xc
xor esi, esi
lea ebx, [ebp - 0x830]
xor eax, eax
dec eax
mov dword [ebp - 0x80c], eax
mov dword [ebp - 0x810], eax
pcmpeqd xmm0, xmm0
movdqu xmmword [ebp - 0x820], xmm0
movdqu xmmword [ebp - 0x830], xmm0
mov dword [ebp - 0x8ac], eax
mov dword [ebp - 0x8b0], eax
movdqu xmmword [ebp - 0x8c0], xmm0
movdqu xmmword [ebp - 0x8d0], xmm0
mov ecx, ebx
mov edx, edi
call fcn.003fc5e0
lea edx, [edi + 0x20]
lea ecx, [ebp - 0x8d0]
call fcn.003fc5e0
lea ecx, [esi + ebp]
add ecx, 0xfffff8e8
lea edx, [ebp - 0x8d0]
push ebx
call fcn.003fb7e0
add esp, 4
lea ecx, [esi + ebp]
add ecx, 0xfffff910
lea edx, [ebp - 0x8d0]
push ebx
call fcn.003fb620
add esp, 4
lea ebx, [esi + ebp]
add ebx, 0xfffff938
mov ecx, ebx
lea edx, [ebp - 0x830]
lea eax, [ebp - 0x8d0]
push eax
call fcn.00403c30
add esp, 4
mov ecx, ebx
mov edx, ebx
lea ebx, [ebp - 0x830]
push 0x103641f0
call fcn.00403c30
add esp, 4
add esi, 0x78
add edi, 0x40
cmp esi, 0x708
jne 0x3fbd1a
mov eax, dword [ebp + 8]
lea ecx, [eax + 0x28]
mov dword [ebp - 0x954], ecx
pxor xmm0, xmm0
movdqu xmmword [eax + 0x20], xmm0
movdqu xmmword [eax + 0x40], xmm0
movdqu xmmword [eax + 0x30], xmm0
movdqu xmmword [eax + 0x10], xmm0
movdqu xmmword [eax], xmm0
xor ecx, ecx
inc ecx
mov dword [eax + 0x28], ecx
lea edx, [eax + 0x50]
mov dword [ebp - 0x950], edx
movdqu xmmword [eax + 0x54], xmm0
movdqu xmmword [eax + 0x64], xmm0
xor edx, edx
mov dword [eax + 0x74], edx
mov dword [eax + 0x50], ecx
lea ecx, [eax + 0x78]
mov dword [ebp - 0x94c], ecx
movdqu xmmword [eax + 0x78], xmm0
movdqu xmmword [eax + 0x88], xmm0
mov dword [eax + 0x9c], edx
mov dword [eax + 0x98], edx
mov ecx, 0x3f
mov eax, ecx
shr eax, 3
mov ebx, dword [ebp + 0xc]
movzx esi, byte [ebx + eax]
mov dword [ebp - 0x958], ecx
and cl, 7
movzx edi, cl
xor edx, edx
bt esi, edi
setb dl
movzx esi, byte [ebx + eax + 8]
shr esi, cl
xor edi, edi
inc edi
and esi, edi
lea edx, [edx + esi*2]
movzx esi, byte [ebx + eax + 0x10]
shr esi, cl
movzx eax, byte [ebx + eax + 0x18]
shr eax, cl
and esi, edi
lea ecx, [edx + esi*4]
and eax, edi
lea eax, [ecx + eax*8]
mov dword [ebp - 0x95c], eax
xor eax, eax
lea ecx, [ebp - 0x740]
mov dword [ecx - 0x2c], eax
pxor xmm0, xmm0
movdqu xmmword [ecx - 0x3c], xmm0
movdqu xmmword [ecx - 0x4c], xmm0
mov dword [ebp - 0x790], edi
mov dword [ecx - 4], eax
movdqu xmmword [ecx - 0x14], xmm0
movdqu xmmword [ecx - 0x24], xmm0
mov dword [ebp - 0x768], edi
mov dword [ecx + 0x24], eax
mov dword [ecx + 0x20], eax
movdqu xmmword [ecx + 0x10], xmm0
movdqu xmmword [ecx], xmm0
mov esi, dword [ebp - 0x78c]
mov eax, dword [ebp - 0x788]
mov dword [ebp - 0x8e4], eax
mov eax, dword [ebp - 0x784]
mov dword [ebp - 0x8e8], eax
mov eax, dword [ebp - 0x780]
mov dword [ebp - 0x8ec], eax
mov eax, dword [ebp - 0x77c]
mov dword [ebp - 0x8f0], eax
mov eax, dword [ebp - 0x778]
mov dword [ebp - 0x8f4], eax
mov eax, dword [ebp - 0x774]
mov dword [ebp - 0x8f8], eax
mov eax, dword [ebp - 0x770]
mov dword [ebp - 0x8fc], eax
mov eax, dword [ebp - 0x76c]
mov dword [ebp - 0x900], eax
mov eax, dword [ebp - 0x768]
mov dword [ebp - 0x904], eax
mov eax, dword [ebp - 0x764]
mov dword [ebp - 0x908], eax
mov eax, dword [ebp - 0x760]
mov dword [ebp - 0x90c], eax
mov eax, dword [ebp - 0x75c]
mov dword [ebp - 0x910], eax
mov eax, dword [ebp - 0x758]
mov dword [ebp - 0x914], eax
mov eax, dword [ebp - 0x754]
mov dword [ebp - 0x918], eax
mov eax, dword [ebp - 0x750]
mov dword [ebp - 0x91c], eax
mov eax, dword [ebp - 0x74c]
mov dword [ebp - 0x920], eax
mov eax, dword [ebp - 0x748]
mov dword [ebp - 0x924], eax
mov eax, dword [ebp - 0x744]
mov dword [ebp - 0x928], eax
mov eax, dword [ebp - 0x740]
mov dword [ebp - 0x92c], eax
mov eax, dword [ebp - 0x73c]
mov dword [ebp - 0x930], eax
mov eax, dword [ebp - 0x738]
mov dword [ebp - 0x934], eax
mov eax, dword [ebp - 0x734]
mov dword [ebp - 0x938], eax
mov eax, dword [ebp - 0x730]
mov dword [ebp - 0x93c], eax
mov eax, dword [ebp - 0x72c]
mov dword [ebp - 0x940], eax
mov ecx, dword [ebp - 0x728]
mov eax, dword [ebp - 0x724]
mov dword [ebp - 0x8d8], eax
mov eax, dword [ebp - 0x720]
mov dword [ebp - 0x8dc], eax
mov eax, dword [ebp - 0x71c]
mov dword [ebp - 0x944], eax
lea eax, [ebp - 0x6a4]
mov dword [ebp - 0x8e0], edi
mov edx, edi
mov dword [ebp - 0x948], edx
mov dword [ebp - 0x8d4], eax
mov ebx, dword [ebp - 0x8e0]
mov edx, dword [ebp - 0x948]
xor edx, dword [ebp - 0x95c]
dec edx
sar edx, 0x1f
mov edi, dword [eax - 0x74]
xor edi, ebx
and edi, edx
xor edi, ebx
mov dword [ebp - 0x8e0], edi
mov eax, dword [eax - 0x70]
xor eax, esi
and eax, edx
xor eax, esi
mov dword [ebp - 0x960], eax
mov esi, dword [ebp - 0x8e4]
mov eax, dword [ebp - 0x8d4]
mov eax, dword [eax - 0x6c]
xor eax, esi
and eax, edx
xor eax, esi
mov dword [ebp - 0x8e4], eax
mov esi, dword [ebp - 0x8e8]
mov eax, dword [ebp - 0x8d4]
mov eax, dword [eax - 0x68]
xor eax, esi
and eax, edx
xor eax, esi
mov dword [ebp - 0x8e8], eax
mov esi, dword [ebp - 0x8ec]
mov eax, dword [ebp - 0x8d4]
mov eax, dword [eax - 0x64]
xor eax, esi
and eax, edx
xor eax, esi
mov dword [ebp - 0x8ec], eax
mov esi, dword [ebp - 0x8f0]
mov eax, dword [ebp - 0x8d4]
mov eax, dword [eax - 0x60]
xor eax, esi
and eax, edx
xor eax, esi
mov dword [ebp - 0x8f0], eax
mov esi, dword [ebp - 0x8f4]
mov eax, dword [ebp - 0x8d4]
mov eax, dword [eax - 0x5c]
xor eax, esi
and eax, edx
xor eax, esi
mov dword [ebp - 0x8f4], eax
mov esi, dword [ebp - 0x8f8]
mov eax, dword [ebp - 0x8d4]
mov eax, dword [eax - 0x58]
xor eax, esi
and eax, edx
xor eax, esi
mov dword [ebp - 0x8f8], eax
mov esi, dword [ebp - 0x8fc]
mov eax, dword [ebp - 0x8d4]
mov eax, dword [eax - 0x54]
xor eax, esi
and eax, edx
xor eax, esi
mov dword [ebp - 0x8fc], eax
mov esi, dword [ebp - 0x900]
mov eax, dword [ebp - 0x8d4]
mov eax, dword [eax - 0x50]
xor eax, esi
and eax, edx
xor eax, esi
mov dword [ebp - 0x900], eax
mov esi, dword [ebp - 0x904]
mov eax, dword [ebp - 0x8d4]
mov eax, dword [eax - 0x4c]
xor eax, esi
and eax, edx
xor eax, esi
mov dword [ebp - 0x904], eax
mov esi, dword [ebp - 0x908]
mov eax, dword [ebp - 0x8d4]
mov eax, dword [eax - 0x48]
xor eax, esi
and eax, edx
xor eax, esi
mov dword [ebp - 0x908], eax
mov esi, dword [ebp - 0x90c]
mov eax, dword [ebp - 0x8d4]
mov eax, dword [eax - 0x44]
xor eax, esi
and eax, edx
xor eax, esi
mov dword [ebp - 0x90c], eax
mov esi, dword [ebp - 0x910]
mov eax, dword [ebp - 0x8d4]
mov eax, dword [eax - 0x40]
xor eax, esi
and eax, edx
xor eax, esi
mov dword [ebp - 0x910], eax
mov esi, dword [ebp - 0x914]
mov eax, dword [ebp - 0x8d4]
mov eax, dword [eax - 0x3c]
xor eax, esi
and eax, edx
xor eax, esi
mov dword [ebp - 0x914], eax
mov esi, dword [ebp - 0x918]
mov eax, dword [ebp - 0x8d4]
mov eax, dword [eax - 0x38]
xor eax, esi
and eax, edx
xor eax, esi
mov dword [ebp - 0x918], eax
mov esi, dword [ebp - 0x91c]
mov eax, dword [ebp - 0x8d4]
mov eax, dword [eax - 0x34]
xor eax, esi
and eax, edx
xor eax, esi
mov dword [ebp - 0x91c], eax
mov esi, dword [ebp - 0x920]
mov eax, dword [ebp - 0x8d4]
mov eax, dword [eax - 0x30]
xor eax, esi
and eax, edx
xor eax, esi
mov dword [ebp - 0x920], eax
mov esi, dword [ebp - 0x924]
mov eax, dword [ebp - 0x8d4]
mov eax, dword [eax - 0x2c]
xor eax, esi
and eax, edx
xor eax, esi
mov dword [ebp - 0x924], eax
mov esi, dword [ebp - 0x928]
mov eax, dword [ebp - 0x8d4]
mov eax, dword [eax - 0x28]
xor eax, esi
and eax, edx
xor eax, esi
mov dword [ebp - 0x928], eax
mov esi, dword [ebp - 0x92c]
mov eax, dword [ebp - 0x8d4]
mov eax, dword [eax - 0x24]
xor eax, esi
and eax, edx
xor eax, esi
mov dword [ebp - 0x92c], eax
mov esi, dword [ebp - 0x930]
mov eax, dword [ebp - 0x8d4]
mov eax, dword [eax - 0x20]
xor eax, esi
and eax, edx
xor eax, esi
mov dword [ebp - 0x930], eax
mov esi, dword [ebp - 0x934]
mov eax, dword [ebp - 0x8d4]
mov eax, dword [eax - 0x1c]
xor eax, esi
and eax, edx
xor eax, esi
mov dword [ebp - 0x934], eax
mov esi, dword [ebp - 0x938]
mov eax, dword [ebp - 0x8d4]
mov eax, dword [eax - 0x18]
xor eax, esi
and eax, edx
xor eax, esi
mov dword [ebp - 0x938], eax
mov esi, dword [ebp - 0x93c]
mov eax, dword [ebp - 0x8d4]
mov eax, dword [eax - 0x14]
xor eax, esi
and eax, edx
xor eax, esi
mov dword [ebp - 0x93c], eax
mov esi, dword [ebp - 0x940]
mov eax, dword [ebp - 0x8d4]
mov eax, dword [eax - 0x10]
xor eax, esi
and eax, edx
xor eax, esi
mov dword [ebp - 0x940], eax
mov esi, ecx
mov eax, dword [ebp - 0x8d4]
mov eax, dword [eax - 0xc]
xor eax, ecx
and eax, edx
xor eax, ecx
mov esi, dword [ebp - 0x8d8]
mov ecx, dword [ebp - 0x8d4]
mov ecx, dword [ecx - 8]
xor ecx, esi
and ecx, edx
xor ecx, esi
mov dword [ebp - 0x8d8], ecx
mov esi, dword [ebp - 0x8dc]
mov edi, dword [ebp - 0x8d4]
mov edi, dword [edi - 4]
xor edi, esi
and edi, edx
xor edi, esi
mov dword [ebp - 0x8dc], edi
mov esi, dword [ebp - 0x944]
mov edi, dword [ebp - 0x8d4]
mov edi, dword [edi]
xor edi, esi
and edi, edx
mov edx, dword [ebp - 0x948]
xor edi, esi
mov esi, dword [ebp - 0x960]
mov dword [ebp - 0x944], edi
mov ecx, eax
mov eax, dword [ebp - 0x8d4]
inc edx
add eax, 0x78
cmp edx, 0x10
jne 0x3fc045
mov eax, dword [ebp - 0x8e0]
mov dword [ebp - 0x790], eax
mov dword [ebp - 0x78c], esi
mov eax, dword [ebp - 0x8e4]
mov dword [ebp - 0x788], eax
mov eax, dword [ebp - 0x8e8]
mov dword [ebp - 0x784], eax
mov eax, dword [ebp - 0x8ec]
mov dword [ebp - 0x780], eax
mov eax, dword [ebp - 0x8f0]
mov dword [ebp - 0x77c], eax
mov eax, dword [ebp - 0x8f4]
mov dword [ebp - 0x778], eax
mov eax, dword [ebp - 0x8f8]
mov dword [ebp - 0x774], eax
mov eax, dword [ebp - 0x8fc]
mov dword [ebp - 0x770], eax
mov eax, dword [ebp - 0x900]
mov dword [ebp - 0x76c], eax
mov eax, dword [ebp - 0x904]
mov dword [ebp - 0x768], eax
mov eax, dword [ebp - 0x908]
mov dword [ebp - 0x764], eax
mov eax, dword [ebp - 0x90c]
mov dword [ebp - 0x760], eax
mov eax, dword [ebp - 0x910]
mov dword [ebp - 0x75c], eax
mov eax, dword [ebp - 0x914]
mov dword [ebp - 0x758], eax
mov eax, dword [ebp - 0x918]
mov dword [ebp - 0x754], eax
mov eax, dword [ebp - 0x91c]
mov dword [ebp - 0x750], eax
mov eax, dword [ebp - 0x920]
mov dword [ebp - 0x74c], eax
mov eax, dword [ebp - 0x924]
mov dword [ebp - 0x748], eax
mov eax, dword [ebp - 0x928]
mov dword [ebp - 0x744], eax
mov eax, dword [ebp - 0x92c]
mov dword [ebp - 0x740], eax
mov eax, dword [ebp - 0x930]
mov dword [ebp - 0x73c], eax
mov eax, dword [ebp - 0x934]
mov dword [ebp - 0x738], eax
mov eax, dword [ebp - 0x938]
mov dword [ebp - 0x734], eax
mov eax, dword [ebp - 0x93c]
mov dword [ebp - 0x730], eax
mov eax, dword [ebp - 0x940]
mov dword [ebp - 0x72c], eax
mov dword [ebp - 0x728], ecx
mov eax, dword [ebp - 0x8d8]
mov dword [ebp - 0x724], eax
mov eax, dword [ebp - 0x8dc]
mov dword [ebp - 0x720], eax
mov eax, dword [ebp - 0x944]
mov dword [ebp - 0x71c], eax
mov esi, 0xa0
push esi
mov ebx, 0xff
push ebx
lea edi, [ebp - 0x830]
push edi
call fcn.002a95c0
add esp, 0xc
push esi
push ebx
lea ebx, [ebp - 0x8d0]
push ebx
call fcn.002a95c0
add esp, 0xc
mov ecx, edi
mov ebx, dword [ebp - 0x954]
mov edx, ebx
mov esi, dword [ebp + 8]
push esi
call fcn.003fb7e0
add esp, 4
lea esi, [ebp - 0x808]
mov ecx, esi
mov edx, ebx
mov ebx, dword [ebp + 8]
push ebx
call fcn.003fb620
add esp, 4
mov eax, dword [ebp - 0x950]
movsd xmm0, qword [eax + 0x20]
movsd qword [esi + 0x48], xmm0
movdqu xmm0, xmmword [eax]
movups xmm1, xmmword [eax + 0x10]
movups xmmword [esi + 0x38], xmm1
movdqu xmmword [esi + 0x28], xmm0
lea ecx, [ebp - 0x7b8]
mov edx, dword [ebp - 0x94c]
push 0x103641f0
call fcn.00403c30
add esp, 4
push edi
push ebx
lea esi, [ebp - 0x8d0]
push esi
call fcn.003fba00
add esp, 0xc
push esi
push ebx
call fcn.003fb9a0
add esp, 8
mov ecx, esi
mov edx, ebx
lea eax, [ebp - 0x790]
push eax
call fcn.003fc780
add esp, 4
push esi
push ebx
call fcn.003fb9a0
add esp, 8
mov ecx, dword [ebp - 0x958]
dec ecx
cmp ecx, 0x40
jb 0x3fbe59
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.002a5ceb
add esp, 0x954
pop esi
pop edi
pop ebx
pop ebp
ret