Function at 0x7a1f65
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10179940
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push esi
push edi
mov eax, dword [reloc.MSVCRT.dll_strncpy]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 0x14], edx
mov ecx, dword [ebp + 8]
mov edi, dword [edx + 0x48]
push 0
mov ecx, dword [ecx + 8]
cmp dword [edx + 0x5c], ecx
lea edi, [edi + 0x1f]
cmovb ecx, dword [edx + 0x5c]
shr edi, 5
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0x40]
push edi
mov dword [ebp - 0x10], edi
call fcn.006f9095
mov esi, eax
mov dword [ebp - 0x30], esi
test edi, edi
je 0x7a1fd8
lea ecx, [edi - 1]
mov dword [esi], 0
test ecx, ecx
je 0x7a1fd8
xor eax, eax
lea edi, [esi + 4]
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 0x48]
lea eax, [ecx - 1]
mov dword [ebp - 0x24], eax
test eax, eax
js 0x7a2248
mov ecx, dword [edx + 0x48]
dec ecx
mov eax, ecx
shr eax, 5
cmp eax, edi
jae 0x7a2115
mov eax, dword [esi + eax*4]
and ecx, 0x1f
shr eax, cl
test al, 1
je 0x7a2115
xor edx, edx
xor edi, edi
cmp dword [ebp - 0x10], edx
jbe 0x7a213b
mov ecx, dword [esi + edx*4]
lea eax, [ecx + ecx]
or eax, edi
mov edi, ecx
mov dword [esi + edx*4], eax
inc edx
shr edi, 0x1f
cmp edx, dword [ebp - 0x10]
jb 0x7a201a
mov edx, dword [ebp - 0x14]
xor ecx, ecx
mov edi, dword [ebp - 0x10]
mov dword [ebp - 0x1c], ecx
mov edx, dword [edx + 0x44]
mov eax, edx
cmp edi, 0x10
jb 0x7a20f4
lea eax, [edi - 1]
mov dword [ebp - 0x1c], ecx
lea eax, [esi + eax*4]
mov dword [ebp - 0x20], eax
lea eax, [edi - 1]
lea eax, [edx + eax*4]
cmp esi, eax
ja 0x7a206a
mov eax, edx
cmp dword [ebp - 0x20], edx
jae 0x7a20f4
mov eax, edi
mov dword [ebp - 0x20], edx
and eax, 0xfffffff0
mov edi, edx
mov dword [ebp - 0x2c], eax
sub edi, esi
lea eax, [edx + 0x30]
mov dword [ebp - 0x28], edi
mov edi, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
lea eax, [esi + 0x10]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x28]
nop dword [eax]
movups xmm0, xmmword [eax - 0x10]
add ecx, 0x10
lea eax, [eax + 0x40]
lea edx, [edx + 0x40]
movups xmm1, xmmword [edx - 0x70]
pxor xmm1, xmm0
movups xmmword [eax - 0x50], xmm1
movups xmm0, xmmword [eax - 0x40]
movups xmm1, xmmword [esi + eax - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x40], xmm1
movups xmm0, xmmword [eax - 0x30]
movups xmm1, xmmword [edx - 0x50]
pxor xmm1, xmm0
movups xmmword [eax - 0x30], xmm1
movups xmm0, xmmword [eax - 0x20]
movups xmm1, xmmword [edx - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
cmp ecx, dword [ebp - 0x2c]
jb 0x7a2095
mov esi, dword [ebp - 0x30]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x1c], ecx
cmp ecx, edi
jae 0x7a213e
mov eax, dword [ebp - 0x20]
sub eax, esi
lea ecx, [esi + ecx*4]
mov edx, edi
mov dword [ebp - 0x20], eax
sub edx, dword [ebp - 0x1c]
mov edi, eax
nop
mov eax, dword [ecx + edi]
lea ecx, [ecx + 4]
xor dword [ecx - 4], eax
sub edx, 1
jne 0x7a2105
jmp 0x7a213b
xor edx, edx
xor edi, edi
cmp dword [ebp - 0x10], edx
jbe 0x7a213b
nop dword [eax]
mov ecx, dword [esi + edx*4]
lea eax, [ecx + ecx]
or eax, edi
mov edi, ecx
mov dword [esi + edx*4], eax
inc edx
shr edi, 0x1f
cmp edx, dword [ebp - 0x10]
jb 0x7a2125
mov edi, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
mov edx, ecx
mov eax, dword [ebp + 0xc]
shr edx, 5
cmp edx, dword [eax + 8]
jae 0x7a2238
mov eax, dword [eax + 0xc]
and ecx, 0x1f
mov eax, dword [eax + edx*4]
shr eax, cl
test al, 1
je 0x7a2238
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [ebp - 0x20], edx
mov ecx, dword [eax + 0xc]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], ecx
test eax, eax
je 0x7a2238
cmp eax, 0x10
jb 0x7a2219
dec eax
mov dword [ebp - 0x20], edx
lea eax, [ecx + eax*4]
cmp esi, eax
ja 0x7a219d
mov eax, dword [ebp - 0x18]
dec eax
lea eax, [esi + eax*4]
cmp eax, ecx
jae 0x7a2219
mov eax, dword [ebp - 0x18]
and eax, 0xfffffff0
mov dword [ebp - 0x20], eax
lea eax, [ecx + 0x30]
sub ecx, esi
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], ecx
lea eax, [esi + 0x10]
mov ecx, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x28]
movups xmm0, xmmword [eax - 0x10]
add edx, 0x10
lea eax, [eax + 0x40]
lea ecx, [ecx + 0x40]
movups xmm1, xmmword [ecx - 0x70]
pxor xmm1, xmm0
movups xmmword [eax - 0x50], xmm1
movups xmm0, xmmword [eax - 0x40]
movups xmm1, xmmword [edi + eax - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x40], xmm1
movups xmm0, xmmword [eax - 0x30]
movups xmm1, xmmword [ecx - 0x50]
pxor xmm1, xmm0
movups xmmword [eax - 0x30], xmm1
movups xmm0, xmmword [eax - 0x20]
movups xmm1, xmmword [ecx - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
cmp edx, dword [ebp - 0x20]
jb 0x7a21ba
mov edi, dword [ebp - 0x10]
mov eax, edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x20], edx
cmp eax, dword [ebp - 0x18]
jae 0x7a2238
mov edi, dword [ebp - 0x1c]
lea eax, [esi + edx*4]
mov edx, dword [ebp - 0x18]
sub edi, esi
sub edx, dword [ebp - 0x20]
mov ecx, dword [eax + edi]
lea eax, [eax + 4]
xor dword [eax - 4], ecx
sub edx, 1
jne 0x7a2227
mov edi, dword [ebp - 0x10]
sub dword [ebp - 0x24], 1
mov edx, dword [ebp - 0x14]
jns 0x7a1fec
mov ecx, dword [edx + 0x48]
and ecx, 0x1f
je 0x7a2259
mov eax, 1
shl eax, cl
dec eax
and dword [esi + edi*4 - 4], eax
mov eax, dword [edx + 0x60]
mov ecx, dword [edx + 0x5c]
cmp eax, esi
je 0x7a229d
shl ecx, 2
test ecx, ecx
je 0x7a229d
test eax, eax
je 0x7a228a
push ecx
test esi, esi
je 0x7a227f
push esi
push eax
call fcn.007c7d75
add esp, 0xc
jmp 0x7a229a
push 0
push eax
call fcn.007c82f5
add esp, 0xc
call fcn.007d56bb
mov dword [eax], 0x16
call fcn.007d5158
mov edx, dword [ebp - 0x14]
lea eax, [edx + 0x54]
mov dword [ebp - 4], 0
test esi, esi
je 0x7a22c3
mov ecx, dword [ebp - 0x10]
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
push esi
call fcn.007a3d35
mov eax, dword [ebp - 0x14]
add esp, 4
add eax, 0x54
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8