Function at 0x10245090
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x80
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp + 0x20]
test ecx, ecx
mov eax, 0x102e7040
mov edi, 0x103f5020
cmove edi, eax
mov eax, 0x80
shr eax, cl
mov dword [ebp - 0x38], eax
mov ebx, 0x480
shr ebx, cl
mov eax, 0x40
shr eax, cl
mov dword [ebp - 0x18], eax
mov eax, 0xc0
shr eax, cl
mov dword [ebp - 0x34], eax
mov eax, 0x100
shr eax, cl
mov dword [ebp - 0x30], eax
mov eax, 0x1c0
shr eax, cl
mov dword [ebp - 0x2c], eax
mov eax, 0x200
shr eax, cl
mov dword [ebp - 0x28], eax
mov eax, 0x140
shr eax, cl
mov dword [ebp - 0x14], eax
mov esi, 0x2c0
shr esi, cl
mov dword [ebp - 0x88], esi
mov esi, 0x180
shr esi, cl
mov eax, 0x300
shr eax, cl
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x1c], edx
mov eax, 0x3c0
shr eax, cl
mov dword [ebp - 0x80], eax
mov eax, 0x900
sub eax, ebx
shl ebx, 2
mov dword [ebp - 0x50], ebx
mov edx, 0x400
shr edx, cl
mov dword [ebp - 0x7c], edx
mov edx, 0x240
shr edx, cl
mov ebx, dword [ebp - 0x14]
lea ebx, [edi + ebx*4]
mov dword [ebp - 0x78], ebx
lea esi, [edi + esi*4]
mov dword [ebp - 0x74], esi
lea edx, [edi + edx*4]
mov dword [ebp - 0x70], edx
mov edx, 0x4c0
shr edx, cl
mov dword [ebp - 0x6c], edx
mov ecx, dword [ebp + 0x10]
mov ebx, 0x80
add ebx, ecx
movaps xmm1, xmmword [0x102a8d80]
mov edx, dword [ebp + 0x1c]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x4c], eax
mov esi, dword [ebp + 0x18]
lea eax, [esi + eax*4]
mov dword [ebp - 0x48], eax
mov eax, 0x100
mov esi, dword [ebp + 0x14]
lea eax, [esi + eax]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x18]
lea eax, [edi + eax*4]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x38]
lea eax, [edi + eax*4]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x34]
lea eax, [edi + eax*4]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x30]
lea eax, [edi + eax*4]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x2c]
lea eax, [edi + eax*4]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x8c], edi
mov eax, dword [ebp - 0x28]
lea eax, [edi + eax*4]
mov dword [ebp - 0x54], eax
lea eax, [ecx + 0x267c]
mov dword [ebp - 0x3c], eax
xor eax, eax
mov dword [ebp - 0x20], eax
mov eax, dword [edx]
mov edi, dword [ebp - 0x38]
cmp eax, edi
jge 0x1024520e
push dword [ebp - 0x50]
push dword [ebp + 0x18]
push dword [ebp - 0x48]
call fcn.10132610
mov edx, dword [ebp + 0x1c]
movaps xmm1, xmmword [0x102a8d80]
add esp, 0xc
mov eax, dword [ebp - 0x4c]
sub eax, edi
mov dword [edx], eax
mov ecx, dword [ebp + 0x18]
lea eax, [ecx + eax*4]
cmp dword [ebp + 0x20], 0
mov dword [ebp - 0x14], eax
je 0x10245432
mov eax, 0xffffff80
mov ecx, dword [ebp - 0x3c]
movss xmm0, dword [ebx + eax]
xorps xmm0, xmm1
movss dword [ebx + eax], xmm0
movss xmm0, dword [ecx]
movss dword [ebx + eax + 0x80], xmm0
add ecx, 0xfffffffc
add eax, 4
jne 0x1024522d
mov esi, dword [ebp - 0x24]
mov ecx, dword [esi + 0x2c]
mov edi, dword [ebp - 0x20]
shl edi, 8
add edi, dword [ebp + 0x10]
call dword [section..00cfg]
push edi
mov edi, dword [ebp + 0x14]
push edi
push esi
call ecx
add esp, 0xc
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x14]
call dword [section..00cfg]
push edi
mov eax, dword [ebp - 0x14]
mov edi, eax
push eax
call ecx
add esp, 8
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
call dword [section..00cfg]
push dword [ebp - 0x18]
push dword [ebp - 0x8c]
push edi
mov esi, dword [ebp - 0x40]
push esi
call ecx
add esp, 0x10
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
mov eax, dword [ebp - 0x34]
lea eax, [edi + eax*4]
mov dword [ebp - 0x10], eax
call dword [section..00cfg]
mov edi, esi
mov esi, dword [ebp - 0x18]
push esi
push edi
push dword [ebp - 0x68]
push dword [ebp - 0x10]
push edi
call ecx
add esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x14]
lea eax, [edx + eax*4]
mov dword [ebp - 0x10], eax
call dword [section..00cfg]
push esi
push edi
push dword [ebp - 0x64]
push dword [ebp - 0x10]
push edi
call ecx
add esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
mov eax, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x14]
lea eax, [esi + eax*4]
mov dword [ebp - 0x10], eax
call dword [section..00cfg]
push dword [ebp - 0x18]
push edi
push dword [ebp - 0x60]
push dword [ebp - 0x10]
push edi
call ecx
add esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
mov eax, dword [ebp - 0x28]
lea eax, [esi + eax*4]
mov dword [ebp - 0x10], eax
call dword [section..00cfg]
mov esi, dword [ebp - 0x18]
push esi
push edi
push dword [ebp - 0x5c]
push dword [ebp - 0x10]
push edi
call ecx
add esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
mov eax, dword [ebp - 0x88]
mov edx, dword [ebp - 0x14]
lea eax, [edx + eax*4]
mov dword [ebp - 0x10], eax
call dword [section..00cfg]
push esi
push edi
push dword [ebp - 0x78]
push dword [ebp - 0x10]
push edi
call ecx
add esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
mov eax, dword [ebp - 0x84]
mov esi, dword [ebp - 0x14]
lea eax, [esi + eax*4]
mov dword [ebp - 0x10], eax
call dword [section..00cfg]
push dword [ebp - 0x18]
push edi
push dword [ebp - 0x74]
push dword [ebp - 0x10]
push edi
call ecx
add esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
mov eax, dword [ebp - 0x80]
lea eax, [esi + eax*4]
mov dword [ebp - 0x10], eax
call dword [section..00cfg]
mov esi, dword [ebp - 0x18]
push esi
push edi
push dword [ebp - 0x58]
push dword [ebp - 0x10]
push edi
call ecx
add esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
mov eax, dword [ebp - 0x7c]
mov edx, dword [ebp - 0x14]
lea eax, [edx + eax*4]
mov dword [ebp - 0x10], eax
call dword [section..00cfg]
push esi
push edi
push dword [ebp - 0x54]
push dword [ebp - 0x10]
push edi
call ecx
add esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
mov eax, dword [ebp - 0x6c]
mov edx, dword [ebp - 0x14]
lea eax, [edx + eax*4]
mov dword [ebp - 0x14], eax
call dword [section..00cfg]
push esi
push edi
push dword [ebp - 0x70]
push dword [ebp - 0x14]
push edi
call ecx
add esp, 0x14
lea edi, [edi + esi*4]
mov dword [ebp - 0x40], edi
mov ecx, dword [ebp - 0x20]
inc ecx
mov eax, 0x100
add ebx, eax
add dword [ebp - 0x3c], eax
cmp ecx, 0x20
movaps xmm1, xmmword [0x102a8d80]
mov edx, dword [ebp + 0x1c]
mov eax, ecx
jne 0x102451e4
jmp 0x102454a9
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ecx + 8]
mov edi, dword [ebp - 0x20]
shl edi, 8
mov eax, dword [ebp + 0x10]
lea esi, [eax + edi]
add esi, 0x2600
mov dword [ebp - 0x10], esi
call dword [section..00cfg]
push esi
call ecx
add esp, 4
mov esi, dword [ebp - 0x24]
mov ecx, dword [esi + 0x2c]
add edi, dword [ebp + 0x10]
call dword [section..00cfg]
push edi
mov edi, dword [ebp + 0x14]
push edi
push esi
call ecx
add esp, 0xc
mov ecx, dword [esi + 0x2c]
call dword [section..00cfg]
push dword [ebp - 0x10]
mov edi, dword [ebp - 0x44]
push edi
push esi
call ecx
add esp, 0xc
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x18]
call dword [section..00cfg]
push dword [ebp + 0x14]
push edi
mov eax, dword [ebp - 0x14]
mov edi, eax
push eax
call ecx
add esp, 0xc
jmp 0x10245287
add esp, 0x80
pop esi
pop edi
pop ebx
pop ebp
ret