Function at 0x436450
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0x2c], edx
xor edx, edx
test eax, eax
mov dword [ebp - 0x30], ecx
push esi
cmovle eax, edx
mov dword [ebp - 0x24], 1
push edi
mov dword [ebp - 0x34], eax
lea edi, [ecx + 0xc]
movsx eax, word [edi]
mov ecx, edi
imul eax, dword [ebp + edx*4 - 0x24]
mov esi, edx
add edi, 4
mov dword [ebp + edx*4 - 0x20], eax
inc edx
cmp word [ecx + 2], 1
jne 0x436492
mov ecx, dword [ebp - 0x30]
movsx eax, word [ecx + edx*4 + 0xa]
mov dword [ebp - 0x28], eax
test esi, esi
js 0x4366bf
movss xmm6, dword [0x92bc70]
movss xmm5, dword [0x92b478]
movss xmm7, dword [0x92b780]
nop dword [eax + eax]
lea edx, [esi*4]
test esi, esi
je 0x4364f2
movsx edi, word [edx + ecx + 0xa]
jmp 0x4364f7
mov edi, 1
movsx eax, word [ecx + esi*4 + 0xc]
add eax, 0xfffffffe
cmp eax, 3
ja case.default.0x436508
jmp dword [eax*4 + 0x4366e4]
cmp dword [ebp - 0x28], 4
mov edx, dword [ebp + edx - 0x24]
jne 0x4366d2
test edx, edx
jle case.default.0x436508
mov eax, dword [ebp - 0x2c]
add eax, 0x28
nop dword [eax + eax]
movss xmm2, dword [eax - 0x28]
movss xmm3, dword [eax - 8]
movaps xmm0, xmm2
movss xmm4, dword [eax - 4]
subss xmm0, xmm3
addss xmm2, xmm3
movss dword [eax - 8], xmm0
movss xmm1, dword [eax - 0x24]
movaps xmm0, xmm1
addss xmm1, xmm4
subss xmm0, xmm4
movss dword [eax - 4], xmm0
movss xmm0, dword [eax - 0x20]
movss dword [eax - 0x28], xmm2
movss dword [eax - 0x24], xmm1
movss xmm4, dword [eax + 4]
movaps xmm3, xmm4
addss xmm3, dword [eax]
subss xmm4, dword [eax]
mulss xmm3, xmm5
mulss xmm4, xmm5
subss xmm0, xmm3
movss dword [eax], xmm0
movss xmm0, dword [eax - 0x1c]
subss xmm0, xmm4
movss dword [eax + 4], xmm0
addss xmm4, dword [eax - 0x1c]
addss xmm3, dword [eax - 0x20]
movss xmm2, dword [eax - 0x18]
movaps xmm0, xmm2
movss dword [eax - 0x1c], xmm4
movss dword [eax - 0x20], xmm3
movss xmm3, dword [eax + 0xc]
movss xmm4, dword [eax + 8]
subss xmm0, xmm3
xorps xmm4, xmm6
addss xmm2, xmm3
movss dword [eax + 8], xmm0
movss xmm0, dword [eax - 0x14]
subss xmm0, xmm4
movss dword [eax + 0xc], xmm0
addss xmm4, dword [eax - 0x14]
movss xmm0, dword [eax - 0x10]
movss dword [eax - 0x18], xmm2
movss dword [eax - 0x14], xmm4
movss xmm4, dword [eax + 0x14]
movaps xmm3, xmm4
subss xmm3, dword [eax + 0x10]
addss xmm4, dword [eax + 0x10]
mulss xmm3, xmm5
mulss xmm4, xmm7
subss xmm0, xmm3
movss dword [eax + 0x10], xmm0
movss xmm0, dword [eax - 0xc]
subss xmm0, xmm4
movss dword [eax + 0x14], xmm0
addss xmm3, dword [eax - 0x10]
addss xmm4, dword [eax - 0xc]
movss dword [eax - 0x10], xmm3
movss dword [eax - 0xc], xmm4
add eax, 0x40
sub edx, 1
jne 0x436530
jmp case.default.0x436508
mov edx, dword [ebp + edx - 0x24]
push edi
push edx
push dword [ebp - 0x28]
push ecx
mov ecx, dword [ebp - 0x34]
shl edx, cl
mov ecx, dword [ebp - 0x2c]
call fcn.00435be0
jmp 0x436695
mov edx, dword [ebp + edx - 0x24]
push edi
push edx
push dword [ebp - 0x28]
push ecx
mov ecx, dword [ebp - 0x34]
shl edx, cl
mov ecx, dword [ebp - 0x2c]
call fcn.00435eb0
jmp 0x436695
mov edx, dword [ebp + edx - 0x24]
push edi
push edx
push dword [ebp - 0x28]
push ecx
mov ecx, dword [ebp - 0x34]
shl edx, cl
mov ecx, dword [ebp - 0x2c]
call fcn.00436040
movss xmm5, dword [0x92b478]
add esp, 0x10
movss xmm6, dword [0x92bc70]
movss xmm7, dword [0x92b780]
mov ecx, dword [ebp - 0x30]
sub esi, 1
mov dword [ebp - 0x28], edi
jns 0x4364e0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004575d6
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0x4c
mov edx, 0x6bc170
mov ecx, str.assertion_failed:_m4
call fcn.00403f00
nop
pcmpgtw mm0, qword [ebx]
inc bx
add byte [esi + 67], cl
add byte [esi + 0x66], bh
inc ebx
add ah, cl
int3