Function at 0x100adf00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x34
mov eax, dword [0x102060c0]
xor eax, esp
mov dword [esp + 0x30], eax
mov eax, dword [0x10223ca8]
push ebx
push esi
push edi
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
test al, al
je 0x100ae3c4
mov eax, dword [0x10223ca8]
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x6c]
call eax
test al, al
je 0x100ae3c4
mov eax, dword [0x10225524]
mov ecx, dword [eax]
test ecx, ecx
je 0x100ae3d8
mov eax, dword [ecx]
mov eax, dword [eax + 0x270]
call eax
test al, al
je 0x100ae3d8
cmp dword [0x1034c3c0], 0
je 0x100ae3d8
mov eax, dword [0x10223c9c]
mov ecx, dword [eax + 0xd0]
mov ecx, dword [ecx]
call fcn.10091740
cmp byte [eax], 0
je 0x100adfb2
mov eax, dword [0x10223c9c]
mov eax, dword [eax + 0x10]
movss xmm0, dword [eax]
mov al, 1
movss dword [0x1034c398], xmm0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.10199294
mov esp, ebp
pop ebp
ret
mov edx, dword [0x10225524]
movss xmm0, dword [0x1034ee50]
mov eax, dword [edx]
movss xmm1, dword [eax + 0x103c0]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x100adfef
movss dword [0x1034ee50], xmm1
mov dword [0x1034c3ac], 0
mov dword [0x1034c3a8], 0
mov eax, dword [0x10223ca0]
cmp byte [eax + 0x3538], 0
je case.0x100ae00d.0
mov ecx, dword [eax + 0x353c]
add eax, 0x353c
cmp ecx, 3
ja case.0x100ae00d.0
jmp dword [ecx*4 + 0x100ae3f8]
mov ecx, eax
call fcn.100ca910
mov edx, dword [0x10225524]
jmp 0x100ae026
mov al, byte [eax + 0x20]
test al, al
je case.0x100ae00d.0
mov eax, dword [0x10223c9c]
mov dword [0x1034c3c8], 0
mov dword [0x1034c3a0], 0
mov dword [0x1034c3b4], 0
mov eax, dword [eax + 0x10]
movss xmm0, dword [eax]
mov al, 1
movss dword [0x1034c398], xmm0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.10199294
mov esp, ebp
pop ebp
ret
mov ecx, dword [edx]
mov eax, dword [ecx]
mov eax, dword [eax + 0x430]
call eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10224d4c]
mov esi, dword [eax + ecx*4]
mov eax, dword [0x10351c88]
cmp eax, dword [esi + 4]
jle 0x100ae267
push 0x10351c88
call fcn.10199827
add esp, 4
cmp dword [0x10351c88], 0xffffffff
jne 0x100ae267
mov eax, dword [0x10223ca8]
xor ebx, ebx
cmp dword [0x10224d40], 2
movups xmm0, xmmword [str.F_hUXBNOO_R_10__54_____M]
mov edi, dword [eax + 8]
mov al, byte [0x101e9370]
movups xmmword [esp + 0x20], xmm0
mov byte [esp + 0x38], al
movq xmm0, qword [0x101e9368]
movq qword [esp + 0x30], xmm0
jl 0x100ae220
movaps xmm0, xmmword [0x101f7dc0]
movaps xmm4, xmmword [0x101f7c30]
movaps xmm3, xmmword [0x101f8080]
movaps xmm5, xmmword [0x101f7cb0]
movaps xmmword [esp + 0x10], xmm0
mov ecx, dword [esp + 0x10]
nop word [eax + eax]
movd xmm0, ebx
lea eax, [ebx + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101f7d70]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [esp + ebx + 0x20]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [esp + ebx + 0x20], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101f7d70]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [esp + ebx + 0x24]
xorps xmm1, xmm0
movd dword [esp + ebx + 0x24], xmm1
add ebx, 8
cmp ebx, 0x18
jl 0x100ae120
cmp ebx, 0x19
jge 0x100ae247
nop dword [eax]
mov eax, 0x4d4873ed
imul ebx
mov al, 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub al, cl
movsx eax, al
imul eax, eax, 0x35
add al, bl
xor byte [esp + ebx + 0x20], al
inc ebx
cmp ebx, 0x19
jl 0x100ae220
mov eax, dword [edi]
lea ecx, [esp + 0x20]
push ecx
mov ecx, edi
mov eax, dword [eax + 0x3c]
call eax
push 0x10351c88
mov dword [0x10351c8c], eax
call fcn.101997d6
add esp, 4
mov ecx, dword [0x10351c8c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
mov eax, dword [0x10351c94]
cmp eax, dword [esi + 4]
jle 0x100ae2a4
push 0x10351c94
call fcn.10199827
add esp, 4
cmp dword [0x10351c94], 0xffffffff
jne 0x100ae2a4
push 0x10351c94
call fcn.101997d6
add esp, 4
mov eax, dword [0x1034ee58]
cmp eax, dword [esi + 4]
jle 0x100ae2ef
push 0x1034ee58
call fcn.10199827
add esp, 4
cmp dword [0x1034ee58], 0xffffffff
jne 0x100ae2ef
mov edx, 0xc60bf9f2
mov ecx, 0x101e9339
call fcn.1007d520
mov ecx, eax
call fcn.100d0590
push 0x1034ee58
mov dword [0x1034ee54], eax
call fcn.101997d6
add esp, 4
mov eax, dword [0x1034c3ac]
cmp eax, dword [0x1034c3c0]
jl 0x100ae313
call fcn.1018d5f0
sub eax, dword [0x1034c3c0]
cmp dword [0x1034c3bc], eax
jle 0x100ae3e2
mov eax, dword [0x10223c9c]
mov eax, dword [eax + 0x10]
movss xmm1, dword [eax]
movaps xmm0, xmm1
subss xmm0, dword [0x1034c398]
comiss xmm0, dword [0x101f7630]
jbe 0x100ae3e2
subss xmm1, dword [0x1034c368]
comiss xmm1, dword [0x101f76e0]
ja 0x100ae355
cmp byte [0x1034c3b8], 0
jne 0x100ae3e2
call fcn.1018d5f0
mov ecx, dword [0x1034c3ac]
lea edx, [ecx + 1]
mov dword [0x1034c3ac], edx
cmp ecx, eax
jl 0x100ae374
call fcn.1018d5f0
mov edx, eax
mov eax, dword [0x1034c3bc]
mov dword [0x1034c3ac], edx
test eax, eax
jle 0x100ae3a3
inc dword [0x1034c3a8]
dec eax
mov dword [0x1034c3bc], eax
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.10199294
mov esp, ebp
pop ebp
ret
inc dword [0x1034c3a8]
xor eax, eax
mov dword [0x1034c3bc], eax
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.10199294
mov esp, ebp
pop ebp
ret
mov dword [0x1034c3bc], 0
mov dword [0x1034c3a8], 0
mov dword [0x1034c3ac], 0
mov ecx, dword [esp + 0x3c]
mov al, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10199294
mov esp, ebp
pop ebp
ret