Function at 0x43c200
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
mov eax, edi
mov dword [esp + 0x10], edi
sub eax, ebx
mov ecx, eax
sar ecx, 2
cmp ecx, 0x20
jle 0x43c406
mov edx, dword [ebp + 0xc]
nop dword [eax]
cmp dword [ebp + 8], 0
jle 0x43c466
sar eax, 3
mov ecx, ebx
push edx
lea esi, [ebx + eax*4]
lea eax, [edi - 4]
mov edx, esi
push eax
call fcn.00452f60
add esp, 8
lea edi, [esi + 4]
cmp ebx, esi
jae 0x43c27c
mov eax, esi
nop word [eax + eax]
movss xmm1, dword [esi - 4]
movss xmm0, dword [esi]
comiss xmm0, xmm1
ja 0x43c27c
comiss xmm1, xmm0
ja 0x43c27c
lea esi, [eax - 4]
mov eax, esi
cmp ebx, esi
jb 0x43c260
mov eax, dword [esp + 0x10]
cmp edi, eax
jae 0x43c2a5
movss xmm1, dword [esi]
nop dword [eax + eax]
movss xmm0, dword [edi]
comiss xmm1, xmm0
ja 0x43c2a5
comiss xmm0, xmm1
ja 0x43c2a5
add edi, 4
cmp edi, eax
jb 0x43c290
mov ecx, edi
mov edx, esi
nop dword [eax]
cmp ecx, eax
jae 0x43c2e0
movss xmm0, dword [esi]
movss xmm1, dword [ecx]
comiss xmm1, xmm0
ja 0x43c2d9
comiss xmm0, xmm1
ja 0x43c2e0
cmp edi, ecx
je 0x43c2d6
movss xmm0, dword [edi]
movss dword [edi], xmm1
movss dword [ecx], xmm0
add edi, 4
add ecx, 4
cmp ecx, eax
jb 0x43c2b4
cmp edx, ebx
jbe 0x43c325
lea eax, [edx - 4]
nop word [eax + eax]
movss xmm1, dword [eax]
movss xmm0, dword [esi]
comiss xmm0, xmm1
ja 0x43c315
comiss xmm1, xmm0
ja 0x43c31f
sub esi, 4
cmp esi, eax
je 0x43c315
movss xmm0, dword [esi]
movss dword [esi], xmm1
movss dword [eax], xmm0
sub edx, 4
sub eax, 4
cmp ebx, edx
jb 0x43c2f0
mov eax, dword [esp + 0x10]
cmp edx, ebx
jne 0x43c359
cmp ecx, eax
je 0x43c3a4
cmp edi, ecx
je 0x43c33b
movss xmm0, dword [esi]
mov eax, dword [edi]
mov dword [esi], eax
movss dword [edi], xmm0
mov eax, dword [ecx]
add edi, 4
movss xmm0, dword [esi]
mov dword [esi], eax
add esi, 4
mov eax, dword [esp + 0x10]
movss dword [ecx], xmm0
add ecx, 4
jmp 0x43c2b0
add edx, 0xfffffffc
cmp ecx, eax
jne 0x43c38c
sub esi, 4
cmp edx, esi
je 0x43c373
movss xmm0, dword [edx]
mov eax, dword [esi]
mov dword [edx], eax
movss dword [esi], xmm0
mov eax, dword [edi - 4]
sub edi, 4
movss xmm0, dword [esi]
mov dword [esi], eax
mov eax, dword [esp + 0x10]
movss dword [edi], xmm0
jmp 0x43c2b0
movss xmm0, dword [ecx]
mov eax, dword [edx]
mov dword [ecx], eax
add ecx, 4
mov eax, dword [esp + 0x10]
movss dword [edx], xmm0
jmp 0x43c2b0
mov ecx, dword [ebp + 8]
mov eax, ecx
mov edx, dword [esp + 0x10]
sar eax, 2
sar ecx, 1
add ecx, eax
mov eax, esi
mov dword [ebp + 8], ecx
sub eax, ebx
mov ecx, edx
and eax, 0xfffffffc
sub ecx, edi
and ecx, 0xfffffffc
cmp eax, ecx
mov eax, dword [ebp + 0xc]
push eax
push dword [ebp + 8]
jge 0x43c3e1
mov edx, esi
mov ecx, ebx
call fcn.0043c200
mov ebx, edi
mov edi, dword [esp + 0x18]
jmp 0x43c3ee
mov ecx, edi
call fcn.0043c200
mov edi, esi
mov dword [esp + 0x18], edi
mov edx, dword [ebp + 0xc]
mov eax, edi
sub eax, ebx
add esp, 8
mov ecx, eax
sar ecx, 2
cmp ecx, 0x20
jg 0x43c230
cmp ecx, 2
jl 0x43c5ad
cmp ebx, edi
je 0x43c5ad
lea edx, [ebx + 4]
mov esi, edx
cmp esi, edi
je 0x43c5ad
mov eax, 4
mov dword [esp + 0x14], eax
nop dword [eax]
movss xmm1, dword [esi]
mov ecx, esi
movss xmm0, dword [ebx]
comiss xmm0, xmm1
movss dword [esp + 0x1c], xmm1
jbe 0x43c570
push eax
push ebx
push edx
call fcn.004bfcc0
movss xmm0, dword [esp + 0x28]
lea edx, [ebx + 4]
add esp, 0xc
movss dword [ebx], xmm0
jmp 0x43c597
cmp ecx, 0x20
jle 0x43c406
sub edi, ebx
mov eax, edi
mov dword [esp + 0x10], edi
sar eax, 2
mov esi, eax
mov dword [esp + 0x14], eax
sar esi, 1
test esi, esi
jle 0x43c51c
lea ecx, [eax - 1]
mov dword [esp + 0x1c], ecx
sar ecx, 1
mov dword [esp + 0x18], ecx
mov edi, ecx
movss xmm1, dword [ebx + esi*4 - 4]
dec esi
mov edx, esi
mov ecx, esi
cmp esi, edi
jge 0x43c4cc
add ecx, ecx
xor eax, eax
movss xmm0, dword [ebx + ecx*4 + 4]
comiss xmm0, dword [ebx + ecx*4 + 8]
seta al
xor eax, 1
inc eax
add ecx, eax
mov eax, dword [ebx + ecx*4]
mov dword [ebx + edx*4], eax
mov edx, ecx
cmp ecx, edi
jl 0x43c4a4
mov eax, dword [esp + 0x14]
cmp ecx, edi
jne 0x43c4df
test al, 1
jne 0x43c4df
mov eax, dword [ebx + eax*4 - 4]
mov dword [ebx + edx*4], eax
mov edx, dword [esp + 0x1c]
lea eax, [edx - 1]
sar eax, 1
cmp esi, edx
jge 0x43c508
nop dword [eax + eax]
movss xmm0, dword [ebx + eax*4]
comiss xmm1, xmm0
jbe 0x43c508
movss dword [ebx + edx*4], xmm0
mov edx, eax
dec eax
sar eax, 1
cmp esi, edx
jl 0x43c4f0
mov eax, dword [esp + 0x14]
movss dword [ebx + edx*4], xmm1
test esi, esi
jg 0x43c495
mov edi, dword [esp + 0x10]
mov edx, dword [ebp + 0xc]
cmp eax, 2
jl 0x43c5ad
cmp eax, 2
jl 0x43c555
movss xmm0, dword [ebx + edi - 4]
mov ecx, ebx
mov eax, dword [ebx]
mov dword [ebx + edi - 4], eax
lea eax, [esp + 0x1c]
push edx
push eax
lea eax, [edi - 4]
movss dword [esp + 0x24], xmm0
sar eax, 2
xor edx, edx
push eax
call fcn.004530e0
add esp, 0xc
mov edx, dword [ebp + 0xc]
sub edi, 4
mov eax, edi
sar eax, 2
mov dword [esp + 0x14], eax
cmp eax, 2
jge 0x43c525
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
add eax, 0xfffffffc
add eax, ebx
movss xmm0, dword [eax]
comiss xmm0, xmm1
jbe 0x43c593
nop
movss dword [ecx], xmm0
mov ecx, eax
movss xmm0, dword [eax - 4]
sub eax, 4
comiss xmm0, xmm1
ja 0x43c580
movss dword [ecx], xmm1
mov eax, dword [esp + 0x14]
add esi, 4
add eax, 4
mov dword [esp + 0x14], eax
cmp esi, edi
jne 0x43c430
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret