Function at 0x10053040
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10064176
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
push ebx
push esi
push edi
mov eax, dword [0x10075604]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [edi + 0x104]
xor bl, bl
mov edx, eax
mov esi, 6
nop dword [eax]
cmp dword [edx - 4], 0
je 0x1005308b
cmp dword [edx], 0
jne 0x1005308d
inc bl
add edx, 0x18
sub esi, 1
jne 0x10053080
cmp bl, 6
jne 0x100531d7
movaps xmm0, xmmword [str.3cDVA]
xor ecx, ecx
movups xmmword [ebp - 0x48], xmm0
nop dword [eax + eax]
mov al, byte [ebp - 0x48]
xor byte [ebp + ecx - 0x47], al
inc ecx
cmp ecx, 0xe
jb 0x100530b0
cmp byte [ebp - 0x47], 0
mov byte [ebp - 0x39], 0
mov dword [ebp - 0x64], 0xf
mov dword [ebp - 0x68], 0
mov byte [ebp - 0x78], 0
jne 0x100530dd
xor ecx, ecx
jmp 0x100530ec
lea ecx, [ebp - 0x47]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100530e3
sub ecx, edx
push ecx
lea eax, [ebp - 0x47]
push eax
lea ecx, [ebp - 0x78]
call fcn.10002800
movaps xmm0, xmmword [0x1006bb70]
xor ecx, ecx
mov dword [ebp - 4], 0
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x14], 0x44131e1a
mov word [ebp - 0x10], 0x4b
nop word [eax + eax]
mov al, byte [ebp - 0x24]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0x14
jb 0x10053120
cmp byte [ebp - 0x23], 0
mov byte [ebp - 0xf], 0
mov dword [ebp - 0x4c], 0xf
mov dword [ebp - 0x50], 0
mov byte [ebp - 0x60], 0
jne 0x1005314d
xor ecx, ecx
jmp 0x1005315c
lea ecx, [ebp - 0x23]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10053153
sub ecx, edx
push ecx
lea eax, [ebp - 0x23]
push eax
lea ecx, [ebp - 0x60]
call fcn.10002800
push 0
push 0
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.1001d450
mov eax, dword [ebp - 0x4c]
add esp, 0x10
cmp eax, 0x10
jb 0x10053198
push 1
inc eax
push eax
push dword [ebp - 0x60]
call fcn.10002610
add esp, 0xc
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x4c], 0xf
mov dword [ebp - 0x50], 0
mov byte [ebp - 0x60], 0
cmp eax, 0x10
jb 0x10053332
push 1
inc eax
push eax
push dword [ebp - 0x78]
call fcn.10002610
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor esi, esi
lea ecx, [esi + 6]
nop dword [eax]
cmp dword [eax - 4], 0
jbe 0x100531ee
cmp dword [eax], 0
jbe 0x100531ee
add esi, dword [eax + 4]
add eax, 0x18
sub ecx, 1
jne 0x100531e0
mov ecx, edi
call fcn.10054b50
mov ecx, edi
call fcn.10054c40
push 0x2e
lea eax, [ebp - 0xac]
push esi
push eax
call fcn.1000e150
add esp, 0xc
cmp dword [eax + 0x14], 0x10
mov dword [ebp - 4], 2
jb 0x10053225
mov eax, dword [eax]
movaps xmm0, xmmword [0x1006bc30]
xor ecx, ecx
push eax
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x28], 0x603633
nop word [eax + eax]
mov al, byte [ebp - 0x38]
xor byte [ebp + ecx - 0x37], al
inc ecx
cmp ecx, 0x12
jb 0x10053240
sub esp, 0x18
mov byte [ebp - 0x25], 0
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x1005326e
mov eax, dword [edx]
jmp 0x10053270
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x37], 0
jne 0x1005327d
xor ecx, ecx
jmp 0x1005328c
lea ecx, [ebp - 0x37]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10053283
sub ecx, esi
push ecx
lea eax, [ebp - 0x37]
mov ecx, edx
push eax
call fcn.10002800
lea eax, [ebp - 0x94]
push eax
call fcn.10031980
push eax
push dword [edi + 0x7c]
mov byte [ebp - 4], 3
call fcn.10013630
mov eax, dword [ebp - 0x80]
add esp, 0x28
cmp eax, 0x10
jb 0x100532ce
inc eax
push 1
push eax
push dword [ebp - 0x94]
call fcn.10002610
add esp, 0xc
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x80], 0xf
mov dword [ebp - 0x84], 0
mov byte [ebp - 0x94], 0
mov dword [ebp - 4], 0xffffffff
cmp eax, 0x10
jb 0x1005330a
push 1
inc eax
push eax
push dword [ebp - 0xac]
call fcn.10002610
add esp, 0xc
push 1
push dword [edi + 0x20]
mov dword [ebp - 0x98], 0xf
mov dword [ebp - 0x9c], 0
mov byte [ebp - 0xac], 0
call fcn.10012b10
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret