Function at 0x100b0440
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x34
mov eax, dword [0x1020c0c0]
xor eax, esp
mov dword [esp + 0x30], eax
mov eax, dword [0x10229c80]
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 0x100b091b
mov eax, dword [0x10229c80]
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x6c]
call eax
test al, al
je 0x100b091b
mov eax, dword [0x1022bebc]
mov ecx, dword [eax]
test ecx, ecx
je 0x100b092f
mov eax, dword [ecx]
mov eax, dword [eax + 0x270]
call eax
test al, al
je 0x100b092f
cmp dword [0x104538ac], 0
je 0x100b092f
mov eax, dword [0x10229c74]
mov ecx, dword [eax + 0xd0]
mov ecx, dword [ecx]
call fcn.100928b0
cmp byte [eax], 0
je 0x100b04f2
mov eax, dword [0x10229c74]
mov eax, dword [eax + 0x10]
movss xmm0, dword [eax]
mov al, 1
movss dword [0x10453884], xmm0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.101a0143
mov esp, ebp
pop ebp
ret
mov edx, dword [0x1022bebc]
movss xmm0, dword [0x104539ac]
mov eax, dword [edx]
movss xmm1, dword [eax + 0x103c0]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x100b052f
movss dword [0x104539ac], xmm1
mov dword [0x10453898], 0
mov dword [0x10453894], 0
mov eax, dword [0x10229c78]
cmp byte [eax + 0x3538], 0
je case.0x100b054d.0
mov ecx, dword [eax + 0x353c]
add eax, 0x353c
cmp ecx, 3
ja case.0x100b054d.0
jmp dword [ecx*4 + 0x100b0950]
mov ecx, eax
call fcn.100cceb0
mov edx, dword [0x1022bebc]
jmp 0x100b0566
mov al, byte [eax + 0x20]
test al, al
je case.0x100b054d.0
mov eax, dword [0x10229c74]
mov dword [0x104538b4], 0
mov dword [0x1045388c], 0
mov dword [0x104538a0], 0
mov eax, dword [eax + 0x10]
movss xmm0, dword [eax]
mov al, 1
movss dword [0x10453884], xmm0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.101a0143
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 [0x1022b6ec]
mov esi, dword [eax + ecx*4]
mov eax, dword [0x1051e574]
cmp eax, dword [esi + 4]
jle 0x100b07be
push 0x1051e574
call fcn.101a0794
add esp, 4
cmp dword [0x1051e574], 0xffffffff
jne 0x100b07be
mov eax, dword [0x10229c80]
xor ebx, ebx
cmp dword [0x1022b6e0], 2
movups xmm0, xmmword [str.DNfWZDHMM_36___:___O]
mov edi, dword [eax + 8]
mov al, byte [0x101f3c38]
movups xmmword [esp + 0x20], xmm0
mov byte [esp + 0x38], al
movq xmm0, qword [0x101f3c30]
movq qword [esp + 0x30], xmm0
jl 0x100b0774
movaps xmm0, xmmword [0x10202740]
mov eax, 5
movaps xmm4, xmmword [0x102025e0]
movaps xmm3, xmmword [0x10202b20]
movaps xmm6, xmmword [0x10202690]
movd xmm5, eax
mov eax, 0x1f
movaps xmmword [esp + 0x10], xmm0
mov ecx, dword [esp + 0x10]
movd xmm7, eax
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
paddd xmm1, xmm2
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x10202710]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [esp + ebx + 0x20]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [esp + ebx + 0x20], 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, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x10202710]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [esp + ebx + 0x24]
pxor xmm1, xmm0
movd dword [esp + ebx + 0x24], xmm1
add ebx, 8
cmp ebx, 0x18
jl 0x100b0670
cmp ebx, 0x19
jge 0x100b079e
mov eax, 0x8d3dcb09
mov cl, bl
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx eax, al
imul eax, eax, 0x3a
sub cl, al
add cl, 0x37
xor byte [esp + ebx + 0x20], cl
inc ebx
cmp ebx, 0x19
jl 0x100b0774
mov eax, dword [edi]
lea ecx, [esp + 0x20]
push ecx
mov ecx, edi
mov eax, dword [eax + 0x3c]
call eax
push 0x1051e574
mov dword [0x1051e578], eax
call fcn.101a074a
add esp, 4
mov ecx, dword [0x1051e578]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
mov eax, dword [0x1051e580]
cmp eax, dword [esi + 4]
jle 0x100b07fb
push 0x1051e580
call fcn.101a0794
add esp, 4
cmp dword [0x1051e580], 0xffffffff
jne 0x100b07fb
push 0x1051e580
call fcn.101a074a
add esp, 4
mov eax, dword [0x104539b4]
cmp eax, dword [esi + 4]
jle 0x100b0846
push 0x104539b4
call fcn.101a0794
add esp, 4
cmp dword [0x104539b4], 0xffffffff
jne 0x100b0846
mov edx, 0xc60bf9f2
mov ecx, 0x101f3c01
call fcn.1007e710
mov ecx, eax
call fcn.100d2ad0
push 0x104539b4
mov dword [0x104539b0], eax
call fcn.101a074a
add esp, 4
mov eax, dword [0x10453898]
cmp eax, dword [0x104538ac]
jl 0x100b086a
call fcn.10194270
sub eax, dword [0x104538ac]
cmp dword [0x104538a8], eax
jle 0x100b0939
mov eax, dword [0x10229c74]
mov eax, dword [eax + 0x10]
movss xmm1, dword [eax]
movaps xmm0, xmm1
subss xmm0, dword [0x10453884]
comiss xmm0, dword [0x10201fb0]
jbe 0x100b0939
subss xmm1, dword [0x10453850]
comiss xmm1, dword [0x10202060]
ja 0x100b08ac
cmp byte [0x104538a4], 0
jne 0x100b0939
call fcn.10194270
mov ecx, dword [0x10453898]
lea edx, [ecx + 1]
mov dword [0x10453898], edx
cmp ecx, eax
jl 0x100b08cb
call fcn.10194270
mov edx, eax
mov eax, dword [0x104538a8]
mov dword [0x10453898], edx
test eax, eax
jle 0x100b08fa
inc dword [0x10453894]
dec eax
mov dword [0x104538a8], eax
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.101a0143
mov esp, ebp
pop ebp
ret
inc dword [0x10453894]
xor eax, eax
mov dword [0x104538a8], eax
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.101a0143
mov esp, ebp
pop ebp
ret
mov dword [0x104538a8], 0
mov dword [0x10453894], 0
mov dword [0x10453898], 0
mov ecx, dword [esp + 0x3c]
mov al, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.101a0143
mov esp, ebp
pop ebp
ret