Function at 0x1001a370
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov edx, dword [ebp + 8]
push ebx
push esi
push edi
lea eax, [edx + 0x113a]
mov dword [ebp - 4], eax
cmp edx, eax
jae 0x1001a59f
movups xmm0, xmmword [ebp - 0x48]
movups xmmword [ebp - 0x58], xmm0
movups xmm0, xmmword [ebp - 0x28]
movups xmmword [ebp - 0x38], xmm0
nop dword [eax]
cmp edx, 0x753
ja 0x1001a55b
je 0x1001a554
cmp edx, 0x195
je 0x1001a527
cmp edx, 0x474
je 0x1001a41e
cmp edx, 0x636
jne 0x1001a58e
mov ecx, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov al, byte [ecx]
cmp al, 4
jne 0x1001a3e8
mov al, byte [ebx + 4]
mov byte [ecx], al
mov ebx, dword [ebx]
mov dword [ebp + 0x10], ebx
movzx eax, al
sub eax, 1
je 0x1001a5ce
sub eax, 1
je 0x1001a5a9
sub eax, 1
jne 0x1001a58b
push dword [ebp + 0x14]
push 0x385
push ebx
call fcn.10011fc0
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
adc eax, 0xf0552162
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x10]
cmp dword [ecx], eax
jae 0x1001a588
mov eax, 0x652
mov dword [ebp - 8], eax
nop dword [eax]
cmp eax, 0x652
je 0x1001a4d5
cmp eax, 0x40c88
je 0x1001a46f
cmp eax, 0x812be
jne 0x1001a507
mov al, byte [0x3e517a3b]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0xc]
mov dword [ecx], eax
jmp 0x1001a504
mov ebx, dword [ebp - 0x14]
mov esi, dword [ebp + 0x10]
cmp ebx, dword [ebp - 0x18]
jae 0x1001a4a8
pop ebp
call 0xe38cd2ef
mov edx, ebx
shl edx, 4
add edx, dword [esi]
mov ecx, dword [edx + 4]
cmp ecx, dword [ebp - 0x24]
ja 0x1001a4a5
jb 0x1001a492
mov ecx, dword [edx]
cmp ecx, dword [ebp - 0x28]
jae 0x1001a4a5
movups xmm0, xmmword [edx]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0xc], ebx
movups xmmword [ebp - 0x38], xmm0
movups xmmword [ebp - 0x28], xmm0
jmp 0x1001a4ac
mov ecx, dword [ebp + 0xc]
movups xmm0, xmmword [ebp - 0x38]
mov edx, dword [ebp - 0x44]
cmp dword [ebp - 0x24], edx
ja 0x1001a551
jb 0x1001a4c6
mov edx, dword [ebp - 0x48]
cmp dword [ebp - 0x28], edx
jae 0x1001a551
mov ecx, dword [ecx]
shl ecx, 4
add ecx, dword [esi]
movups xmmword [ecx], xmm0
mov ecx, dword [ebp + 0xc]
jmp 0x1001a507
das
je 0x1001a476
lodsd eax, dword [esi]
xor cl, byte [ebx + 0x558b0c4d]
adc byte [ebx + 0x451c8d01], cl
add dword [eax], eax
add byte [eax], al
lea eax, [ebx + 1]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x14], eax
mov eax, ebx
shl eax, 4
add eax, dword [edx]
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x38], xmm0
movups xmmword [ebp - 0x28], xmm0
mov eax, dword [ebp - 8]
add eax, 0x40636
mov dword [ebp - 8], eax
cmp eax, 0xc12a2
jbe 0x1001a440
mov eax, dword [ebp - 0x10]
cmp dword [ecx], eax
jb 0x1001a431
jmp 0x1001a588
add eax, 0x484a6fe9
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + 8]
mov dword [ebp - 0x18], eax
shr eax, 1
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
shl eax, 4
add eax, dword [ecx]
movups xmm1, xmmword [eax]
movups xmmword [ebp - 0x58], xmm1
movups xmmword [ebp - 0x48], xmm1
jmp 0x1001a588
mov eax, dword [ebp - 4]
mov edx, 0x753
jmp 0x1001a58e
cmp edx, 0x915
je 0x1001a5f5
cli
adc eax, 0xf000009
test byte [esi - 0x7f000000], cl
cli
xor cl, byte [edx]
add byte [eax], al
cmp edx, 0xa32
jne 0x1001a58e
in al, dx
inc ebp
popfd
jle 0x1001a55c
mov ecx, dword [ebp + 0xc]
movups xmm0, xmmword [ebp - 0x58]
mov eax, dword [ecx]
mov ecx, dword [ebp + 0x10]
shl eax, 4
add eax, dword [ecx]
movups xmmword [eax], xmm0
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
add edx, 0x2df
mov dword [ebp + 8], edx
cmp edx, eax
jb 0x1001a3a0
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx]
add eax, eax
push eax
push dword [ebx + 8]
push dword [ebp + 0x14]
call fcn.100e2d40
push 0x4e4
push ebx
call fcn.1000e4c0
add esp, 0x14
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x2000
push dword [ebx + 4]
push dword [ebp + 0x14]
call fcn.100e2d40
push 0
push ebx
push 0x95c
call fcn.1000ce70
add esp, 0x18
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
or byte [ebp - 0x5a], ah
mov eax, dword [0x5fc03301]
pop esi