Function at 0x100704d0
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, 0x128
mov eax, dword [0x100fc068]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, dword [0x10104944]
push esi
mov dword [ebp - 0xf0], eax
push edi
mov esi, dword [eax + 0x174]
xor edi, edi
mov dword [ebp - 0xe0], esi
mov esi, eax
mov dword [ebp - 0x10c], ecx
mov dword [ebp - 0xd8], edi
lea ecx, [edi + 4]
mov al, byte [esi + 0x1c2]
mov byte [ebp - 0xd1], al
mov al, byte [esi + 0x1c4]
mov byte [ebp - 0xd9], al
lea eax, [ebp - 0xa4]
mov dword [eax - 4], edi
xorps xmm0, xmm0
mov dword [eax], edi
lea eax, [eax + 0x28]
mov dword [eax - 0x24], edi
mov dword [eax - 0x20], edi
movups xmmword [eax - 0x18], xmm0
mov dword [eax - 8], edi
mov dword [eax - 0x1c], edi
sub ecx, 1
jne 0x10070543
xor eax, eax
mov dword [ebp - 0xf8], eax
cmp dword [esi + 0x54], eax
jle 0x10070c7e
mov dword [ebp - 0xe4], eax
nop word [eax + eax]
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 0x1007080a
mov edx, dword [esi + 0x10]
xor eax, eax
add edx, dword [ebp - 0xe4]
cmp byte [ebp - 0xd1], al
mov dword [ebp - 0x108], edx
setg al
inc eax
xor esi, esi
mov dword [ebp - 0x110], eax
mov dword [ebp - 0xec], esi
nop dword [eax]
test esi, esi
jne 0x100705d9
mov al, byte [edx + 0x58]
jmp 0x100705dc
mov al, byte [edx + 0x59]
mov ecx, dword [ebp - 0xe0]
movzx eax, al
mov dword [ebp - 0x104], eax
mov ecx, dword [ecx + 0x10]
lea eax, [eax + eax*2]
mov dword [ebp - 0x100], ecx
mov dword [ebp - 0xe8], eax
mov eax, dword [ecx + eax*8]
mov ecx, eax
mov dword [ebp - 0xfc], eax
test eax, eax
jle 0x10070671
mov edx, dword [ebp - 0xe8]
lea edi, [eax + eax*4]
mov eax, dword [ebp - 0x100]
mov esi, dword [eax + edx*8 + 8]
mov eax, ecx
mov edx, dword [ebp - 0x108]
cmp dword [esi + edi*8 - 0xc], 0
mov esi, dword [ebp - 0xec]
jne 0x1007066b
mov edx, dword [ebp - 0xe8]
mov eax, dword [ebp - 0x100]
mov esi, dword [eax + edx*8 + 8]
mov eax, ecx
mov edx, dword [ebp - 0x108]
cmp dword [esi + edi*8 - 8], 0
mov esi, dword [ebp - 0xec]
jne 0x1007066b
mov edi, dword [ebp - 0x100]
lea ecx, [eax - 1]
mov eax, dword [ebp - 0xe8]
mov dword [edi + eax*8], ecx
mov edi, dword [ebp - 0xd8]
cmp ecx, 1
jne 0x100707ed
test dword [edx], 0x100
jne 0x100706b6
cmp byte [ebp - 0xd1], 0
jg 0x10070697
movss xmm0, dword [edx + 0x44]
maxss xmm0, dword [edx + 0x48]
jmp 0x100706ac
test esi, esi
jne 0x100706a7
movss xmm0, dword [edx + 0x40]
maxss xmm0, dword [edx + 0x48]
jmp 0x100706ac
movss xmm0, dword [edx + 0x44]
comiss xmm0, dword [edx + 0x28]
ja 0x100707ed
cmp byte [ebp - 0xd9], 0
jle 0x100706d8
mov eax, dword [ebp - 0xf0]
movsx eax, byte [eax + 0x1c4]
cmp dword [ebp - 0xf8], eax
jge 0x100706d8
xor ecx, ecx
jmp 0x100706dd
mov ecx, 1
cmp byte [ebp - 0xd1], 0
jle 0x100706ee
test esi, esi
jne 0x100706ee
xor eax, eax
jmp 0x100706f3
mov eax, 2
add eax, ecx
lea esi, [ebp - 0xa8]
mov dword [ebp - 0x124], eax
lea eax, [eax + eax*4]
cmp dword [esi + eax*8 + 0x10], 0
lea esi, [esi + eax*8]
lea eax, [esi + 8]
lea ecx, [esi + 0xc]
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0xf4], ecx
jne 0x1007073b
mov dword [esi], 0x7f7fffff
mov dword [esi + 4], 0x7f7fffff
mov dword [eax], 0xff7fffff
mov dword [ecx], 0xff7fffff
jmp 0x10070747
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0xf4], ecx
mov eax, dword [ebp - 0x104]
mov ecx, eax
shr ecx, 5
and eax, 0x1f
mov dword [ebp - 0x104], eax
mov edx, dword [ebp - 0x104]
mov eax, dword [esi + ecx*4 + 0x14]
bts eax, edx
mov edx, dword [ebp - 0x108]
mov dword [esi + ecx*4 + 0x14], eax
inc dword [esi + 0x10]
mov eax, dword [ebp - 0xe8]
mov ecx, dword [ebp - 0x100]
movss xmm0, dword [esi]
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 0x100707a5
movss dword [esi], xmm4
movss xmm0, dword [esi + 4]
comiss xmm0, xmm1
jbe 0x100707b4
movss dword [esi + 4], xmm1
mov eax, dword [ebp - 0xfc]
comiss xmm2, dword [eax]
jbe 0x100707c3
movss dword [eax], xmm2
mov eax, dword [ebp - 0xf4]
comiss xmm3, dword [eax]
jbe 0x100707d2
movss dword [eax], xmm3
mov edi, dword [ebp - 0xd8]
mov eax, dword [ebp - 0x124]
bts edi, eax
mov esi, dword [ebp - 0xec]
mov dword [ebp - 0xd8], edi
inc esi
mov dword [ebp - 0xec], esi
cmp esi, dword [ebp - 0x110]
jl 0x100705d0
mov esi, dword [ebp - 0xf0]
mov byte [edx + 0x57], 0xff
mov eax, dword [ebp - 0xf8]
add dword [ebp - 0xe4], 0x68
inc eax
mov dword [ebp - 0xf8], eax
cmp eax, dword [esi + 0x54]
jl 0x10070580
test edi, edi
je 0x10070c7e
mov ecx, dword [ebp - 0xe0]
mov eax, dword [ebp - 0x10c]
add eax, 0x49fc
mov dword [ebp - 0xf4], eax
mov esi, dword [ecx + 4]
sub esi, 2
mov edi, dword [eax + 4]
cmp esi, edi
jle 0x10070882
test edi, edi
je 0x10070864
mov eax, edi
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, edi
jmp 0x10070869
mov ecx, 8
cmp ecx, esi
mov eax, esi
cmovg eax, ecx
mov ecx, dword [ebp - 0xf4]
push eax
call fcn.1005b4f0
mov eax, dword [ebp - 0xf4]
mov dword [eax], esi
mov edx, 2
mov eax, dword [ebp - 0x10c]
xorps xmm0, xmm0
movaps xmmword [ebp - 0xd0], xmm0
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xf4], edx
mov esi, dword [eax + 0x4a04]
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0xe8], esi
mov edi, dword [eax + 4]
mov dword [ebp - 0xd8], edi
lea esi, [edi - 1]
cmp esi, edx
jl 0x1007093d
mov eax, esi
and eax, 0x1f
mov dword [ebp - 0x110], eax
mov eax, edx
mov edi, edx
or eax, 0x1f
sar edi, 5
cmp esi, eax
mov ecx, 0x1f
cmovle ecx, dword [ebp - 0x110]
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 - 0xf4]
or dword [ebp + edi*4 - 0xd0], esi
add edx, 0x20
mov edi, dword [ebp - 0xd8]
and edx, 0xffffffe0
mov dword [ebp - 0xf4], edx
lea esi, [edi - 1]
cmp edx, esi
jle 0x100708d6
mov eax, dword [ebp - 0xf0]
movzx edx, byte [eax + 0x1c8]
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 edx, edx
mov dword [ebp - 0xd8], edi
mov edi, dword [ebp - 0xf0]
movups xmm0, xmmword [edi + 0x140]
movups xmmword [ebp - 0x120], xmm0
movss xmm2, dword [ebp - 0x114]
movss xmm3, dword [ebp - 0x118]
movss xmm5, dword [ebp - 0x11c]
movss xmm4, dword [ebp - 0x120]
mov dword [ebp - 0xec], edx
nop word [eax + eax]
lea eax, [edx + edx*4]
shl eax, 3
mov ecx, dword [ebp + eax - 0x98]
mov dword [ebp - 0xf8], ecx
test ecx, ecx
je 0x10070bbd
lea edi, [ebp - 0xa8]
mov esi, edx
add edi, eax
movups xmm1, xmmword [edi]
movaps xmmword [ebp - 0x120], xmm1
and esi, 1
je 0x100709fd
cmp byte [ebp - 0xd9], 0
jg 0x10070a11
comiss xmm4, xmm1
ja 0x10070a11
movss dword [ebp - 0x120], xmm4
movaps xmm1, xmmword [ebp - 0x120]
mov eax, edx
and eax, 2
je 0x10070a21
cmp byte [ebp - 0xd1], 0
jg 0x10070a3c
movaps xmm0, xmm1
shufps xmm0, xmm1, 0x55
comiss xmm5, xmm0
ja 0x10070a3c
movss dword [ebp - 0x11c], xmm5
movaps xmm1, xmmword [ebp - 0x120]
test esi, esi
je 0x10070a5b
movaps xmm0, xmm1
shufps xmm0, xmm1, 0xaa
comiss xmm0, xmm3
jae 0x10070a5b
movss dword [ebp - 0x118], xmm3
movaps xmm1, xmmword [ebp - 0x120]
test eax, eax
je 0x10070a89
mov eax, dword [ebp - 0xf0]
test dword [eax + 4], 0x20000
jne 0x10070a89
movaps xmm0, xmm1
shufps xmm0, xmm1, 0xff
comiss xmm0, xmm2
jae 0x10070a89
movss dword [ebp - 0x114], xmm2
movaps xmm1, xmmword [ebp - 0x120]
mov eax, dword [ebp - 0xd8]
xor esi, esi
sub eax, dword [edi + 0x10]
mov dword [ebp - 0xd8], 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 - 0xe0]
cmp dword [eax + 4], esi
jle 0x10070b67
mov dword [ebp - 0xe4], esi
test ecx, ecx
je 0x10070b61
mov edx, esi
mov ecx, esi
and ecx, 0x1f
sar edx, 5
mov eax, 1
shl eax, cl
test dword [edi + edx*4 + 0x14], eax
je 0x10070b48
mov eax, dword [edi + edx*4 + 0x14]
btr eax, ecx
dec dword [ebp - 0xf8]
mov dword [edi + edx*4 + 0x14], eax
mov eax, dword [ebp - 0xe0]
mov edx, dword [ebp - 0xe8]
mov ecx, dword [eax + 0x10]
add ecx, dword [ebp - 0xe4]
mov eax, dword [ecx + 8]
movups xmmword [eax], xmm1
mov eax, edx
add edx, 0x18
movups xmm0, xmmword [ecx]
mov dword [ebp - 0xe8], edx
movups xmmword [eax], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [eax + 0x10], xmm0
mov eax, dword [ebp - 0xe0]
inc esi
add dword [ebp - 0xe4], 0x18
mov ecx, dword [ebp - 0xf8]
cmp esi, dword [eax + 4]
jl 0x10070ae6
mov edx, dword [ebp - 0xec]
mov edi, dword [ebp - 0xf0]
cmp edx, 1
jne 0x10070bc5
cmp byte [ebp - 0xd1], 0
jle 0x10070bc5
movzx eax, byte [edi + 0x1c8]
mov esi, dword [ebp - 0xe8]
mov edx, esi
add esi, 0x18
mov dword [ebp - 0xe8], esi
lea ecx, [eax + eax*2]
mov eax, dword [ebp - 0xe0]
mov eax, dword [eax + 0x10]
movups xmm0, xmmword [eax + ecx*8]
movups xmmword [edx], xmm0
movq xmm0, qword [eax + ecx*8 + 0x10]
movq qword [edx + 0x10], xmm0
mov edx, dword [ebp - 0xec]
inc edx
jmp 0x100709af
mov eax, dword [ebp - 0xe0]
jmp 0x10070b6d
inc edx
mov dword [ebp - 0xec], edx
cmp edx, 4
jl 0x100709c0
mov eax, dword [eax + 4]
xor edi, edi
test eax, eax
jle 0x10070c52
mov esi, dword [ebp - 0xe8]
mov dword [ebp - 0xe4], edi
nop word [eax + eax]
cmp dword [ebp - 0xd8], 0
je 0x10070c52
mov eax, edi
mov ecx, edi
and ecx, 0x1f
sar eax, 5
mov edx, 1
shl edx, cl
test dword [ebp + eax*4 - 0xd0], edx
je 0x10070c3d
mov eax, dword [ebp - 0xe0]
mov ecx, esi
add esi, 0x18
mov eax, dword [eax + 0x10]
add eax, dword [ebp - 0xe4]
dec dword [ebp - 0xd8]
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ecx + 0x10], xmm0
mov eax, dword [ebp - 0xe0]
inc edi
add dword [ebp - 0xe4], 0x18
mov eax, dword [eax + 4]
cmp edi, eax
jl 0x10070bf0
lea eax, [eax + eax*2]
lea eax, [eax*8 - 0x30]
push eax
mov eax, dword [ebp - 0x10c]
push dword [eax + 0x4a04]
mov eax, dword [ebp - 0xe0]
mov eax, dword [eax + 0x10]
add eax, 0x30
push eax
call fcn.10092810
add esp, 0xc
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10090ad6
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret