Function at 0x10113a20
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x104
mov eax, dword [0x1020a0c0]
xor eax, esp
mov dword [esp + 0xfc], eax
mov eax, dword [0x10227c40]
push ebx
push ebp
push esi
cmp byte [eax + 0x37e8], 0
push edi
mov dword [esp + 0x20], ecx
je 0x10113fa8
mov eax, dword [0x10229e7c]
mov ecx, dword [eax]
test ecx, ecx
je 0x10113fa8
mov eax, dword [ecx]
mov eax, dword [eax + 0x270]
call eax
test al, al
je 0x10113fa8
mov eax, dword [0x10227c48]
lea edx, [esp + 0x40]
push edx
lea edx, [esp + 0x20]
push edx
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
movd xmm0, dword [esp + 0x40]
lea ecx, [esp + 0x78]
mov eax, dword [0x10227c40]
mov edx, 6
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [eax + 0x37ec]
movss dword [esp + 0x44], xmm0
nop dword [eax]
lea ecx, [ecx + 0x18]
xorps xmm0, xmm0
movups xmmword [ecx - 0x18], xmm0
mov dword [ecx - 8], 0
mov dword [ecx - 4], 0xf
mov byte [ecx - 0x18], 0
sub edx, 1
jne 0x10113ab0
cmp byte [eax + 0x37f0], dl
je 0x10113b00
lea esi, [esp + 0x78]
lea ebx, [edx + 3]
mov edi, 2
push 1
push 0x101f68f0
mov ecx, esi
call fcn.10022990
add esi, 0x18
sub edi, 1
jne 0x10113ae5
sub ebx, 1
jne 0x10113ae0
mov eax, dword [0x104e1f28]
test al, 4
je 0x10113b68
mov ax, word [0x101f74c0]
mov word [esp + 0x14], ax
test ah, ah
je 0x10113b41
xor ebx, ebx
nop word [eax + eax]
mov eax, 0x8d3dcb09
mov cl, bl
mul ebx
shr edx, 5
movsx eax, dl
imul eax, eax, 0x3a
sub cl, al
add cl, 0x39
xor byte [esp + ebx + 0x14], cl
inc ebx
cmp ebx, 2
jl 0x10113b20
lea ecx, [esp + 0x14]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10113b48
sub ecx, edx
lea eax, [esp + 0x14]
push ecx
push eax
lea ecx, [esp + 0x80]
call fcn.10022990
mov eax, dword [0x104e1f28]
test al, 8
je 0x10113b97
cmp dword [0x10228984], 0x10
lea ecx, [esp + 0xa8]
push dword [0x10228980]
mov eax, 0x10228970
cmovae eax, dword [0x10228970]
push eax
call fcn.10022990
mov eax, dword [0x104e1f28]
test al, 2
je 0x10113bf8
mov ax, word [0x101f6cf8]
mov word [esp + 0x14], ax
test ah, ah
je 0x10113bd1
xor ebx, ebx
nop dword [eax]
mov eax, 0x8d3dcb09
mov cl, bl
mul ebx
shr edx, 5
movsx eax, dl
imul eax, eax, 0x3a
sub cl, al
add cl, 0x39
xor byte [esp + ebx + 0x14], cl
inc ebx
cmp ebx, 2
jl 0x10113bb0
lea ecx, [esp + 0x14]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10113bd8
sub ecx, edx
lea eax, [esp + 0x14]
push ecx
push eax
lea ecx, [esp + 0xe0]
call fcn.10022990
mov eax, dword [0x104e1f28]
test eax, 0x200
je 0x10113c2a
cmp dword [0x1022896c], 0x10
lea ecx, [esp + 0x90]
push dword [0x10228968]
mov eax, 0x10228958
cmovae eax, dword [0x10228958]
push eax
call fcn.10022990
mov eax, dword [0x104e1f28]
test al, 0x10
je 0x10113c59
cmp dword [0x1022893c], 0x10
lea ecx, [esp + 0xc0]
push dword [0x10228938]
mov eax, 0x10228928
cmovae eax, dword [0x10228928]
push eax
call fcn.10022990
mov eax, dword [0x104e1f28]
test eax, 0x400
je 0x10113c86
cmp dword [0x10228954], 0x10
lea ecx, [esp + 0xf0]
push dword [0x10228950]
mov eax, 0x10228940
cmovae eax, dword [0x10228940]
push eax
call fcn.10022990
mov ecx, dword [0x10227c4c]
mov dword [esp + 0x6c], 0xc20c0000
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0x420c0000
mov ecx, dword [ecx + 0x1c]
call fcn.1015e570
lea eax, [esp + 0x6c]
mov dword [esp + 0x24], 3
lea esi, [esp + 0x78]
mov dword [esp + 0x14], eax
xor ebp, ebp
mov edi, dword [esi + 0x14]
mov ecx, esi
cmp edi, 0x10
jb 0x10113cce
mov ecx, dword [esi]
mov edx, dword [esi + 0x10]
push 0
push 0x101d6e4f
call fcn.1002f360
test al, al
jne 0x10113f27
mov eax, esi
cmp edi, 0x10
jb 0x10113cee
mov eax, dword [esi]
mov ecx, dword [0x104e2068]
movss xmm2, dword [ecx + 0x1988]
test eax, eax
jne 0x10113d05
xorps xmm1, xmm1
jmp 0x10113d49
movss xmm3, dword [0x101ff4f4]
push 0
push 0
push eax
push ecx
mov ecx, dword [ecx + 0x1984]
lea eax, [esp + 0x64]
mov dword [esp], 0xbf800000
push eax
call fcn.1016aa90
movss xmm0, dword [esp + 0x54]
addss xmm0, dword [0x101ff138]
cvttss2si eax, xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movss dword [esp + 0x54], xmm1
cmp dword [esi + 0x14], 0x10
mov edi, esi
movss dword [esp + 0x18], xmm1
jb 0x10113d59
mov edi, dword [esi]
mov eax, dword [0x10227c40]
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
xor dl, dl
mov dword [esp + 0x48], 0
movss xmm0, dword [eax + 0x37fd]
movss dword [esp + 0x4c], xmm0
movups xmm0, xmmword [esp + 0x40]
mov dword [esp + 0x50], 0x3f19999a
mov eax, dword [esp + 0x50]
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], eax
mov byte [ecx + 0x14], dl
call fcn.100bd7c0
movd xmm0, dword [esp + 0x1c]
mov ebx, eax
movss xmm1, dword [esp + 0x18]
mulss xmm1, dword [0x101ff0d4]
mov eax, dword [esp + 0x14]
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x18], xmm1
mulss xmm0, dword [0x101ff0d4]
subss xmm0, xmm1
addss xmm0, dword [eax]
addss xmm0, dword [0x101ff140]
movss dword [esp + 0x5c], xmm0
movd xmm0, ebp
cvtdq2ps xmm0, xmm0
addss xmm0, dword [esp + 0x44]
movss dword [esp + 0x48], xmm0
addss xmm0, dword [0x101ff140]
movss dword [esp + 0x60], xmm0
test ebx, 0xff000000
je 0x10113e67
mov ecx, edi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10113e20
sub ecx, edx
add ecx, edi
cmp edi, ecx
je 0x10113e67
push dword [esp + 0x60]
mov edx, dword [esp + 0x24]
push dword [esp + 0x60]
push 0
mov eax, dword [edx + 0x2c]
movups xmm0, xmmword [edx + 0x60]
push ecx
mov dword [esp], 0
movss xmm2, dword [eax + 0xc]
push ecx
push edi
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [eax + 8]
push ebx
push edx
movups xmmword [esp + 0x4c], xmm0
call fcn.1016ac50
cmp dword [esi + 0x14], 0x10
mov edi, esi
jb 0x10113e71
mov edi, dword [esi]
mov edx, dword [0x10227c40]
sub esp, 0x18
mov ecx, esp
movups xmm0, xmmword [edx + 0x37f1]
mov eax, dword [edx + 0x3801]
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], eax
mov al, byte [edx + 0x3805]
mov byte [ecx + 0x14], al
call fcn.100bd7c0
movd xmm0, dword [esp + 0x1c]
mov ebx, eax
mov eax, dword [esp + 0x14]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x101ff0d4]
subss xmm0, dword [esp + 0x18]
addss xmm0, dword [eax]
movss dword [esp + 0x64], xmm0
movss xmm0, dword [esp + 0x48]
movss dword [esp + 0x68], xmm0
test ebx, 0xff000000
je 0x10113f2b
mov ecx, edi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10113ee0
sub ecx, edx
add ecx, edi
cmp edi, ecx
je 0x10113f27
push dword [esp + 0x68]
mov edx, dword [esp + 0x24]
push dword [esp + 0x68]
push 0
mov eax, dword [edx + 0x2c]
movups xmm0, xmmword [edx + 0x60]
push ecx
mov dword [esp], 0
movss xmm2, dword [eax + 0xc]
push ecx
push edi
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [eax + 8]
push ebx
push edx
movups xmmword [esp + 0x4c], xmm0
call fcn.1016ac50
mov eax, dword [esp + 0x14]
add ebp, 0x19
add esi, 0x18
cmp ebp, 0x32
jl 0x10113cc2
add eax, 4
sub dword [esp + 0x24], 1
mov dword [esp + 0x14], eax
jne 0x10113cc0
call fcn.1015e620
mov edi, 6
lea esi, [esp + 0x108]
nop dword [eax]
mov ecx, dword [esi - 4]
lea esi, [esi - 0x18]
dec edi
cmp ecx, 0x10
jb 0x10113f93
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x10113f89
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10113fc1
mov eax, edx
push ecx
push eax
call fcn.1019d45c
add esp, 8
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
test edi, edi
jne 0x10113f60
mov ecx, dword [esp + 0x10c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1019d163
add esp, 0x104
ret
call fcn.101a26e6
int3