Function at 0x100a1dc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a848d
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x10242040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x103357d4]
mov ebx, dword [eax + ecx*4]
mov eax, dword [0x10337d9c]
cmp eax, dword [ebx + 4]
jle 0x100a1e7c
push 0x10337d9c
call fcn.1014be59
add esp, 4
cmp dword [0x10337d9c], 0xffffffff
jne 0x100a1e7c
mov eax, dword [0x10335868]
mov edi, dword [eax + 0x30]
test edi, edi
je 0x100a1e67
mov edx, dword [edi + 0xc]
mov ecx, edx
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100a1e30
sub ecx, esi
lea esi, [ecx + 1]
mov ecx, 0x4fa38bcd
test esi, esi
je 0x100a1e60
movsx eax, byte [edx]
lea edx, [edx + 1]
xor eax, ecx
imul ecx, eax, 0xf1546419
sub esi, 1
jne 0x100a1e45
cmp ecx, 0xbc340f3b
je 0x100a1e69
mov edi, dword [edi + 4]
test edi, edi
jne 0x100a1e26
xor edi, edi
push 0x10337d9c
mov dword [0x10337da0], edi
call fcn.1014be08
add esp, 4
mov ecx, dword [0x10337da0]
mov eax, dword [ecx + 0x1c]
mov eax, dword [eax + 0x30]
xor eax, ecx
je 0x100a2368
mov ecx, dword [0x10335894]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
mov edi, eax
test edi, edi
je 0x100a2368
mov ecx, dword [edi]
push 1
mov esi, dword [ecx + 0x24]
mov ecx, edi
mov dword [ebp - 0x24], esi
call dword [ebp - 0x24]
fstp dword [ebp - 0x24]
push 0
mov ecx, edi
call esi
fadd dword [ebp - 0x24]
fstp dword [ebp - 0x1c]
call fcn.1009cbc0
mov ecx, dword [eax + 0x1c]
mov ecx, dword [ecx + 0x2c]
xor ecx, eax
mov dword [ebp - 0x24], ecx
call fcn.1009cc60
movss xmm0, dword [ebp - 0x24]
mov ecx, dword [eax + 0x1c]
mov ecx, dword [ecx + 0x2c]
xor ecx, eax
mov dword [ebp - 0x20], ecx
divss xmm0, dword [ebp - 0x20]
movss dword [ebp - 0x20], xmm0
call fcn.1009cb20
movss xmm1, dword [ebp - 0x20]
mov ecx, dword [eax + 0x1c]
mov ecx, dword [ecx + 0x2c]
xor ecx, eax
mov dword [ebp - 0x24], ecx
movss xmm0, dword [ebp - 0x24]
comiss xmm1, xmm0
ja 0x100a1f1c
movss xmm0, xmm0
jmp 0x100a1f20
movss xmm0, xmm1
mov eax, dword [0x10336270]
cmp dword [eax + 0x14], 0
movss dword [ebp - 0x20], xmm0
je 0x100a1f89
mov eax, dword [0x10335848]
cmp eax, dword [ebx + 4]
jle 0x100a1f89
push 0x10335848
call fcn.1014be59
add esp, 4
cmp dword [0x10335848], 0xffffffff
jne 0x100a1f89
push ecx
push 0x8d29f550
mov dword [ebp - 4], 0
mov ecx, dword [0x10336104]
push 0x19c23329
call fcn.100bb3f0
push 0x10335848
mov dword [0x1033584c], eax
mov dword [ebp - 4], 0xffffffff
call fcn.1014be08
add esp, 4
mov eax, dword [0x103362e0]
cmp byte [eax + 0xc], 0
je 0x100a204a
cmp dword [eax + 0x40], 0xd475c5fb
je 0x100a204a
cmp byte [eax + 0x2c], 0
je 0x100a204a
mov eax, dword [0x10337da8]
cmp eax, dword [ebx + 4]
jle 0x100a2037
push 0x10337da8
call fcn.1014be59
add esp, 4
cmp dword [0x10337da8], 0xffffffff
jne 0x100a2037
mov eax, dword [0x10335868]
mov edi, dword [eax + 0x30]
test edi, edi
je 0x100a2022
nop
mov edx, dword [edi + 0xc]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100a1fe8
sub ecx, esi
mov esi, 0x4fa38bcd
add ecx, 1
je 0x100a201b
nop dword [eax + eax]
movsx eax, byte [edx]
lea edx, [edx + 1]
xor eax, esi
imul esi, eax, 0xf1546419
sub ecx, 1
jne 0x100a2000
cmp esi, 0xb5599648
je 0x100a2024
mov edi, dword [edi + 4]
test edi, edi
jne 0x100a1fe0
xor edi, edi
push 0x10337da8
mov dword [0x10337d98], edi
call fcn.1014be08
add esp, 4
mov ecx, dword [0x10337d98]
mov eax, dword [ecx + 0x1c]
mov esi, dword [eax + 0x30]
xor esi, ecx
sub esi, 2
jmp 0x100a204c
xor esi, esi
mov eax, dword [0x10336270]
mov edi, dword [eax + 8]
mov eax, dword [0x10335ba4]
cmp eax, dword [ebx + 4]
jle 0x100a20ad
push 0x10335ba4
call fcn.1014be59
add esp, 4
cmp dword [0x10335ba4], 0xffffffff
jne 0x100a20ad
push ecx
push 0x66b5c7b9
mov dword [ebp - 4], 1
mov ecx, dword [0x10336104]
push 0x7b66d35c
call fcn.100bb3f0
push 0x10335ba4
mov dword [0x10335b90], eax
mov dword [ebp - 4], 0xffffffff
call fcn.1014be08
add esp, 4
mov eax, dword [0x10335828]
movss xmm2, dword [ebp - 0x1c]
movss xmm3, dword [0x1022c688]
mov dword [ebp - 0x24], 0
movss xmm1, dword [eax + 0x20]
mov eax, dword [0x10335b90]
mov dword [ebp - 0x18], 0x3e4ccccd
mov eax, dword [edi + eax]
sub eax, esi
mov esi, dword [0x103361fc]
dec eax
mov edi, dword [esi + 0x38]
movd xmm0, eax
mov eax, dword [0x103358d0]
cvtdq2ps xmm0, xmm0
mov esi, dword [esi + 0x34]
mov dword [ebp - 0x40], edi
mov ecx, dword [eax + 0x4d38]
mulss xmm0, xmm1
movss dword [ebp - 0x34], xmm0
movd xmm0, ecx
add ecx, 8
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
addss xmm0, xmm2
subss xmm0, xmm3
cvttss2si eax, xmm0
movaps xmm0, xmm2
divss xmm0, xmm1
mov dword [ebp - 0x3c], eax
movss xmm1, dword [ebp - 0x20]
addss xmm0, dword [0x1022c6cc]
addss xmm1, xmm2
cvttss2si eax, xmm0
xorps xmm0, xmm0
movss dword [ebp - 0x1c], xmm1
add eax, ecx
lea ecx, [ebp - 0x24]
comiss xmm1, xmm0
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x1c]
cmovae ecx, eax
lea eax, [ebp - 0x18]
comiss xmm3, xmm1
cmovae eax, ecx
movss xmm0, dword [eax]
movss dword [ebp - 0x38], xmm0
mov dword [ebp - 0x24], esi
cmp esi, edi
je 0x100a2368
lea ebx, [esi + 8]
mov dword [ebp - 0x1c], ebx
nop dword [eax]
mov ecx, dword [esi]
test ecx, ecx
je 0x100a234e
call fcn.10052f50
test al, al
jne 0x100a234e
cmp byte [ebx + 0x1d], al
je 0x100a234e
mov ecx, dword [esi]
call fcn.10052f50
mov ecx, dword [esi]
mov byte [ebp - 0xd], al
mov eax, 0x7b1d9b4f
movss xmm0, dword [ecx + 0x13c]
movss xmm3, dword [ecx + 0x140]
movss xmm7, dword [ecx + 0x138]
mov ecx, dword [ebx]
sub ecx, dword [ebx - 4]
imul ecx
movss dword [ebp - 0x14], xmm0
movss dword [ebp - 0x18], xmm3
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
dec eax
add eax, edx
mov dword [ebp - 0x28], eax
js 0x100a234e
mov eax, dword [0x10335828]
mov edi, dword [ebp - 0x28]
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], eax
nop dword [eax]
mov ecx, dword [esi]
mov eax, 0x7b1d9b4f
mov ebx, dword [esi - 4]
sub ecx, ebx
imul ecx
mov eax, dword [esi + 8]
sar edx, 0xe
add eax, edi
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
xor edx, edx
div ecx
imul ecx, edx, 0x8514
cmp byte [ebp - 0xd], 0
je 0x100a2244
mov byte [ecx + ebx + 0x3a1], 1
mov al, 1
mov byte [ecx + ebx + 0x39f], 1
jmp 0x100a2335
movss xmm1, dword [ecx + ebx + 0x384]
movss xmm2, dword [ecx + ebx + 0x388]
subss xmm1, xmm7
subss xmm2, xmm0
movss xmm0, dword [ecx + ebx + 0x38c]
subss xmm0, xmm3
mulss xmm1, xmm1
mulss xmm2, xmm2
mulss xmm0, xmm0
addss xmm2, xmm1
addss xmm2, xmm0
comiss xmm2, dword [0x1022c9cc]
jbe 0x100a2297
mov byte [ecx + ebx + 0x3a1], 0
xor al, al
jmp 0x100a2330
movss xmm4, dword [ecx + ebx + 0x14]
mov eax, dword [ebp - 0x2c]
movaps xmm0, xmm4
addss xmm0, dword [ebp - 0x20]
movss xmm3, dword [eax + 0x20]
divss xmm0, xmm3
addss xmm0, dword [0x1022c6cc]
cvttss2si eax, xmm0
cmp eax, dword [ebp - 0x30]
jle 0x100a22cc
mov byte [ecx + ebx + 0x3a1], 0
jmp 0x100a2329
movss xmm2, dword [ebp - 0x34]
movss xmm6, dword [ebp - 0x38]
subss xmm2, xmm4
movaps xmm0, xmm6
movaps xmm1, xmm2
subss xmm1, xmm3
subss xmm0, xmm1
call fcn.100151f0
movss xmm5, dword [0x1022c688]
comiss xmm5, xmm0
jbe 0x100a2313
addss xmm2, xmm3
movaps xmm0, xmm6
subss xmm0, xmm2
call fcn.100151f0
comiss xmm5, xmm0
jbe 0x100a2313
mov al, 1
jmp 0x100a2315
xor al, al
movd xmm0, dword [ebp - 0x3c]
cvtdq2ps xmm0, xmm0
mov byte [ecx + ebx + 0x3a1], al
comiss xmm0, xmm4
jb 0x100a232b
xor al, al
movss xmm3, dword [ebp - 0x18]
movss xmm0, dword [ebp - 0x14]
sub edi, 1
mov byte [ebx + ecx + 0x3a0], al
jns 0x100a2200
mov esi, dword [ebp - 0x24]
mov edi, dword [ebp - 0x40]
mov ebx, dword [ebp - 0x1c]
add esi, 0x1914
add ebx, 0x1914
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x1c], ebx
cmp esi, edi
jne 0x100a2180
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret