Function at 0x42fd40
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, 0xd8
mov eax, dword [0x4b3008]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm0, xmm2
movsd qword [ebp - 0x90], xmm2
mulsd xmm0, qword [0x4af348]
movaps xmm7, xmm1
mov eax, ecx
mulsd xmm7, qword [0x4af6e8]
xorps xmm5, xmm5
push esi
push edi
mulsd xmm0, xmm3
xorps xmm6, xmm6
mov edi, dword [eax + 0xd0]
xor esi, esi
xorps xmm3, xmm3
mov dword [ebp - 0x94], eax
movsd qword [ebp - 0xc8], xmm5
xorps xmm4, xmm4
movsd qword [ebp - 0xa8], xmm6
movsd qword [ebp - 0xa0], xmm3
movsd qword [ebp - 0xb8], xmm4
mov dword [ebp - 0x78], edi
divsd xmm7, xmm0
movsd qword [ebp - 0x88], xmm7
test edi, edi
jle 0x42ff36
lea ecx, [eax + 0x22e8]
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x74], ecx
nop dword [eax]
movsd xmm0, qword [esi*8 + 0x4a5050]
xor eax, eax
divsd xmm0, qword [esi*8 + 0x4a4f90]
mov dword [ebp - 0x70], eax
movsd xmm1, qword [0x4aec70]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_pow_precise
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x70]
movsd qword [ebp - 0xc0], xmm0
movsd xmm0, qword [eax*8 + 0x4a5050]
divsd xmm0, qword [eax*8 + 0x4a4f90]
movsd xmm1, qword [0x4aec70]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_pow_precise
addsd xmm0, qword [ebp - 0xc0]
movsd xmm1, qword [0x4af1d0]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_pow_precise
mov eax, dword [ebp - 0x6c]
movsd xmm1, qword [eax + esi*8]
mov eax, dword [ebp - 0x7c]
mulsd xmm1, qword [eax]
mov eax, dword [ebp - 0x70]
mulsd xmm0, xmm1
movsd xmm1, qword [0x4aed20]
movsd qword [ebp - 0xd0], xmm0
addsd xmm0, qword [ebp - 0xa0]
movsd qword [ebp - 0xa0], xmm0
movsd qword [ebp - 0xb0], xmm0
movsd xmm0, qword [esi*8 + 0x4a4ff0]
mulsd xmm0, qword [eax*8 + 0x4a4ff0]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_pow_precise
mulsd xmm0, qword [ebp - 0xd0]
mov eax, dword [ebp - 0x70]
add dword [ebp - 0x7c], 8
inc eax
mov dword [ebp - 0x70], eax
addsd xmm0, qword [ebp - 0xb8]
movsd qword [ebp - 0xb8], xmm0
movaps xmm4, xmm0
cmp eax, edi
jl 0x42fe25
mov eax, dword [ebp - 0x74]
movsd xmm6, qword [esi*8 + 0x4a4f30]
inc esi
movsd xmm3, qword [ebp - 0xb0]
movsd qword [ebp - 0xa0], xmm3
mulsd xmm6, qword [eax]
add eax, 8
mov dword [ebp - 0x74], eax
movsd qword [ebp - 0xb8], xmm4
addsd xmm6, qword [ebp - 0xa8]
movsd qword [ebp - 0xa8], xmm6
cmp esi, edi
jl 0x42fdf0
movsd xmm2, qword [ebp - 0x90]
xorps xmm5, xmm5
movsd xmm7, qword [ebp - 0x88]
mulsd xmm3, qword [0x4aeb70]
movsd xmm1, qword [0x4aeef0]
mulsd xmm6, qword [0x4aeb18]
divsd xmm1, xmm3
movaps xmm3, xmm1
movaps xmm0, xmm1
mulsd xmm3, qword [0x4aeb70]
mulsd xmm0, qword [0x4ae980]
divsd xmm7, xmm1
mulsd xmm3, xmm4
movsd xmm4, qword [0x4aec38]
movsd qword [ebp - 0x88], xmm7
subsd xmm4, xmm6
mulsd xmm0, xmm3
movsd qword [ebp - 0xd8], xmm3
mulsd xmm4, xmm0
movaps xmm0, xmm2
divsd xmm0, xmm3
movsd qword [ebp - 0xd0], xmm4
movsd qword [ebp - 0xc0], xmm0
test edi, edi
jle 0x4301ab
divsd xmm2, qword [0x4af5d0]
mov edx, dword [ebp - 0x78]
lea eax, [ebp - 0x68]
mov edi, 0x4a44b0
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x6c], edx
movsd qword [ebp - 0x90], xmm2
nop dword [eax]
nop dword [eax + eax]
movsd qword [ebp - 0xa8], xmm5
xor esi, esi
nop word [eax + eax]
movd xmm1, esi
movaps xmm0, xmm2
cvtdq2pd xmm1, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_pow_precise
mulsd xmm0, qword [edi]
inc esi
mov eax, dword [ebp - 0x74]
add edi, 8
movsd xmm2, qword [ebp - 0x90]
addsd xmm0, qword [ebp - 0xa8]
movsd qword [ebp - 0xa8], xmm0
movsd qword [eax], xmm0
cmp esi, 3
jle 0x42fff0
add eax, 8
xorps xmm5, xmm5
sub dword [ebp - 0x6c], 1
mov dword [ebp - 0x74], eax
jne 0x42ffe0
mov ecx, dword [ebp - 0x94]
xorps xmm0, xmm0
mov edi, dword [ebp - 0x78]
add ecx, 0x22e8
mov edx, edi
mov dword [ebp - 0x7c], ecx
movsd qword [ebp - 0xa0], xmm0
xor esi, esi
mov dword [ebp - 0xb4], edx
mov dword [ebp - 0x74], ecx
xorps xmm0, xmm0
mov dword [ebp - 0x6c], ecx
xor eax, eax
movsd qword [ebp - 0xa8], xmm0
mov dword [ebp - 0x70], eax
nop dword [eax + eax]
movsd xmm0, qword [ebp + esi*8 - 0x68]
divsd xmm0, qword [ebp + eax*8 - 0x68]
mov dword [ebp - 0x8c], edx
movsd xmm1, qword [0x4aed20]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_pow_precise
mov eax, dword [ebp - 0x70]
movsd qword [ebp - 0xb0], xmm0
movsd xmm1, qword [0x4aec20]
movsd xmm0, qword [eax*8 + 0x4a5050]
divsd xmm0, qword [esi*8 + 0x4a5050]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_pow_precise
mulsd xmm0, qword [ebp - 0xb0]
movsd xmm1, qword [0x4af118]
addsd xmm0, qword [0x4aeef0]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_pow_precise
mov eax, dword [ebp - 0x6c]
movsd xmm1, qword [0x4aed20]
mulsd xmm0, qword [eax]
mov eax, dword [ebp - 0x70]
movsd qword [ebp - 0xb0], xmm0
movsd xmm0, qword [esi*8 + 0x4a5050]
divsd xmm0, qword [eax*8 + 0x4a5050]
addsd xmm0, qword [0x4aeef0]
mulsd xmm0, qword [0x4af328]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_pow_precise
movsd xmm1, qword [ebp - 0xb0]
divsd xmm1, xmm0
mov eax, dword [ebp - 0x70]
add dword [ebp - 0x6c], 8
inc eax
mov edx, dword [ebp - 0xb4]
mov dword [ebp - 0x70], eax
addsd xmm1, qword [ebp - 0xa8]
movsd qword [ebp - 0xa8], xmm1
cmp eax, edi
jl 0x430080
mov edx, dword [ebp - 0x74]
movsd xmm0, qword [ebp + esi*8 - 0x68]
inc esi
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x7c], ecx
mulsd xmm0, qword [edx]
add edx, 8
mov dword [ebp - 0x74], edx
mov edx, dword [ebp - 0x8c]
mov dword [ebp - 0xb4], edx
divsd xmm0, xmm1
addsd xmm0, qword [ebp - 0xa0]
movsd qword [ebp - 0xa0], xmm0
cmp esi, edx
jl 0x430065
movsd xmm7, qword [ebp - 0x88]
xorps xmm5, xmm5
jmp 0x4301b3
movsd qword [ebp - 0xa0], xmm5
mov eax, dword [ebp - 0x78]
xor edx, edx
mov dword [ebp - 0x6c], edx
nop dword [eax + eax]
xor edi, edi
lea esi, [edx*8]
movaps xmm2, xmm5
cmp eax, 4
jl 0x43024a
mov edx, dword [ebp - 0x78]
lea ecx, [esi + 0x4a41b0]
mov eax, dword [ebp - 0x94]
add edx, 0xfffffffc
shr edx, 2
add eax, 0x22f0
inc edx
lea edi, [edx*4]
nop dword [eax]
nop word [eax + eax]
movsd xmm1, qword [ecx - 0x30]
mulsd xmm1, qword [eax - 8]
movsd xmm0, qword [ecx]
mulsd xmm0, qword [eax]
addsd xmm2, xmm1
addsd xmm2, xmm0
movsd xmm0, qword [ecx + 0x30]
mulsd xmm0, qword [eax + 8]
addsd xmm2, xmm0
movsd xmm0, qword [ecx + 0x60]
mulsd xmm0, qword [eax + 0x10]
add ecx, 0xc0
add eax, 0x20
addsd xmm2, xmm0
sub edx, 1
jne 0x430200
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x78]
cmp edi, eax
jge 0x430294
mov ecx, dword [ebp - 0x94]
lea eax, [edi + edi*2]
add ecx, 0x22e8
lea eax, [edx + eax*2]
mov edx, dword [ebp - 0x78]
lea eax, [eax*8 + 0x4a4180]
sub edx, edi
lea ecx, [ecx + edi*8]
nop
movsd xmm0, qword [ecx]
add ecx, 8
mulsd xmm0, qword [eax]
add eax, 0x30
addsd xmm2, xmm0
sub edx, 1
jne 0x430270
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x78]
lea esi, [edx*8]
addsd xmm2, qword [esi + 0x4a43c0]
inc edx
mov dword [ebp - 0x6c], edx
movsd qword [ebp + esi - 0x38], xmm2
cmp edx, 6
jl 0x4301c0
movsd xmm1, qword [ebp - 0x30]
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_pow_precise
mulsd xmm0, qword [ebp - 0x38]
movsd xmm1, qword [ebp - 0x28]
movsd qword [ebp - 0x90], xmm0
movsd xmm0, qword [ebp - 0xc0]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_pow_precise
movsd xmm1, qword [ebp - 0x90]
mulsd xmm1, xmm0
movsd xmm0, qword [ebp - 0x88]
movsd qword [ebp - 0x90], xmm1
movsd xmm1, qword [ebp - 0x18]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_pow_precise
mulsd xmm0, qword [ebp - 0x20]
movsd xmm1, qword [ebp - 0x10]
movsd qword [ebp - 0x88], xmm0
movsd xmm0, qword [ebp - 0xc0]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_pow_precise
movsd xmm1, qword [ebp - 0x88]
xor esi, esi
mulsd xmm1, xmm0
movsd qword [ebp - 0x88], xmm1
nop word [eax + eax]
movsd xmm0, qword [ebp - 0x90]
movsd xmm1, qword [esi + 0x4a4430]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_pow_precise
mulsd xmm0, qword [esi + 0x4a4470]
movsd xmm1, qword [esi + 0x4a43f0]
xorps xmm1, xmmword [0x4afba0]
movsd qword [ebp - 0xb0], xmm0
movsd xmm0, qword [ebp - 0x88]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_pow_precise
movsd xmm1, qword [ebp - 0xb0]
add esi, 8
mulsd xmm1, xmm0
movsd xmm0, qword [ebp - 0xc8]
addsd xmm0, xmm1
movsd qword [ebp - 0xc8], xmm0
cmp esi, 0x40
jl 0x430340
mov eax, dword [ebp - 0x94]
movsd xmm1, qword [0x4aed20]
movsd xmm0, qword [eax + 0x68]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_pow_precise
mulsd xmm0, qword [0x4af188]
movsd xmm1, qword [0x4aeda8]
movsd qword [ebp - 0x88], xmm0
movsd xmm0, qword [ebp - 0xd0]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_pow_precise
movsd xmm1, qword [ebp - 0x88]
mulsd xmm1, xmm0
movsd xmm0, qword [ebp - 0xd8]
movsd qword [ebp - 0x88], xmm1
movsd xmm1, qword [0x4aeb98]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_pow_precise
movsd xmm1, qword [ebp - 0x88]
divsd xmm1, xmm0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
mulsd xmm1, qword [ebp - 0xc8]
addsd xmm1, qword [ebp - 0xa0]
mulsd xmm1, qword [0x4ae888]
movaps xmm0, xmm1
call fcn.004a034d
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret