Function at 0x10023180
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x68
mov ecx, dword [esp + 0x90]
mov eax, 0x100722e0
push esi
push edi
test ecx, ecx
mov esi, dword [esp + 0x94]
mov edi, 0x100cc240
mov dword [esp + 0x54], 0x20
cmove edi, eax
mov edx, 0x80
mov eax, 0x40
sar edx, cl
sar eax, cl
mov dword [esp + 0x6c], eax
shl eax, 2
mov dword [esp + 8], eax
add eax, edi
mov dword [esp + 0x4c], eax
mov eax, 0xc0
sar eax, cl
shl eax, 2
mov dword [esp + 0x48], eax
add eax, edi
mov dword [esp + 0x3c], eax
mov eax, 0x1c0
sar eax, cl
shl eax, 2
mov dword [esp + 0x5c], eax
mov dword [esp + 0x64], edx
lea edx, [edi + edx*4]
mov dword [esp + 0x44], edx
mov edx, 0x100
sar edx, cl
shl edx, 2
mov dword [esp + 0x40], edx
mov dword [esp + 0x50], edi
lea eax, [edx + edi]
mov edx, 0x200
mov dword [esp + 0x38], eax
mov eax, 0x140
sar eax, cl
sar edx, cl
shl edx, 2
mov dword [esp + 0x34], edx
lea eax, [edi + eax*4]
mov dword [esp + 0x30], eax
mov eax, 0x2c0
sar eax, cl
shl eax, 2
mov dword [esp + 0x2c], eax
mov eax, 0x180
sar eax, cl
lea eax, [edi + eax*4]
mov dword [esp + 0x28], eax
mov eax, 0x300
sar eax, cl
shl eax, 2
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x5c]
add eax, edi
mov dword [esp + 0x20], eax
mov eax, 0x3c0
sar eax, cl
shl eax, 2
mov dword [esp + 0x1c], eax
lea eax, [edx + edi]
mov edx, dword [esp + 0x88]
mov dword [esp + 0x18], eax
mov eax, 0x400
sar eax, cl
shl eax, 2
mov dword [esp + 0x14], eax
mov eax, 0x240
sar eax, cl
mov dword [esp + 0x68], edx
lea eax, [edi + eax*4]
mov dword [esp + 0x10], eax
mov eax, 0x4c0
sar eax, cl
shl eax, 2
mov dword [esp + 0xc], eax
mov edi, dword [esp + 0x84]
mov ecx, dword [esp + 0x7c]
movss xmm1, dword [0x100719a0]
mov dword [esp + 0x58], edi
mov esi, dword [esi]
mov eax, dword [esp + 0x64]
cmp esi, eax
jge 0x1002330d
mov ecx, dword [esp + 0x98]
mov eax, 0x480
sar eax, cl
mov esi, 0x900
sub esi, eax
shl eax, 2
push eax
mov eax, dword [esp + 0x94]
push eax
lea eax, [eax + esi*4]
push eax
call sub.VCRUNTIME140.dll_memcpy
movss xmm1, dword [0x100719a0]
add esp, 0xc
sub esi, dword [esp + 0x64]
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x7c]
jmp 0x1002330f
sub esi, eax
cmp dword [esp + 0x98], 0
mov eax, dword [esp + 0x94]
mov dword [eax], esi
mov eax, dword [esp + 0x90]
lea eax, [eax + esi*4]
mov dword [esp + 0x60], eax
je 0x10023390
mov ecx, edx
mov esi, 0x20
add edx, 0x267c
nop dword [eax]
movss xmm0, dword [ecx]
lea ecx, [ecx + 4]
lea edx, [edx - 4]
xorps xmm0, xmm1
movss dword [ecx - 4], xmm0
mov eax, dword [edx + 4]
mov dword [ecx + 0x7c], eax
sub esi, 1
jne 0x10023340
mov esi, dword [esp + 0x8c]
push 4
push dword [esp + 0x6c]
push esi
push dword [esp + 0x80]
call dword [esp + 0x88]
mov eax, dword [esp + 0x8c]
push esi
mov esi, dword [esp + 0x74]
push esi
mov eax, dword [eax + 0x14]
call eax
add esp, 0x18
jmp 0x100233f7
mov eax, dword [ecx + 8]
lea edi, [edx + 0x2600]
push edi
call eax
mov esi, dword [esp + 0x90]
push 4
push dword [esp + 0x70]
push esi
push dword [esp + 0x84]
call dword [esp + 0x8c]
push 4
push edi
add esi, 0x100
push esi
push dword [esp + 0x94]
call dword [esp + 0x9c]
mov eax, dword [esp + 0xb0]
push eax
mov eax, dword [esp + 0xa4]
push esi
mov esi, dword [esp + 0x8c]
push esi
mov eax, dword [eax + 0x18]
call eax
mov edi, dword [esp + 0x88]
add esp, 0x30
push dword [esp + 0x6c]
mov eax, dword [esp + 0x84]
push dword [esp + 0x54]
push esi
mov eax, dword [eax]
push edi
call eax
push dword [esp + 0x7c]
mov eax, dword [esp + 0x5c]
push edi
push dword [esp + 0x64]
add eax, esi
push eax
mov eax, dword [esp + 0xa0]
push edi
mov eax, dword [eax + 0x18]
call eax
push dword [esp + 0x90]
mov eax, dword [esp + 0x68]
push edi
push dword [esp + 0x70]
add eax, esi
push eax
mov eax, dword [esp + 0xb4]
push edi
mov eax, dword [eax + 0x18]
call eax
push dword [esp + 0xa4]
mov eax, dword [esp + 0x98]
push edi
push dword [esp + 0x7c]
add eax, esi
push eax
mov eax, dword [esp + 0xc8]
push edi
mov eax, dword [eax + 0x18]
call eax
mov eax, dword [esp + 0x80]
add esp, 0x4c
add eax, esi
push dword [esp + 0x6c]
push edi
push dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x90]
push edi
mov eax, dword [eax + 0x18]
call eax
push dword [esp + 0x80]
mov eax, dword [esp + 0x44]
push edi
push dword [esp + 0x4c]
add eax, esi
push eax
mov eax, dword [esp + 0xa4]
push edi
mov eax, dword [eax + 0x18]
call eax
push dword [esp + 0x94]
mov eax, dword [esp + 0x50]
push edi
push dword [esp + 0x58]
add eax, esi
push eax
mov eax, dword [esp + 0xb8]
push edi
mov eax, dword [eax + 0x18]
call eax
push dword [esp + 0xa8]
mov eax, dword [esp + 0x5c]
push edi
push dword [esp + 0x64]
add eax, esi
push eax
mov eax, dword [esp + 0xcc]
push edi
mov eax, dword [eax + 0x18]
call eax
add esp, 0x50
push dword [esp + 0x6c]
push edi
push dword [esp + 0x20]
mov eax, dword [esp + 0x20]
add eax, esi
push eax
mov eax, dword [esp + 0x90]
push edi
mov eax, dword [eax + 0x18]
call eax
push dword [esp + 0x80]
mov eax, dword [esp + 0x24]
push edi
push dword [esp + 0x2c]
add eax, esi
push eax
mov eax, dword [esp + 0xa4]
push edi
mov eax, dword [eax + 0x18]
call eax
mov edx, dword [esp + 0x90]
add esp, 0x28
add edi, dword [esp + 8]
add edx, 0x100
sub dword [esp + 0x54], 1
movss xmm1, dword [0x100719a0]
mov esi, dword [esp + 0x94]
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x58], edi
mov dword [esp + 0x68], edx
jne 0x100232c0
pop edi
pop esi
add esp, 0x68
ret