Function at 0x100b7900
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x1d8
mov eax, dword [0x1020c0c0]
xor eax, esp
mov dword [esp + 0x1d4], eax
push esi
mov esi, dword [0x10229c78]
push edi
mov edi, ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], edi
cmp byte [esi + 0x1625], 0
je 0x100b7f30
xorps xmm0, xmm0
mov dword [esp + 0x50], 0
xor eax, eax
movaps xmmword [esp + 0x40], xmm0
mov dword [esp + 0x54], 7
mov word [esp + 0x40], ax
test edi, edi
je 0x100b7b5a
mov ax, word [0x101f5b54]
xor edx, edx
movq xmm0, qword [str.VSjRYUNS_]
mov word [esp + 0x38], ax
mov al, byte [0x101f5b56]
movq qword [esp + 0x30], xmm0
mov byte [esp + 0x3a], al
mov dword [esp + 0x10], edx
nop dword [eax + eax]
mov eax, 0x3521cfb3
mul edx
mov eax, dword [esp + 0x10]
sub eax, edx
shr eax, 1
add eax, edx
mov edx, dword [esp + 0x10]
shr eax, 5
mov cl, dl
movsx eax, al
imul eax, eax, 0x35
sub cl, al
add cl, 0x32
xor byte [esp + edx + 0x30], cl
inc edx
mov dword [esp + 0x10], edx
cmp edx, 0xb
jl 0x100b7990
mov eax, dword [edi]
lea ecx, [esp + 0x30]
push 0
push ecx
mov ecx, edi
mov eax, dword [eax + 0x18]
call eax
mov edx, eax
lea ecx, [esp + 0x60]
call fcn.1003ca30
lea ecx, [esp + 0x40]
call fcn.10002300
movaps xmm0, xmmword [esp + 0x60]
xor edx, edx
mov al, byte [0x101f59e4]
movaps xmmword [esp + 0x40], xmm0
movq xmm0, qword [esp + 0x70]
movq qword [esp + 0x50], xmm0
movq xmm0, qword [0x101f59dc]
movq qword [esp + 0x30], xmm0
mov byte [esp + 0x38], al
mov dword [esp + 0x10], edx
nop word [eax + eax]
mov eax, 0x3521cfb3
mul edx
mov eax, dword [esp + 0x10]
sub eax, edx
shr eax, 1
add eax, edx
mov edx, dword [esp + 0x10]
shr eax, 5
mov cl, dl
movsx eax, al
imul eax, eax, 0x35
sub cl, al
add cl, 0x32
xor byte [esp + edx + 0x30], cl
inc edx
mov dword [esp + 0x10], edx
cmp edx, 9
jl 0x100b7a20
mov eax, dword [edi]
lea ecx, [esp + 0x30]
push 0
push ecx
mov ecx, edi
mov eax, dword [eax + 0x18]
call eax
mov ecx, dword [0x10229c80]
mov dword [esp + 0x14], eax
mov edi, dword [ecx + 0x10]
mov ecx, dword [0x1022bebc]
mov esi, dword [ecx]
mov ecx, dword [esi + 8]
mov edx, dword [ecx + 0x28]
lea ecx, [esi + 8]
call edx
mov ecx, dword [edi]
mov edx, dword [ecx + 0x20]
lea ecx, [esp + 0x80]
push ecx
push eax
mov ecx, edi
call edx
or edi, 0xffffffff
test al, al
mov ecx, edi
cmovne ecx, dword [esp + 0x110]
cmp dword [esp + 0x14], ecx
jne 0x100b7ef8
mov esi, dword [esp + 0x18]
push ecx
mov dword [esp], 0
mov ecx, esi
push 0x101f3b84
mov eax, dword [esi]
mov eax, dword [eax + 0x20]
call eax
mov eax, dword [esi]
fstp st(0)
push ecx
mov dword [esp], 0
mov ecx, esi
push 0x101f3b98
mov eax, dword [eax + 0x20]
call eax
mov eax, dword [esi]
fstp st(0)
push ecx
mov dword [esp], 0
mov ecx, esi
push 0x101f3b94
mov eax, dword [eax + 0x20]
call eax
mov eax, dword [0x1022bebc]
fstp st(0)
mov ecx, dword [eax]
test ecx, ecx
je 0x100b7ef8
mov eax, dword [0x10229c80]
add ecx, 8
mov esi, dword [eax + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
mov edx, dword [esi]
lea ecx, [esp + 0x80]
push ecx
push eax
mov ecx, esi
mov edx, dword [edx + 0x20]
call edx
test al, al
cmovne edi, dword [esp + 0x110]
cmp dword [esp + 0x14], edi
jne 0x100b7ef8
mov eax, dword [0x10229c74]
mov eax, dword [eax + 0x10]
movss xmm0, dword [eax]
movss dword [0x104539d0], xmm0
jmp 0x100b7ef8
mov eax, dword [0x10229c74]
movss xmm3, dword [esi + 0x1628]
movaps xmm2, xmm3
addss xmm2, dword [0x104539d0]
mov eax, dword [eax + 0x10]
movss xmm4, dword [eax]
comiss xmm4, xmm2
ja 0x100b7ef8
subss xmm2, xmm4
mov eax, dword [0x10453c48]
movss xmm0, dword [eax + 0x54]
andps xmm2, xmmword [0x10202ae0]
mulss xmm0, dword [0x10201ff4]
divss xmm2, xmm3
movss dword [esp + 0x18], xmm0
movss xmm0, dword [eax + 0x58]
mulss xmm0, dword [0x10201ff4]
addss xmm2, dword [0x10201f20]
movss dword [esp + 0x10], xmm0
xorps xmm0, xmm0
mulss xmm2, dword [0x10202378]
addss xmm2, xmm0
cvttss2si ecx, xmm2
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x1051df4c]
divss xmm0, dword [0x10202378]
cvttss2si eax, xmm0
sub ecx, eax
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
call fcn.101c72d0
movss xmm1, dword [0x10202378]
mov edi, eax
movss xmm0, dword [esi + 0x1614]
mulss xmm0, xmm1
shl edi, 8
cvttss2si ecx, xmm0
movss xmm0, dword [esi + 0x1618]
mulss xmm0, xmm1
or edi, ecx
shl edi, 8
cvttss2si ecx, xmm0
movss xmm0, dword [esi + 0x161c]
mulss xmm0, xmm1
or edi, ecx
shl edi, 8
cvttss2si eax, xmm0
or edi, eax
mov eax, dword [esi + 0x1610]
sub eax, 0
je 0x100b7d5a
sub eax, 1
jne 0x100b7ef8
mov ecx, dword [0x10229c84]
mov ecx, dword [ecx + 0x50]
call fcn.101615a0
mov ecx, dword [0x10453c48]
lea eax, [esp + 0x24]
movss xmm3, dword [0x10202414]
push 0
push 0
movss xmm2, dword [ecx + 0x1988]
push 0x101f3b94
push ecx
mov ecx, dword [ecx + 0x1984]
mov dword [esp], 0xbf800000
push eax
call fcn.1016dac0
movss xmm0, dword [esp + 0x24]
movss xmm1, dword [esp + 0x28]
mulss xmm1, dword [0x10201ff4]
movss xmm3, dword [esp + 0x18]
addss xmm0, dword [0x10202058]
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, dword [0x10229c84]
cvtdq2ps xmm0, xmm0
mov ecx, dword [eax + 0x50]
mulss xmm0, dword [0x10201ff4]
subss xmm3, xmm0
movss xmm0, dword [esp + 0x10]
subss xmm0, xmm1
movss dword [esp + 0x24], xmm3
movss dword [esp + 0x28], xmm0
test edi, 0xff000000
je 0x100b7d50
test ecx, ecx
jne 0x100b7d13
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x2c]
mov ecx, dword [eax + 8]
push dword [esp + 0x28]
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x34]
push dword [esp + 0x28]
movss xmm2, dword [0x10202260]
push 0
movups xmm0, xmmword [eax + 0x60]
push ecx
mov dword [esp], 0
push 0x101f3b95
push 0x101f3b94
push edx
push edi
push eax
movups xmmword [esp + 0x54], xmm0
call fcn.1016dc80
call fcn.10161650
jmp 0x100b7ef8
movss xmm0, dword [esp + 0x18]
lea eax, [esp + 0x1c]
subss xmm0, dword [0x102021c0]
mov esi, dword [esp + 0x14]
push ecx
mov dword [esp], 0x3f800000
mov ecx, esi
push edi
movss dword [esp + 0x34], xmm0
movss dword [esp + 0x24], xmm0
movss xmm0, dword [esp + 0x18]
subss xmm0, dword [0x102021c0]
push eax
lea eax, [esp + 0x3c]
push eax
movss dword [esp + 0x30], xmm0
movss xmm0, dword [esp + 0x28]
subss xmm0, dword [0x102021fc]
movss dword [esp + 0x34], xmm0
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esp + 0x20]
subss xmm0, dword [0x102021fc]
movss dword [esp + 0x44], xmm0
call fcn.1016ae30
movss xmm3, dword [esp + 0x18]
lea eax, [esp + 0x30]
movaps xmm0, xmm3
addss xmm0, dword [0x102021d0]
addss xmm3, dword [0x10202200]
push ecx
mov dword [esp], 0x3f800000
mov ecx, esi
push edi
movss dword [esp + 0x1c], xmm0
movss dword [esp + 0x38], xmm0
movss xmm0, dword [esp + 0x18]
subss xmm0, dword [0x102021d0]
push eax
lea eax, [esp + 0x28]
movss dword [esp + 0x24], xmm3
push eax
movss dword [esp + 0x2c], xmm3
movss dword [esp + 0x44], xmm0
movss xmm0, dword [esp + 0x20]
subss xmm0, dword [0x10202200]
movss dword [esp + 0x30], xmm0
call fcn.1016ae30
movss xmm0, dword [esp + 0x14]
lea eax, [esp + 0x30]
movss xmm3, dword [esp + 0x18]
movss dword [esp + 0x30], xmm0
movss xmm0, dword [esp + 0x10]
addss xmm0, dword [0x102021d0]
push ecx
mov dword [esp], 0x3f800000
mov ecx, esi
push edi
push eax
movss dword [esp + 0x40], xmm0
lea eax, [esp + 0x28]
movss xmm0, dword [esp + 0x1c]
addss xmm0, dword [0x10202200]
push eax
movss dword [esp + 0x2c], xmm3
movss dword [esp + 0x30], xmm0
call fcn.1016ae30
movss xmm0, dword [esp + 0x2c]
lea eax, [esp + 0x30]
movss xmm1, dword [esp + 0x10]
movss dword [esp + 0x30], xmm0
movaps xmm0, xmm1
addss xmm0, dword [0x102021c0]
addss xmm1, dword [0x102021fc]
push ecx
mov dword [esp], 0x3f800000
push edi
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [esp + 0x2c]
movss dword [esp + 0x24], xmm0
movss dword [esp + 0x28], xmm1
push eax
lea eax, [esp + 0x28]
mov ecx, esi
push eax
call fcn.1016ae30
mov eax, dword [esp + 0x54]
cmp eax, 8
jb 0x100b7f30
mov edx, dword [esp + 0x40]
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100b7f26
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100b7f44
push ecx
push edx
call fcn.101a043c
add esp, 8
mov ecx, dword [esp + 0x1dc]
pop edi
pop esi
xor ecx, esp
call fcn.101a0143
mov esp, ebp
pop ebp
ret
call fcn.101a56c6
int3