Function at 0x43bff0
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, 0xc8
mov eax, dword [0x58ac5c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov ecx, dword [ebx + 8]
xorps xmm0, xmm0
mov edx, dword [0x693740]
movups xmmword [ebp - 0x68], xmm0
mov eax, dword [ecx + 0x168]
mov dword [ebp - 0x70], eax
movzx eax, word [ecx + 0x1dc]
mov esi, eax
mov dword [ebp - 0xa0], eax
movzx eax, word [ecx + 0x1e0]
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xc8], esi
mov esi, eax
xor eax, eax
mov dword [ebp - 0xc4], esi
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov eax, dword [ecx + 0x40]
movups xmmword [ebp - 0x50], xmm0
movups xmmword [ebp - 0x38], xmm0
lea eax, [eax*2 + 0x23]
mov dword [ebp - 0x8c], ecx
sar eax, 3
and eax, 0xfffffffc
mov dword [ebp - 0x78], edx
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 0x9c], eax
movd xmm0, eax
lea esi, [eax + eax*4]
pshufd xmm0, xmm0, 0
movaps xmmword [ebp - 0xc0], xmm0
cmp esi, dword [edx + 0x3230]
jle 0x43c106
push esi
call fcn.0041a900
mov edx, dword [ebp - 0x78]
mov edi, eax
add esp, 4
mov eax, dword [edx + 0x3234]
test eax, eax
je 0x43c0fa
push dword [edx + 0x322c]
push eax
push edi
call fcn.004b3a80
mov eax, dword [ebp - 0x78]
push dword [eax + 0x3234]
call fcn.0041a920
mov edx, dword [ebp - 0x78]
add esp, 0x10
mov dword [edx + 0x3234], edi
mov dword [edx + 0x3230], esi
push esi
push 0
push dword [edx + 0x3234]
call fcn.004b4000
mov eax, dword [ebp - 0x78]
add esp, 0xc
cmp dword [0x694ffc], 2
mov edi, dword [eax + 0x3234]
jl 0x43c171
movaps xmm1, xmmword [0x545ff0]
pmulld xmm1, xmmword [ebp - 0xc0]
mov eax, dword [ebp - 0x9c]
movd xmm0, edi
pshufd xmm0, xmm0, 0
paddd xmm1, xmm0
movd dword [ebp - 0x54], xmm1
psrldq xmm1, 4
movd dword [ebp - 0x3c], xmm1
psrldq xmm1, 4
movd dword [ebp - 0x24], xmm1
psrldq xmm1, 4
movd dword [ebp - 0xc], xmm1
jmp 0x43c195
xor ecx, ecx
lea edx, [ebp - 0x54]
lea esi, [ecx + 4]
nop dword [eax]
lea eax, [edi + ecx]
mov dword [edx], eax
lea edx, [edx + 0x18]
mov eax, dword [ebp - 0x9c]
add ecx, eax
sub esi, 1
jne 0x43c180
lea eax, [edi + eax*4]
xor esi, esi
mov edi, dword [ebp - 0x8c]
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x6c], esi
cmp dword [edi + 0x40], esi
jle 0x43c96b
mov dword [ebp - 0x80], esi
mov eax, dword [edi + 0x30]
mov ecx, esi
and ecx, 0x1f
mov edx, 1
shl edx, cl
mov ecx, esi
sar ecx, 5
test dword [eax + ecx*4], edx
je 0x43c402
mov edi, dword [edi + 0x10]
xor eax, eax
add edi, dword [ebp - 0x80]
cmp word [ebp - 0xa0], ax
mov dword [ebp - 0x94], edi
setg al
inc eax
xor edx, edx
mov dword [ebp - 0x88], eax
mov dword [ebp - 0xac], edx
nop dword [eax]
test edx, edx
jne 0x43c20a
movzx eax, word [edi + 0x5e]
jmp 0x43c20e
movzx eax, word [edi + 0x60]
mov ecx, dword [ebp - 0x70]
movzx eax, ax
mov dword [ebp - 0xa4], eax
mov ecx, dword [ecx + 0x10]
lea eax, [eax + eax*2]
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x7c], eax
mov eax, dword [ecx + eax*8]
mov ecx, eax
mov dword [ebp - 0x84], eax
test eax, eax
jle 0x43c285
mov edi, dword [ebp - 0x7c]
lea esi, [eax + eax*4]
mov eax, dword [ebp - 0x74]
mov edx, dword [eax + edi*8 + 8]
mov eax, ecx
mov edi, dword [ebp - 0x94]
cmp dword [edx + esi*8 - 0xc], 0
mov edx, dword [ebp - 0xac]
jne 0x43c282
mov edi, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x74]
mov edx, dword [eax + edi*8 + 8]
mov eax, ecx
mov edi, dword [ebp - 0x94]
cmp dword [edx + esi*8 - 8], 0
mov edx, dword [ebp - 0xac]
jne 0x43c282
mov esi, dword [ebp - 0x74]
lea ecx, [eax - 1]
mov eax, dword [ebp - 0x7c]
mov dword [esi + eax*8], ecx
mov esi, dword [ebp - 0x6c]
cmp ecx, 1
jne 0x43c3dd
test dword [edi], 0x100
jne 0x43c2cb
cmp word [ebp - 0xa0], 0
jg 0x43c2ac
movss xmm0, dword [edi + 0x44]
maxss xmm0, dword [edi + 0x48]
jmp 0x43c2c1
test edx, edx
jne 0x43c2bc
movss xmm0, dword [edi + 0x40]
maxss xmm0, dword [edi + 0x48]
jmp 0x43c2c1
movss xmm0, dword [edi + 0x44]
comiss xmm0, dword [edi + 0x28]
ja 0x43c3dd
cmp word [ebp - 0xb0], 0
jle 0x43c2ea
mov eax, dword [ebp - 0x8c]
movsx eax, word [eax + 0x1e0]
cmp esi, eax
jge 0x43c2ea
xor ecx, ecx
jmp 0x43c2ef
mov ecx, 1
cmp word [ebp - 0xa0], 0
jle 0x43c301
test edx, edx
jne 0x43c301
xor eax, eax
jmp 0x43c306
mov eax, 2
add eax, ecx
mov dword [ebp - 0xa8], eax
lea esi, [eax + eax*2]
cmp dword [ebp + esi*8 - 0x58], 0
jne 0x43c338
mov dword [ebp + esi*8 - 0x68], 0x7f7fffff
mov dword [ebp + esi*8 - 0x64], 0x7f7fffff
mov dword [ebp + esi*8 - 0x60], 0xff7fffff
mov dword [ebp + esi*8 - 0x5c], 0xff7fffff
mov eax, dword [ebp - 0xa4]
mov ecx, eax
mov edx, dword [ebp + esi*8 - 0x54]
and eax, 0x1f
inc dword [ebp + esi*8 - 0x58]
movss xmm0, dword [ebp + esi*8 - 0x68]
shr ecx, 5
mov dword [ebp - 0xa4], eax
mov edi, dword [ebp - 0xa4]
mov eax, dword [edx + ecx*4]
bts eax, edi
mov edi, dword [ebp - 0x94]
mov dword [edx + ecx*4], eax
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x74]
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 0x43c397
movss dword [ebp + esi*8 - 0x68], xmm4
movss xmm0, dword [ebp + esi*8 - 0x64]
comiss xmm0, xmm1
jbe 0x43c3a8
movss dword [ebp + esi*8 - 0x64], xmm1
comiss xmm2, dword [ebp + esi*8 - 0x60]
jbe 0x43c3b5
movss dword [ebp + esi*8 - 0x60], xmm2
comiss xmm3, dword [ebp + esi*8 - 0x5c]
jbe 0x43c3c2
movss dword [ebp + esi*8 - 0x5c], xmm3
mov ecx, dword [ebp - 0x98]
mov eax, dword [ebp - 0xa8]
bts ecx, eax
mov edx, dword [ebp - 0xac]
mov dword [ebp - 0x98], ecx
mov esi, dword [ebp - 0x6c]
inc edx
mov dword [ebp - 0xac], edx
cmp edx, dword [ebp - 0x88]
jl 0x43c200
mov eax, 0xffff
mov word [edi + 0x5c], ax
mov edi, dword [ebp - 0x8c]
add dword [ebp - 0x80], 0x70
inc esi
mov dword [ebp - 0x6c], esi
cmp esi, dword [edi + 0x40]
jl 0x43c1b5
cmp dword [ebp - 0x98], 0
je 0x43c96b
mov eax, dword [ebp - 0x70]
mov edx, dword [ebp - 0x78]
mov edi, dword [eax + 4]
mov ecx, dword [edx + 0x1f70]
sub edi, 2
cmp edi, ecx
jle 0x43c4b4
test ecx, ecx
je 0x43c448
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [ebp - 0x78]
sar eax, 1
add eax, ecx
jmp 0x43c44d
mov eax, 8
cmp eax, edi
mov esi, edi
cmovg esi, eax
cmp esi, ecx
jle 0x43c4b4
lea eax, [esi + esi*2]
shl eax, 3
push eax
call fcn.0041a900
mov ecx, dword [ebp - 0x78]
add esp, 4
mov dword [ebp - 0x88], eax
mov edx, dword [ecx + 0x1f74]
test edx, edx
je 0x43c4a5
mov ecx, dword [ecx + 0x1f6c]
lea ecx, [ecx + ecx*2]
shl ecx, 3
push ecx
push edx
push eax
call fcn.004b3a80
mov eax, dword [ebp - 0x78]
push dword [eax + 0x1f74]
call fcn.0041a920
mov eax, dword [ebp - 0x88]
add esp, 0x10
mov edx, dword [ebp - 0x78]
mov dword [edx + 0x1f74], eax
mov dword [edx + 0x1f70], esi
mov ecx, dword [ebp - 0x70]
mov eax, 2
mov dword [edx + 0x1f6c], edi
mov edi, dword [edx + 0x1f74]
mov dword [ebp - 0x6c], edi
mov edx, dword [ecx + 4]
dec edx
mov dword [ebp - 0x84], eax
mov dword [ebp - 0xa8], edx
cmp edx, eax
jl 0x43c559
mov ecx, edx
and ecx, 0x1f
mov dword [ebp - 0x88], ecx
nop word [eax + eax]
mov esi, eax
mov edi, eax
or eax, 0x1f
sar edi, 5
and esi, 0x1f
mov ecx, 0x1f
cmp edx, eax
cmovle ecx, dword [ebp - 0x88]
xor edx, edx
inc ecx
xor eax, eax
bts edx, ecx
cmp ecx, 0x20
cmovae eax, edx
xor ecx, ecx
xor edx, eax
bts ecx, esi
xor eax, eax
dec edx
cmp esi, 0x20
mov esi, dword [ebp - 0x90]
cmovae eax, ecx
xor ecx, eax
mov eax, dword [ebp - 0x84]
neg ecx
add eax, 0x20
and edx, ecx
and eax, 0xffffffe0
or dword [esi + edi*4], edx
mov edx, dword [ebp - 0xa8]
mov dword [ebp - 0x84], eax
cmp eax, edx
jle 0x43c4f0
mov edi, dword [ebp - 0x6c]
jmp 0x43c55f
mov esi, dword [ebp - 0x90]
mov eax, dword [ebp - 0x8c]
movups xmm3, xmmword [0x54b5c0]
movzx edx, word [eax + 0x1e8]
mov ecx, edx
and edx, 0x1f
shr ecx, 5
mov eax, dword [esi + ecx*4]
btr eax, edx
mov dword [esi + ecx*4], eax
xor eax, eax
cmp word [ebp - 0xa0], ax
mov ecx, dword [ebp - 0x70]
setg al
add eax, 2
mov ecx, dword [ecx + 4]
sub ecx, eax
mov eax, dword [ebp - 0x8c]
xor esi, esi
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x94], esi
movups xmm0, xmmword [eax + 0x134]
movups xmmword [ebp - 0xc0], xmm0
movss xmm4, dword [ebp - 0xb4]
movss xmm5, dword [ebp - 0xb8]
movss xmm7, dword [ebp - 0xbc]
movss xmm6, dword [ebp - 0xc0]
nop word [eax + eax]
lea eax, [esi + esi*2]
shl eax, 3
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp + eax - 0x58]
mov dword [ebp - 0x98], ecx
test ecx, ecx
je 0x43c88d
movups xmm2, xmmword [ebp + eax - 0x68]
mov edx, esi
movups xmmword [ebp - 0xc0], xmm2
and edx, 1
je 0x43c618
cmp word [ebp - 0xc4], 0
jg 0x43c62c
comiss xmm6, xmm2
ja 0x43c62c
movss dword [ebp - 0xc0], xmm6
movups xmm2, xmmword [ebp - 0xc0]
mov ecx, esi
and ecx, 2
je 0x43c63d
cmp word [ebp - 0xa0], 0
jg 0x43c658
movaps xmm0, xmm2
shufps xmm0, xmm2, 0x55
comiss xmm7, xmm0
ja 0x43c658
movss dword [ebp - 0xbc], xmm7
movups xmm2, xmmword [ebp - 0xc0]
test edx, edx
je 0x43c677
movaps xmm0, xmm2
shufps xmm0, xmm2, 0xaa
comiss xmm0, xmm5
jae 0x43c677
movss dword [ebp - 0xb8], xmm5
movups xmm2, xmmword [ebp - 0xc0]
test ecx, ecx
je 0x43c6a5
mov ecx, dword [ebp - 0x8c]
test dword [ecx + 4], 0x20000
jne 0x43c6a5
movaps xmm0, xmm2
shufps xmm0, xmm2, 0xff
comiss xmm0, xmm4
jae 0x43c6a5
movss dword [ebp - 0xb4], xmm4
movups xmm2, xmmword [ebp - 0xc0]
mov ecx, dword [ebp - 0x7c]
sub ecx, dword [ebp + eax - 0x58]
mov esi, dword [ebp - 0x9c]
sar esi, 2
mov dword [ebp - 0x7c], ecx
xor ecx, ecx
mov dword [ebp - 0xa4], esi
test esi, esi
jle 0x43c803
cmp esi, 0x10
jb 0x43c7e0
mov edx, dword [ebp + eax - 0x54]
lea eax, [esi - 1]
mov dword [ebp - 0x88], edx
lea eax, [edx + eax*4]
cmp dword [ebp - 0x90], eax
ja 0x43c6fd
mov eax, dword [ebp - 0x90]
add eax, 0xfffffffc
lea eax, [eax + esi*4]
cmp eax, edx
jae 0x43c7dd
mov eax, esi
and eax, 0x8000000f
jns 0x43c70b
dec eax
or eax, 0xfffffff0
inc eax
mov edi, dword [ebp - 0x90]
mov edx, esi
sub edx, eax
mov esi, 0x20
mov eax, 0xfffffff0
mov dword [ebp - 0x84], edx
sub eax, edi
mov dword [ebp - 0xa8], eax
lea edx, [edi + 0x20]
mov eax, 0x10
sub eax, edi
mov dword [ebp - 0xb0], eax
mov eax, 0xffffffe0
sub eax, edi
mov edi, dword [ebp - 0x88]
mov dword [ebp - 0x80], eax
nop dword [eax]
movups xmm0, xmmword [edx - 0x20]
add eax, edx
lea esi, [esi + 0x40]
add ecx, 0x10
movups xmm1, xmmword [eax + edi]
mov eax, dword [ebp - 0xa8]
add eax, edx
pandn xmm1, xmm3
pand xmm1, xmm0
movups xmmword [edx - 0x20], xmm1
movups xmm1, xmmword [eax + edi]
mov eax, dword [ebp - 0xb0]
movups xmm0, xmmword [edx - 0x10]
add eax, edx
pandn xmm1, xmm3
pand xmm1, xmm0
movups xmmword [edx - 0x10], xmm1
movups xmm0, xmmword [edx]
movups xmm1, xmmword [esi + edi - 0x40]
pandn xmm1, xmm3
pand xmm1, xmm0
movups xmmword [edx], xmm1
movups xmm1, xmmword [eax + edi]
mov eax, dword [ebp - 0x80]
movups xmm0, xmmword [edx + 0x10]
pandn xmm1, xmm3
pand xmm1, xmm0
movups xmmword [edx + 0x10], xmm1
add edx, 0x40
cmp ecx, dword [ebp - 0x84]
jl 0x43c750
mov esi, dword [ebp - 0xa4]
mov edi, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x88], ecx
cmp ecx, esi
jge 0x43c803
jmp 0x43c7e0
mov eax, dword [ebp - 0x74]
mov edx, dword [ebp + eax - 0x54]
mov edi, dword [ebp - 0x90]
nop word [eax + eax]
mov eax, dword [edx + ecx*4]
not eax
and dword [edi + ecx*4], eax
inc ecx
cmp ecx, esi
jl 0x43c7f0
mov edi, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x70]
xor edx, edx
cmp dword [ecx + 4], edx
jle 0x43c887
mov dword [ebp - 0x80], edx
cmp dword [ebp - 0x98], 0
je 0x43c887
mov eax, dword [ebp + eax - 0x54]
mov esi, edx
sar esi, 5
mov ecx, edx
and ecx, 0x1f
mov edi, dword [eax + esi*4]
mov eax, 1
shl eax, cl
test edi, eax
je 0x43c874
btr edi, ecx
dec dword [ebp - 0x98]
mov ecx, dword [ebp - 0x74]
mov eax, dword [ebp + ecx - 0x54]
mov dword [eax + esi*4], edi
mov eax, dword [ebp - 0x70]
mov edi, dword [ebp - 0x6c]
mov ecx, dword [eax + 0x10]
add ecx, dword [ebp - 0x80]
mov eax, dword [ecx + 8]
movups xmmword [eax], xmm2
mov eax, edi
add edi, 0x18
movups xmm0, xmmword [ecx]
mov dword [ebp - 0x6c], edi
movups xmmword [eax], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [eax + 0x10], xmm0
jmp 0x43c877
mov edi, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x70]
inc edx
add dword [ebp - 0x80], 0x18
cmp edx, dword [eax + 4]
mov eax, dword [ebp - 0x74]
jl 0x43c810
mov esi, dword [ebp - 0x94]
cmp esi, 1
jne 0x43c8cc
cmp word [ebp - 0xc8], 0
jle 0x43c8cc
mov eax, dword [ebp - 0x8c]
mov edx, edi
add edi, 0x18
mov dword [ebp - 0x6c], edi
movzx eax, word [eax + 0x1e8]
lea ecx, [eax + eax*2]
mov eax, dword [ebp - 0x70]
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
inc esi
mov dword [ebp - 0x94], esi
cmp esi, 4
jl 0x43c5e0
mov ecx, dword [ebp - 0x70]
xor esi, esi
mov eax, dword [ecx + 4]
test eax, eax
jle 0x43c948
mov dword [ebp - 0x9c], esi
nop
cmp dword [ebp - 0x7c], 0
je 0x43c948
mov ecx, esi
mov edx, 1
and ecx, 0x1f
mov eax, esi
shl edx, cl
mov ecx, dword [ebp - 0x90]
sar eax, 5
test dword [ecx + eax*4], edx
je 0x43c936
mov eax, dword [ebp - 0x70]
mov ecx, edi
add edi, 0x18
mov eax, dword [eax + 0x10]
add eax, dword [ebp - 0x9c]
dec dword [ebp - 0x7c]
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ecx + 0x10], xmm0
mov ecx, dword [ebp - 0x70]
inc esi
add dword [ebp - 0x9c], 0x18
mov eax, dword [ecx + 4]
cmp esi, eax
jl 0x43c8f0
lea eax, [eax + eax*2]
lea eax, [eax*8 - 0x30]
push eax
mov eax, dword [ebp - 0x78]
push dword [eax + 0x1f74]
mov eax, dword [ecx + 0x10]
add eax, 0x30
push eax
call fcn.004b3a80
add esp, 0xc
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004b20f1
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret