Function at 0x10094080
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x148
mov eax, dword [0x1010b570]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x1011a68c]
push esi
mov esi, dword [ebx + 8]
mov dword [ebp - 0xf4], eax
push edi
mov dword [ebp - 0xec], esi
mov al, byte [esi + 0x1b2]
mov edi, dword [esi + 0x178]
mov byte [ebp - 0xd1], al
mov al, byte [esi + 0x1b4]
mov byte [ebp - 0xd2], al
xor eax, eax
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xd8], edi
lea ecx, [eax + 4]
lea eax, [ebp - 0xa4]
nop dword [eax]
nop word [eax + eax]
mov dword [eax - 4], 0
xorps xmm0, xmm0
mov dword [eax], 0
lea eax, [eax + 0x28]
mov dword [eax - 0x24], 0
mov dword [eax - 0x20], 0
movups xmmword [eax - 0x18], xmm0
mov dword [eax - 8], 0
mov dword [eax - 0x1c], 0
sub ecx, 1
jne 0x10094100
xor eax, eax
mov dword [ebp - 0x100], eax
cmp dword [esi + 0x54], eax
jle 0x10094862
mov dword [ebp - 0xf0], eax
nop
xor edx, edx
xor ecx, ecx
bts edx, eax
cmp eax, 0x20
cmovae ecx, edx
xor edx, ecx
cmp eax, 0x40
cmovae ecx, edx
and edx, dword [esi + 0x38]
and ecx, dword [esi + 0x3c]
or edx, ecx
je 0x1009436a
mov esi, dword [esi + 0x10]
xor eax, eax
add esi, dword [ebp - 0xf0]
cmp byte [ebp - 0xd1], al
mov dword [ebp - 0x114], esi
setg al
inc eax
xor ecx, ecx
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0xe0], ecx
nop dword [eax]
test ecx, ecx
jne 0x100941a9
mov al, byte [esi + 0x58]
jmp 0x100941ac
mov al, byte [esi + 0x59]
mov edx, dword [edi + 0x10]
movzx eax, al
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xdc], edx
lea eax, [eax + eax*2]
mov edx, dword [edx + eax*8]
mov edi, edx
mov dword [ebp - 0xf8], eax
test edx, edx
jle 0x100941fc
mov ecx, dword [ebp - 0xdc]
mov eax, dword [ecx + eax*8 + 8]
lea ecx, [edx + edx*4]
cmp dword [eax + ecx*8 - 0xc], 0
jne 0x100941f6
mov eax, dword [ebp - 0xf8]
lea edi, [edx - 1]
mov ecx, dword [ebp - 0xdc]
mov dword [ecx + eax*8], edi
mov ecx, dword [ebp - 0xe0]
cmp edi, 1
jne 0x10094347
test dword [esi], 0x100
jne 0x10094241
cmp byte [ebp - 0xd1], 0
jg 0x10094222
movss xmm0, dword [esi + 0x44]
maxss xmm0, dword [esi + 0x48]
jmp 0x10094237
test ecx, ecx
jne 0x10094232
movss xmm0, dword [esi + 0x40]
maxss xmm0, dword [esi + 0x48]
jmp 0x10094237
movss xmm0, dword [esi + 0x44]
comiss xmm0, dword [esi + 0x28]
ja 0x10094347
cmp byte [ebp - 0xd2], 0
jle 0x10094263
mov eax, dword [ebp - 0xec]
movsx eax, byte [eax + 0x1b4]
cmp dword [ebp - 0x100], eax
jge 0x10094263
xor edx, edx
jmp 0x10094268
mov edx, 1
cmp byte [ebp - 0xd1], 0
jle 0x10094279
test ecx, ecx
jne 0x10094279
xor eax, eax
jmp 0x1009427e
mov eax, 2
lea edi, [eax + edx]
lea eax, [edi + edi*4]
lea edx, [ebp - 0xa8]
cmp dword [edx + eax*8 + 0x10], 0
lea edx, [edx + eax*8]
jne 0x100942af
mov dword [edx], 0x7f7fffff
mov dword [edx + 4], 0x7f7fffff
mov dword [edx + 8], 0xff7fffff
mov dword [edx + 0xc], 0xff7fffff
mov eax, dword [ebp - 0xe8]
mov ecx, eax
shr ecx, 5
and eax, 0x1f
mov dword [ebp - 0xe8], eax
mov esi, dword [ebp - 0xe8]
mov eax, dword [edx + ecx*4 + 0x14]
bts eax, esi
mov esi, dword [ebp - 0x114]
mov dword [edx + ecx*4 + 0x14], eax
inc dword [edx + 0x10]
mov eax, dword [ebp - 0xf8]
mov ecx, dword [ebp - 0xdc]
movss xmm0, dword [edx]
mov eax, dword [ecx + eax*8 + 8]
movss xmm4, dword [eax]
comiss xmm0, xmm4
movss xmm1, dword [eax + 4]
movss xmm2, dword [eax + 8]
movss xmm3, dword [eax + 0xc]
jbe 0x1009430d
movss dword [edx], xmm4
movss xmm0, dword [edx + 4]
comiss xmm0, xmm1
jbe 0x1009431c
movss dword [edx + 4], xmm1
comiss xmm2, dword [edx + 8]
jbe 0x10094327
movss dword [edx + 8], xmm2
comiss xmm3, dword [edx + 0xc]
jbe 0x10094332
movss dword [edx + 0xc], xmm3
mov eax, dword [ebp - 0xe4]
mov ecx, dword [ebp - 0xe0]
bts eax, edi
mov dword [ebp - 0xe4], eax
mov edi, dword [ebp - 0xd8]
inc ecx
mov dword [ebp - 0xe0], ecx
cmp ecx, dword [ebp - 0xfc]
jl 0x100941a0
mov byte [esi + 0x57], 0xff
mov esi, dword [ebp - 0xec]
mov eax, dword [ebp - 0x100]
add dword [ebp - 0xf0], 0x68
inc eax
mov dword [ebp - 0x100], eax
cmp eax, dword [esi + 0x54]
jl 0x10094150
cmp dword [ebp - 0xe4], 0
je 0x10094862
mov edx, dword [ebp - 0xf4]
mov edi, dword [edi + 4]
sub edi, 2
mov ecx, dword [edx + 0x1f60]
cmp edi, ecx
jle 0x10094438
test ecx, ecx
je 0x100943c3
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [ebp - 0xf4]
sar eax, 1
add eax, ecx
jmp 0x100943c8
mov eax, 8
cmp eax, edi
mov esi, edi
cmovg esi, eax
cmp esi, ecx
jle 0x10094438
lea eax, [esi + esi*2]
shl eax, 3
push eax
call fcn.1005ed80
mov ecx, dword [ebp - 0xf4]
add esp, 4
mov dword [ebp - 0xfc], eax
mov edx, dword [ecx + 0x1f64]
test edx, edx
je 0x10094426
mov ecx, dword [ecx + 0x1f5c]
lea ecx, [ecx + ecx*2]
shl ecx, 3
push ecx
push edx
push eax
call fcn.1009b5b0
mov eax, dword [ebp - 0xf4]
push dword [eax + 0x1f64]
call fcn.1005edb0
mov eax, dword [ebp - 0xfc]
add esp, 0x10
mov edx, dword [ebp - 0xf4]
mov dword [edx + 0x1f64], eax
mov dword [edx + 0x1f60], esi
mov eax, dword [ebp - 0xd8]
xorps xmm0, xmm0
mov dword [edx + 0x1f5c], edi
mov esi, dword [edx + 0x1f64]
mov edx, 2
mov dword [ebp - 0xe0], esi
mov edi, dword [eax + 4]
movaps xmmword [ebp - 0xd0], xmm0
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xf8], edx
lea eax, [edi - 1]
mov dword [ebp - 0xdc], edi
cmp eax, edx
jl 0x100944fd
lea esi, [edi - 1]
mov eax, esi
and eax, 0x1f
mov dword [ebp - 0xfc], eax
nop dword [eax]
mov eax, edx
mov edi, edx
or eax, 0x1f
sar edi, 5
cmp esi, eax
mov ecx, 0x1f
cmovle ecx, dword [ebp - 0xfc]
xor esi, esi
inc ecx
xor eax, eax
bts esi, ecx
cmp ecx, 0x20
mov ecx, edx
cmovae eax, esi
xor edx, edx
xor esi, eax
and ecx, 0x1f
bts edx, ecx
dec esi
xor eax, eax
cmp ecx, 0x20
cmovae eax, edx
xor edx, eax
neg edx
and esi, edx
mov edx, dword [ebp - 0xf8]
or dword [ebp + edi*4 - 0xd0], esi
add edx, 0x20
mov edi, dword [ebp - 0xdc]
and edx, 0xffffffe0
mov dword [ebp - 0xf8], edx
lea esi, [edi - 1]
cmp edx, esi
jle 0x10094490
mov esi, dword [ebp - 0xe0]
mov eax, dword [ebp - 0xec]
movzx edx, byte [eax + 0x1b8]
mov ecx, edx
and edx, 0x1f
shr ecx, 5
mov eax, dword [ebp + ecx*4 - 0xd0]
btr eax, edx
mov dword [ebp + ecx*4 - 0xd0], eax
xor eax, eax
cmp byte [ebp - 0xd1], al
setg al
add eax, 2
sub edi, eax
xor ecx, ecx
mov dword [ebp - 0xdc], edi
mov edi, dword [ebp - 0xec]
movups xmm0, xmmword [edi + 0x144]
movups xmmword [ebp - 0x130], xmm0
movss xmm6, dword [ebp - 0x124]
movss xmm7, dword [ebp - 0x128]
movss xmm5, dword [ebp - 0x130]
mov dword [ebp - 0xe8], ecx
nop dword [eax]
lea eax, [ecx + ecx*4]
shl eax, 3
mov edx, dword [ebp + eax - 0x98]
mov dword [ebp - 0xe4], edx
test edx, edx
je 0x100947a7
lea edi, [ebp - 0xa8]
mov edx, ecx
add edi, eax
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0x110], xmm0
and edx, 1
je 0x100945b7
cmp byte [ebp - 0xd2], 0
jle 0x100945b7
movss xmm4, dword [ebp - 0x110]
jmp 0x100945c7
movss xmm4, dword [ebp - 0x110]
comiss xmm5, xmm4
ja 0x100945c7
movaps xmm4, xmm5
mov eax, ecx
and eax, 2
je 0x100945e1
cmp byte [ebp - 0xd1], 0
jle 0x100945e1
movss xmm3, dword [ebp - 0x10c]
jmp 0x100945f9
movss xmm3, dword [ebp - 0x10c]
movss xmm0, dword [ebp - 0x12c]
comiss xmm0, xmm3
ja 0x100945f9
movaps xmm3, xmm0
movss xmm2, dword [ebp - 0x108]
test edx, edx
je 0x1009460d
comiss xmm2, xmm7
jae 0x1009460d
movaps xmm2, xmm7
test eax, eax
je 0x10094632
mov eax, dword [ebp - 0xec]
test dword [eax + 4], 0x20000
jne 0x10094632
movss xmm1, dword [ebp - 0x104]
comiss xmm1, xmm6
jae 0x1009463a
movaps xmm1, xmm6
jmp 0x1009463a
movss xmm1, dword [ebp - 0x104]
mov eax, dword [ebp - 0xdc]
xor edx, edx
sub eax, dword [edi + 0x10]
mov dword [ebp - 0xdc], eax
mov eax, dword [edi + 0x14]
not eax
and dword [ebp - 0xd0], eax
mov eax, dword [edi + 0x18]
not eax
and dword [ebp - 0xcc], eax
mov eax, dword [edi + 0x1c]
not eax
and dword [ebp - 0xc8], eax
mov eax, dword [edi + 0x20]
not eax
and dword [ebp - 0xc4], eax
mov eax, dword [edi + 0x24]
not eax
and dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xd8]
cmp dword [eax + 4], edx
jle 0x10094757
mov dword [ebp - 0xf0], edx
nop word [eax + eax]
cmp dword [ebp - 0xe4], 0
je 0x10094751
mov esi, edx
mov ecx, edx
and ecx, 0x1f
sar esi, 5
mov eax, 1
shl eax, cl
test dword [edi + esi*4 + 0x14], eax
je 0x10094734
mov eax, dword [edi + esi*4 + 0x14]
btr eax, ecx
dec dword [ebp - 0xe4]
mov dword [edi + esi*4 + 0x14], eax
mov eax, dword [ebp - 0xd8]
mov esi, dword [ebp - 0xe0]
movss dword [ebp - 0x140], xmm4
movss dword [ebp - 0x13c], xmm3
mov ecx, dword [eax + 0x10]
add ecx, dword [ebp - 0xf0]
movss dword [ebp - 0x138], xmm2
movss dword [ebp - 0x134], xmm1
movups xmm0, xmmword [ebp - 0x140]
mov eax, dword [ecx + 8]
movups xmmword [eax], xmm0
mov eax, esi
add esi, 0x18
movups xmm0, xmmword [ecx]
mov dword [ebp - 0xe0], esi
movups xmmword [eax], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [eax + 0x10], xmm0
jmp 0x1009473a
mov esi, dword [ebp - 0xe0]
mov eax, dword [ebp - 0xd8]
inc edx
add dword [ebp - 0xf0], 0x18
cmp edx, dword [eax + 4]
jl 0x100946a0
mov ecx, dword [ebp - 0xe8]
mov edi, dword [ebp - 0xec]
cmp ecx, 1
jne 0x100947af
cmp byte [ebp - 0xd1], 0
jle 0x100947af
movzx eax, byte [edi + 0x1b8]
mov edx, esi
add esi, 0x18
mov dword [ebp - 0xe0], esi
lea ecx, [eax + eax*2]
mov eax, dword [ebp - 0xd8]
mov eax, dword [eax + 0x10]
movups xmm0, xmmword [eax + ecx*8]
movups xmmword [edx], xmm0
movq xmm0, qword [eax + ecx*8 + 0x10]
mov ecx, dword [ebp - 0xe8]
movq qword [edx + 0x10], xmm0
inc ecx
jmp 0x10094567
mov eax, dword [ebp - 0xd8]
jmp 0x1009475d
inc ecx
mov dword [ebp - 0xe8], ecx
cmp ecx, 4
jl 0x10094570
mov eax, dword [eax + 4]
xor esi, esi
test eax, eax
jle 0x10094836
mov edi, dword [ebp - 0xe0]
mov dword [ebp - 0xe4], esi
cmp dword [ebp - 0xdc], 0
je 0x10094836
mov eax, esi
mov ecx, esi
and ecx, 0x1f
sar eax, 5
mov edx, 1
shl edx, cl
test dword [ebp + eax*4 - 0xd0], edx
je 0x10094821
mov eax, dword [ebp - 0xd8]
mov ecx, edi
add edi, 0x18
mov eax, dword [eax + 0x10]
add eax, dword [ebp - 0xe4]
dec dword [ebp - 0xdc]
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ecx + 0x10], xmm0
mov eax, dword [ebp - 0xd8]
inc esi
add dword [ebp - 0xe4], 0x18
mov eax, dword [eax + 4]
cmp esi, eax
jl 0x100947d4
lea eax, [eax + eax*2]
lea eax, [eax*8 - 0x30]
push eax
mov eax, dword [ebp - 0xf4]
push dword [eax + 0x1f64]
mov eax, dword [ebp - 0xd8]
mov eax, dword [eax + 0x10]
add eax, 0x30
push eax
call fcn.1009b5b0
add esp, 0xc
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10099d54
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret