Function at 0x100ae9c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x78
mov eax, dword [0x101f90c0]
xor eax, esp
mov dword [esp + 0x74], eax
mov eax, dword [0x10215cf4]
push esi
push edi
cmp dword [eax], 0
je 0x100aeeef
mov eax, dword [0x10214410]
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x6c]
call eax
test al, al
je 0x100aeeef
xor edx, edx
mov dword [esp + 0x10], edx
mov eax, dword [0x10214410]
push edx
mov ecx, dword [eax + 0x18]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov edi, eax
mov dword [esp + 0x14], edi
test edi, edi
je 0x100aeeda
mov edx, dword [edi + 8]
lea ecx, [edi + 8]
mov edx, dword [edx + 8]
call edx
xorps xmm0, xmm0
mov edx, dword [eax + 8]
mov ecx, edx
movaps xmmword [esp + 0x50], xmm0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
lea esi, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100aea50
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x58]
call fcn.10026930
movups xmm0, xmmword [str._ZXRUXJxSSJM__.6E]
mov ax, word [0x101df260]
mov word [esp + 0x40], ax
movups xmmword [esp + 0x30], xmm0
test ah, ah
je 0x100aebfd
xor ecx, ecx
cmp dword [0x10215510], 2
mov dword [esp + 0xc], ecx
jl 0x100aebc6
movaps xmm0, xmmword [str.4444444444444444]
lea esi, [esp + 0x34]
movaps xmm4, xmmword [0x101eb880]
movaps xmm3, xmmword [0x101ebc90]
movaps xmm5, xmmword [0x101eb910]
movaps xmmword [esp + 0x20], xmm0
mov edx, dword [esp + 0x20]
nop
movd xmm0, ecx
lea eax, [ecx + 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
paddd xmm1, xmm2
psrad xmm1, 5
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 [0x101eb990]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [esp + ecx + 0x30]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [esp + ecx + 0x30], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
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 [0x101eb990]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [esi + ecx]
xorps xmm1, xmm0
movd dword [esi + ecx], xmm1
add ecx, 8
cmp ecx, 0x10
jl 0x100aeac0
mov dword [esp + 0xc], ecx
cmp ecx, 0x12
jge 0x100aebfd
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov cl, al
shl cl, 3
sub cl, al
mov al, byte [esp + 0xc]
shl cl, 3
sub al, cl
mov ecx, dword [esp + 0xc]
add al, 0x34
xor byte [esp + ecx + 0x30], al
inc ecx
mov dword [esp + 0xc], ecx
cmp ecx, 0x12
jl 0x100aebc6
cmp dword [esp + 0x64], 0xf
lea eax, [esp + 0x50]
mov esi, dword [esp + 0x50]
lea ecx, [esp + 0x18]
cmova eax, esi
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x30]
push eax
call fcn.100b21a0
mov byte [esp + 0xb], al
mov eax, dword [esp + 0x64]
cmp eax, 0xf
jbe 0x100aec5f
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x100aec55
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100aef00
push ecx
push esi
call fcn.1018e3c3
add esp, 8
cmp byte [esp + 0xb], 0
je 0x100aeeda
mov eax, dword [0x10214408]
mov ecx, 0x83d42660
mov al, byte [eax + 0x1811]
mov byte [esp + 0xb], al
call fcn.100c68e0
mov cl, byte [esp + 0xb]
mov byte [eax + edi], cl
mov ecx, 0x79c08eea
call fcn.100c68e0
mov cl, byte [esp + 0xb]
mov byte [eax + edi], cl
mov ecx, 0x7928618b
call fcn.100c68e0
mov cl, byte [esp + 0xb]
movups xmm0, xmmword [str.Fj_XVzQ_WZ.5]
mov byte [eax + edi], cl
mov eax, dword [0x10214410]
mov esi, dword [eax + 8]
mov ax, word [0x101df1ac]
mov word [esp + 0x40], ax
movups xmmword [esp + 0x30], xmm0
test ah, ah
je 0x100aee57
xor ecx, ecx
cmp dword [0x10215510], 2
mov dword [esp + 0xc], ecx
jl 0x100aee20
movaps xmm0, xmmword [str.4444444444444444]
lea edi, [esp + 0x34]
movaps xmm4, xmmword [0x101eb880]
movaps xmm3, xmmword [0x101ebc90]
movaps xmm5, xmmword [0x101eb910]
movaps xmmword [esp + 0x20], xmm0
mov edx, dword [esp + 0x20]
nop
movd xmm0, ecx
lea eax, [ecx + 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
paddd xmm1, xmm2
psrad xmm1, 5
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 [0x101eb990]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [esp + ecx + 0x30]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [esp + ecx + 0x30], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
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 [0x101eb990]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [edi + ecx]
xorps xmm1, xmm0
movd dword [edi + ecx], xmm1
add ecx, 8
cmp ecx, 0x10
jl 0x100aed10
mov edi, dword [esp + 0x14]
mov dword [esp + 0xc], ecx
cmp ecx, 0x12
jge 0x100aee57
nop word [eax + eax]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov cl, al
shl cl, 3
sub cl, al
mov al, byte [esp + 0xc]
shl cl, 3
sub al, cl
mov ecx, dword [esp + 0xc]
add al, 0x34
xor byte [esp + ecx + 0x30], al
inc ecx
mov dword [esp + 0xc], ecx
cmp ecx, 0x12
jl 0x100aee20
mov eax, dword [esi]
lea ecx, [esp + 0x30]
push ecx
mov ecx, esi
mov eax, dword [eax + 0x3c]
call eax
mov esi, eax
mov ecx, esi
mov edx, dword [esi]
mov edx, dword [edx + 0x30]
call edx
cmp byte [esp + 0xb], 0
fstp st(0)
je 0x100aeeda
mov ecx, dword [0x10214408]
movss xmm0, dword [ecx + 0x1814]
mov ecx, 0xef3f3c0f
call fcn.100c68e0
mov ecx, 0xdd2b9801
movss dword [eax + edi], xmm0
call fcn.100c68e0
mov ecx, 0x468b5638
movss dword [eax + edi], xmm0
call fcn.100c68e0
mov ecx, dword [0x10214408]
mov ecx, dword [ecx + 0x181c]
mov dword [eax + edi], ecx
mov eax, dword [0x10214408]
mov edx, dword [esi]
push ecx
mov ecx, esi
movss xmm0, dword [eax + 0x1818]
mov eax, dword [edx + 0x3c]
movss dword [esp], xmm0
call eax
mov edx, dword [esp + 0x10]
inc edx
mov dword [esp + 0x10], edx
cmp edx, 0x800
jl 0x100aea01
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
xor ecx, esp
call fcn.1018e0ca
mov esp, ebp
pop ebp
ret
call fcn.101934f6
int3