Function at 0x1002a450
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10033630
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x34
mov eax, dword [0x1003f00c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [0x1003fe0e], 0
je 0x1002a92b
mov eax, dword [0x1003f068]
mov ecx, dword [0x1003f8dc]
movaps xmm0, xmmword [0x1003bec0]
movups xmmword [ebp - 0x40], xmm0
mov dword [eax + 0x17cc], 0x43c58000
mov dword [eax + 0x17d0], 0x44048000
mov dword [eax + 0x17e4], 1
mov eax, dword fs:[0x2c]
mov dword [ebp - 0x30], 0x1f1e091a
mov dword [ebp - 0x2c], 0x6c020305
mov dword [ebp - 0x28], 0x7c627c7d
mov esi, dword [eax + ecx*4]
mov eax, dword [0x10112fb8]
mov word [ebp - 0x24], 0x7d62
mov byte [ebp - 0x22], 0x4c
cmp eax, dword [esi + 4]
jle 0x1002a546
push 0x10112fb8
call fcn.10031abc
add esp, 4
cmp dword [0x10112fb8], 0xffffffff
jne 0x1002a546
push 0x1f
lea eax, [ebp - 0x40]
push eax
push 0x10112794
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push 0x10034880
call fcn.10031ee1
add esp, 4
push 0x10112fb8
call fcn.10031a72
add esp, 4
cmp byte [0x101127b2], 0
je 0x1002a57d
movups xmm0, xmmword [0x10112794]
mov eax, 0x10
movaps xmm1, xmmword [0x1003be00]
pxor xmm1, xmm0
movups xmmword [0x10112794], xmm1
nop dword [eax]
xor byte [eax + 0x10112794], 0x4c
inc eax
cmp eax, 0x1f
jb 0x1002a570
movss xmm3, dword [0x1003b574]
lea eax, [ebp - 0x20]
push 0x22
push eax
mov edx, 0x1003fe0e
mov dword [ebp - 0x20], 0
mov ecx, 0x10112794
mov dword [ebp - 0x1c], 0
call fcn.1000d840
add esp, 8
test al, al
je 0x1002a926
mov eax, dword [0x101129b4]
mov dword [ebp - 0x20], 0x2922290b
mov dword [ebp - 0x1c], 0x4c202d3e
cmp eax, dword [esi + 4]
jle 0x1002a60b
push 0x101129b4
call fcn.10031abc
add esp, 4
cmp dword [0x101129b4], 0xffffffff
jne 0x1002a60b
movq xmm0, qword [ebp - 0x20]
push 0x10034870
movq qword [0x10112d88], xmm0
call fcn.10031ee1
add esp, 4
push 0x101129b4
call fcn.10031a72
add esp, 4
mov al, byte [0x10112d8f]
test al, al
je 0x1002a64c
xor byte [0x10112d88], 0x4c
xor byte [0x10112d89], 0x4c
xor byte [0x10112d8a], 0x4c
xor byte [0x10112d8b], 0x4c
xor byte [0x10112d8c], 0x4c
xor byte [0x10112d8d], 0x4c
xor byte [0x10112d8e], 0x4c
xor al, 0x4c
mov byte [0x10112d8f], al
sub esp, 8
mov ecx, 0x10112d88
call fcn.10011a60
add esp, 8
call fcn.10029270
mov eax, dword [0x10113544]
mov dword [ebp - 0x20], 0x29212518
mov dword [ebp - 0x1c], 0x4c2f352f
cmp eax, dword [esi + 4]
jle 0x1002a6b9
push 0x10113544
call fcn.10031abc
add esp, 4
cmp dword [0x10113544], 0xffffffff
jne 0x1002a6b9
movq xmm0, qword [ebp - 0x20]
push 0x10034860
movq qword [0x101127b8], xmm0
call fcn.10031ee1
add esp, 4
push 0x10113544
call fcn.10031a72
add esp, 4
mov al, byte [0x101127bf]
test al, al
je 0x1002a6fa
xor byte [0x101127b8], 0x4c
xor byte [0x101127b9], 0x4c
xor byte [0x101127ba], 0x4c
xor byte [0x101127bb], 0x4c
xor byte [0x101127bc], 0x4c
xor byte [0x101127bd], 0x4c
xor byte [0x101127be], 0x4c
xor al, 0x4c
mov byte [0x101127bf], al
sub esp, 8
mov ecx, 0x101127b8
call fcn.10011a60
add esp, 8
call fcn.100276d0
mov eax, dword [0x10112cf8]
mov dword [ebp - 0x20], 0x29212518
mov dword [ebp - 0x1c], 0x202f352f
mov word [ebp - 0x18], 0x4c29
cmp eax, dword [esi + 4]
jle 0x1002a777
push 0x10112cf8
call fcn.10031abc
add esp, 4
cmp dword [0x10112cf8], 0xffffffff
jne 0x1002a777
movq xmm0, qword [ebp - 0x20]
mov ax, word [ebp - 0x18]
push 0x10034840
movq qword [0x101133d0], xmm0
mov word [0x101133d8], ax
call fcn.10031ee1
add esp, 4
push 0x10112cf8
call fcn.10031a72
add esp, 4
mov al, byte [0x101133d9]
test al, al
je 0x1002a7c6
xor byte [0x101133d0], 0x4c
xor byte [0x101133d1], 0x4c
xor byte [0x101133d2], 0x4c
xor byte [0x101133d3], 0x4c
xor byte [0x101133d4], 0x4c
xor byte [0x101133d5], 0x4c
xor byte [0x101133d6], 0x4c
xor byte [0x101133d7], 0x4c
xor byte [0x101133d8], 0x4c
xor al, 0x4c
mov byte [0x101133d9], al
sub esp, 8
mov ecx, 0x101133d0
call fcn.10011a60
add esp, 8
call fcn.10027d80
mov eax, dword [0x10112e5c]
mov dword [ebp - 0x20], 0x2f3f2508
mov dword [ebp - 0x1c], 0x1e283e23
mov word [ebp - 0x18], 0xf1c
mov byte [ebp - 0x41], 0x4c
cmp eax, dword [esi + 4]
jle 0x1002a84f
push 0x10112e5c
call fcn.10031abc
add esp, 4
cmp dword [0x10112e5c], 0xffffffff
jne 0x1002a84f
mov ax, word [ebp - 0x18]
movq xmm0, qword [ebp - 0x20]
mov word [0x101127cc], ax
mov al, byte [ebp - 0x41]
push 0x10034820
movq qword [0x101127c4], xmm0
mov byte [0x101127ce], al
call fcn.10031ee1
add esp, 4
push 0x10112e5c
call fcn.10031a72
add esp, 4
cmp byte [0x101127ce], 0
je 0x1002a86d
xor eax, eax
nop word [eax + eax]
xor byte [eax + 0x101127c4], 0x4c
inc eax
cmp eax, 0xb
jb 0x1002a860
sub esp, 8
mov ecx, 0x101127c4
call fcn.10011a60
add esp, 8
call fcn.100299c0
mov eax, dword [0x10112d38]
mov dword [ebp - 0x1c], 0x2320230f
mov word [ebp - 0x18], 0x4c3e
cmp eax, dword [esi + 4]
jle 0x1002a8de
push 0x10112d38
call fcn.10031abc
add esp, 4
cmp dword [0x10112d38], 0xffffffff
jne 0x1002a8de
mov eax, dword [ebp - 0x1c]
mov dword [0x1011342c], eax
mov ax, word [ebp - 0x18]
push 0x10034810
mov word [0x10113430], ax
call fcn.10031ee1
add esp, 4
push 0x10112d38
call fcn.10031a72
add esp, 4
mov al, byte [0x10113431]
test al, al
je 0x1002a911
xor byte [0x1011342c], 0x4c
xor byte [0x1011342d], 0x4c
xor byte [0x1011342e], 0x4c
xor byte [0x1011342f], 0x4c
xor byte [0x10113430], 0x4c
xor al, 0x4c
mov byte [0x10113431], al
sub esp, 8
mov ecx, 0x1011342c
call fcn.10011a60
add esp, 8
call fcn.10029eb0
call fcn.1000fcc0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10031912
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret