Function at 0x10029270
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
sub esp, 0x40
mov eax, dword [0x1003f00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x1003f8dc]
movaps xmm0, xmmword [0x1003bff0]
push esi
push edi
mov edi, dword fs:[0x2c]
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x1c], 0x6ccbf4ac
movaps xmm0, xmmword [0x1003c000]
mov esi, dword [edi + eax*4]
mov eax, dword [0x101131f8]
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 0x4c3f3c0a
cmp eax, dword [esi + 4]
jle 0x10029318
push 0x101131f8
call fcn.10031abc
add esp, 4
cmp dword [0x101131f8], 0xffffffff
jne 0x10029318
push 0x28
lea eax, [ebp - 0x3c]
push eax
push 0x101131ac
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push 0x100346b0
call fcn.10031ee1
add esp, 4
push 0x101131f8
call fcn.10031a72
add esp, 4
cmp byte [0x101131d3], 0
je 0x1002935f
movaps xmm2, xmmword [0x1003be00]
xor eax, eax
nop word [eax + eax]
movups xmm0, xmmword [eax + 0x101131ac]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [eax + 0x101131ac], xmm1
add eax, 0x10
cmp eax, 0x20
jb 0x10029330
cmp eax, 0x28
jae 0x1002935f
xor byte [eax + 0x101131ac], 0x4c
inc eax
cmp eax, 0x28
jb 0x10029352
mov edx, 0x1003f077
mov ecx, 0x101131ac
call fcn.10012cf0
movaps xmm0, xmmword [0x1003bff0]
mov eax, dword [0x101130e4]
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x1c], 0x6ccbf4ac
movaps xmm0, xmmword [0x1003c000]
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 0x23212901
mov word [ebp - 0x14], 0x353e
mov byte [ebp - 0x12], 0x4c
cmp eax, dword [esi + 4]
jle 0x100293ec
push 0x101130e4
call fcn.10031abc
add esp, 4
cmp dword [0x101130e4], 0xffffffff
jne 0x100293ec
push 0x2b
lea eax, [ebp - 0x3c]
push eax
push 0x101135c8
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push 0x10034680
call fcn.10031ee1
add esp, 4
push 0x101130e4
call fcn.10031a72
add esp, 4
cmp byte [0x101135f2], 0
je 0x1002942f
movaps xmm2, xmmword [0x1003be00]
xor eax, eax
nop
movups xmm0, xmmword [eax + 0x101135c8]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [eax + 0x101135c8], xmm1
add eax, 0x10
cmp eax, 0x20
jb 0x10029400
cmp eax, 0x2b
jae 0x1002942f
xor byte [eax + 0x101135c8], 0x4c
inc eax
cmp eax, 0x2b
jb 0x10029422
mov edx, 0x1003f075
mov ecx, 0x101135c8
call fcn.10012cf0
movaps xmm0, xmmword [0x1003bff0]
mov eax, dword [0x101127c0]
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x18], 0x2839046c
movaps xmm0, xmmword [0x1003b940]
movups xmmword [ebp - 0x28], xmm0
mov byte [ebp - 0x14], 0x4c
cmp eax, dword [esi + 4]
jle 0x100294af
push 0x101127c0
call fcn.10031abc
add esp, 4
cmp dword [0x101127c0], 0xffffffff
jne 0x100294af
push 0x25
lea eax, [ebp - 0x38]
push eax
push 0x10112bcc
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push 0x10034650
call fcn.10031ee1
add esp, 4
push 0x101127c0
call fcn.10031a72
add esp, 4
cmp byte [0x10112bf0], 0
je 0x100294f0
movaps xmm2, xmmword [0x1003be00]
xor eax, eax
movups xmm0, xmmword [eax + 0x10112bcc]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [eax + 0x10112bcc], xmm1
add eax, 0x10
cmp eax, 0x20
jb 0x100294c1
cmp eax, 0x25
jae 0x100294f0
xor byte [eax + 0x10112bcc], 0x4c
inc eax
cmp eax, 0x25
jb 0x100294e3
mov edx, 0x1003f076
mov ecx, 0x10112bcc
call fcn.10012cf0
movaps xmm0, xmmword [0x1003bff0]
mov eax, dword [0x101134fc]
movups xmmword [ebp - 0x34], xmm0
mov word [ebp - 0x14], 0x4c27
movaps xmm0, xmmword [0x1003b9b0]
movups xmmword [ebp - 0x24], xmm0
cmp eax, dword [esi + 4]
jle 0x1002956b
push 0x101134fc
call fcn.10031abc
add esp, 4
cmp dword [0x101134fc], 0xffffffff
jne 0x1002956b
push 0x22
lea eax, [ebp - 0x34]
push eax
push 0x10113448
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push 0x10034630
call fcn.10031ee1
add esp, 4
push 0x101134fc
call fcn.10031a72
add esp, 4
cmp byte [0x10113469], 0
je 0x100295af
movaps xmm2, xmmword [0x1003be00]
xor eax, eax
nop dword [eax]
movups xmm0, xmmword [eax + 0x10113448]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [eax + 0x10113448], xmm1
add eax, 0x10
cmp eax, 0x20
jb 0x10029580
cmp eax, 0x22
jae 0x100295af
xor byte [eax + 0x10113448], 0x4c
inc eax
cmp eax, 0x22
jb 0x100295a2
mov edx, 0x1003f074
mov ecx, 0x10113448
call fcn.10012cf0
movaps xmm0, xmmword [0x1003bf60]
mov eax, dword [0x101128ac]
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x20], 0xf4acc4f5
mov dword [ebp - 0x1c], 0x271f6cfe
mov dword [ebp - 0x18], 0x34250a35
mov byte [ebp - 0x14], 0x4c
cmp eax, dword [esi + 4]
jle 0x10029632
push 0x101128ac
call fcn.10031abc
add esp, 4
cmp dword [0x101128ac], 0xffffffff
jne 0x10029632
push 0x1d
lea eax, [ebp - 0x30]
push eax
push 0x10112e70
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push 0x10034600
call fcn.10031ee1
add esp, 4
push 0x101128ac
call fcn.10031a72
add esp, 4
cmp byte [0x10112e8c], 0
je 0x1002966d
movups xmm0, xmmword [0x10112e70]
mov eax, 0x10
movaps xmm1, xmmword [0x1003be00]
pxor xmm1, xmm0
movups xmmword [0x10112e70], xmm1
nop dword [eax]
xor byte [eax + 0x10112e70], 0x4c
inc eax
cmp eax, 0x1d
jb 0x10029660
mov edx, 0x100413e8
mov ecx, 0x10112e70
call fcn.10012cf0
mov ecx, dword [0x1003f068]
xorps xmm2, xmm2
movss xmm0, dword [0x1003b558]
mov eax, dword [ecx + 0x1730]
mov byte [eax + 0x72], 1
mov ecx, dword [ecx + 0x1730]
cmp byte [ecx + 0x74], 0
jne 0x100296e5
movss xmm1, dword [ecx + 0x14]
subss xmm1, dword [ecx + 0x48]
addss xmm1, xmm0
movss xmm0, dword [ecx + 0xb0]
addss xmm1, xmm2
movss dword [ecx + 0xa4], xmm1
movss dword [ecx + 0xa8], xmm0
mov eax, dword [ecx + 0xdc]
mov dword [ecx + 0xd4], eax
mov eax, dword [ecx + 0xe0]
mov dword [ecx + 0xd8], eax
movss xmm0, dword [0x1003b53c]
call fcn.10010510
mov esi, dword [0x1003f8dc]
mov eax, dword [0x10112fd4]
mov dword [ebp - 0x10], 0x1003b29c
mov dword [ebp - 0xc], str._1
mov esi, dword [edi + esi*4]
cmp eax, dword [esi + 4]
jle 0x10029754
push 0x10112fd4
call fcn.10031abc
add esp, 4
cmp dword [0x10112fd4], 0xffffffff
jne 0x10029754
movaps xmm0, xmmword [0x1003bdd0]
push 0x100345f0
movups xmmword [0x10113154], xmm0
call fcn.10031ee1
add esp, 4
push 0x10112fd4
call fcn.10031a72
add esp, 4
cmp byte [0x10113163], 0
je 0x10029776
movups xmm0, xmmword [0x10113154]
movaps xmm1, xmmword [0x1003be00]
pxor xmm1, xmm0
movups xmmword [0x10113154], xmm1
sub esp, 8
lea eax, [ebp - 0x10]
push eax
push ecx
mov ecx, 0x10113154
call fcn.10016850
movaps xmm0, xmmword [0x1003bf60]
add esp, 0x10
mov eax, dword [0x101127d0]
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0xf4acc4f5
mov dword [ebp - 0x18], 0x230a6cfe
mov word [ebp - 0x14], 0x4c3a
cmp eax, dword [esi + 4]
jle 0x100297fa
push 0x101127d0
call fcn.10031abc
add esp, 4
cmp dword [0x101127d0], 0xffffffff
jne 0x100297fa
push 0x1a
lea eax, [ebp - 0x2c]
push eax
push 0x10113324
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push 0x100345d0
call fcn.10031ee1
add esp, 4
push 0x101127d0
call fcn.10031a72
add esp, 4
cmp byte [0x1011333d], 0
je 0x1002982e
movups xmm0, xmmword [0x10113324]
mov eax, 0x10
movaps xmm1, xmmword [0x1003be00]
pxor xmm1, xmm0
movups xmmword [0x10113324], xmm1
xor byte [eax + 0x10113324], 0x4c
inc eax
cmp eax, 0x1a
jb 0x10029821
mov edx, 0x100413e9
mov ecx, 0x10113324
call fcn.10012cf0
mov ecx, dword [0x1003f068]
mov eax, dword [ecx + 0x1730]
mov byte [eax + 0x72], 1
mov ecx, dword [ecx + 0x1730]
cmp byte [ecx + 0x74], 0
jne 0x100298a3
movss xmm2, dword [ecx + 0x14]
subss xmm2, dword [ecx + 0x48]
movss xmm1, dword [ecx + 0xb0]
addss xmm2, dword [0x1003b558]
addss xmm2, dword [0x1003b444]
movss dword [ecx + 0xa4], xmm2
movss dword [ecx + 0xa8], xmm1
mov eax, dword [ecx + 0xdc]
mov dword [ecx + 0xd4], eax
mov eax, dword [ecx + 0xe0]
mov dword [ecx + 0xd8], eax
movss xmm0, dword [0x1003b53c]
call fcn.10010510
mov eax, dword [0x1003f8dc]
mov dword [ebp - 0x10], 0x291f6f6f
mov dword [ebp - 0xc], 0x3a230a38
mov byte [ebp - 0x3d], 0x4c
mov ecx, dword [edi + eax*4]
mov eax, dword [0x10113228]
cmp eax, dword [ecx + 4]
jle 0x1002991c
push 0x10113228
call fcn.10031abc
add esp, 4
cmp dword [0x10113228], 0xffffffff
jne 0x1002991c
movq xmm0, qword [ebp - 0x10]
mov al, byte [ebp - 0x3d]
push 0x100345b0
movq qword [0x10112930], xmm0
mov byte [0x10112938], al
call fcn.10031ee1
add esp, 4
push 0x10113228
call fcn.10031a72
add esp, 4
mov al, byte [0x10112938]
test al, al
je 0x10029964
xor byte [0x10112930], 0x4c
xor byte [0x10112931], 0x4c
xor byte [0x10112932], 0x4c
xor byte [0x10112933], 0x4c
xor byte [0x10112934], 0x4c
xor byte [0x10112935], 0x4c
xor byte [0x10112936], 0x4c
xor byte [0x10112937], 0x4c
xor al, 0x4c
mov byte [0x10112938], al
movd xmm0, dword [0x1003f070]
lea edx, [ebp - 0xc]
movss xmm3, dword [0x1003b544]
movss xmm2, dword [0x1003b4a8]
cvtdq2ps xmm0, xmm0
push ecx
mov dword [esp], 0x3f800000
mov ecx, 0x10112930
push str._.0f
movss dword [ebp - 0xc], xmm0
call fcn.10012860
cvttss2si eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
pop edi
pop esi
mov dword [0x1003f070], eax
call fcn.10031912
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret