Function at 0x100908e0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x20
call fcn.100e0610
push ebp
mov ebp, dword [esp + 0x34]
xor ecx, ecx
push esi
mov esi, dword [esp + 0x2c]
mov eax, dword [esi + 0x170]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x174]
mov dword [esp + 0x18], eax
mov eax, ebp
add eax, dword [esi + 0x38]
adc ecx, dword [esi + 0x3c]
cmp ecx, 0xf
ja 0x10090c80
jb 0x10090926
cmp eax, 0xffffffe0
ja 0x10090c80
cmp dword [esi + 0x16c], 0
mov edx, dword [esi + 0x168]
mov dword [esi + 0x3c], ecx
lea ecx, [esi + 0x40]
push ebx
mov dword [esi + 0x38], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x18], ecx
je 0x100909a3
test ebp, ebp
jne 0x10090967
lea eax, [esi + 0x60]
push eax
push ecx
call fcn.10091800
add esp, 8
mov dword [esi + 0x16c], ebp
xor eax, eax
pop ebx
pop esi
pop ebp
add esp, 0x20
ret
movups xmm0, xmmword [ecx]
lea ebx, [esi + 0x178]
mov edx, 0x10
mov dword [esp + 0xc], edx
movups xmmword [ebx], xmm0
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x16c], 0
jmp 0x100909ad
lea ebx, [esi + 0x178]
mov dword [esp + 0x18], ecx
movzx ecx, byte [esi + 0xc]
movzx eax, byte [esi + 0xd]
shl ecx, 8
or ecx, eax
mov dword [esp + 0x28], ebx
movzx eax, byte [esi + 0xe]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0xf]
shl ecx, 8
or ecx, eax
mov dword [esp + 0x10], ecx
mov ecx, edx
and ecx, 0xf
push edi
mov edi, dword [esp + 0x38]
mov dword [esp + 0x28], ecx
je 0x10090a62
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x3c]
nop dword [eax]
test ebp, ebp
je 0x10090a29
mov al, byte [ecx + esi + 0x10]
lea edx, [esi + 0x178]
xor al, byte [edi]
dec ebp
mov dword [esp + 0x18], edx
inc ecx
mov edx, dword [esp + 0x10]
inc edi
mov byte [ebx], al
inc ebx
mov dword [esp + 0x40], ebp
mov byte [esi + edx + 0x178], al
inc edx
and ecx, 0xf
mov dword [esp + 0x10], edx
mov dword [esp + 0x28], ecx
jne 0x100909f0
jmp 0x10090a35
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
test ecx, ecx
jne 0x10090a52
push edx
push dword [esp + 0x1c]
lea ecx, [esi + 0x60]
lea eax, [esi + 0x40]
push ecx
push eax
call fcn.100915d0
add esp, 0x10
xor edx, edx
mov dword [esp + 0x10], edx
jmp 0x10090a66
pop edi
pop ebx
mov dword [esi + 0x168], edx
xor eax, eax
pop esi
pop ebp
add esp, 0x20
ret
mov ebx, dword [esp + 0x3c]
lea ecx, [esi + 0x60]
cmp ebp, 0x10
jb 0x10090a8f
test edx, edx
je 0x10090a8f
push edx
lea eax, [esi + 0x178]
push eax
push ecx
push dword [esp + 0x28]
call fcn.100915d0
add esp, 0x10
mov dword [esp + 0x10], 0
cmp ebp, 0xc00
jb 0x10090b4e
mov eax, 0xaaaaaaab
lea ecx, [esi + 0x10]
mul ebp
shr edx, 0xb
mov dword [esp + 0x18], edx
nop dword [eax]
mov ebp, 0xc0
push dword [esp + 0x20]
push ecx
push esi
call dword [esp + 0x30]
mov ecx, dword [esp + 0x20]
add esp, 0xc
inc ecx
mov eax, ecx
mov byte [esi + 0xf], cl
shr eax, 0x18
mov byte [esi + 0xc], al
mov eax, ecx
shr eax, 0x10
mov byte [esi + 0xd], al
mov eax, ecx
shr eax, 8
mov byte [esi + 0xe], al
mov eax, dword [esi + 0x10]
xor eax, dword [edi]
mov dword [esp + 0x14], ecx
lea ecx, [esi + 0x10]
mov dword [ebx], eax
mov eax, dword [edi + 4]
xor eax, dword [esi + 0x14]
mov dword [ebx + 4], eax
mov eax, dword [edi + 8]
xor eax, dword [esi + 0x18]
mov dword [ebx + 8], eax
mov eax, dword [edi + 0xc]
add edi, 0x10
xor eax, dword [esi + 0x1c]
mov dword [ebx + 0xc], eax
add ebx, 0x10
sub ebp, 1
jne 0x10090ab5
push 0xc00
lea eax, [ebx - 0xc00]
push eax
lea eax, [esi + 0x60]
push eax
push dword [esp + 0x28]
call fcn.100915d0
mov ebp, dword [esp + 0x50]
lea ecx, [esi + 0x10]
sub ebp, 0xc00
add esp, 0x10
sub dword [esp + 0x18], 1
mov dword [esp + 0x40], ebp
jne 0x10090ab0
mov ecx, ebp
and ecx, 0xfffffff0
mov dword [esp + 0x18], ecx
je 0x10090bf0
cmp ebp, 0x10
jb 0x10090bda
mov eax, ebp
lea ecx, [esi + 0x10]
shr eax, 4
mov dword [esp + 0x40], eax
nop
push dword [esp + 0x20]
push ecx
push esi
call dword [esp + 0x30]
mov ecx, dword [esp + 0x20]
add esp, 0xc
inc ecx
sub ebp, 0x10
mov eax, ecx
mov byte [esi + 0xf], cl
shr eax, 0x18
mov byte [esi + 0xc], al
mov eax, ecx
shr eax, 0x10
mov byte [esi + 0xd], al
mov eax, ecx
shr eax, 8
mov byte [esi + 0xe], al
mov eax, dword [esi + 0x10]
xor eax, dword [edi]
mov dword [esp + 0x14], ecx
lea ecx, [esi + 0x10]
mov dword [ebx], eax
mov eax, dword [edi + 4]
xor eax, dword [esi + 0x14]
mov dword [ebx + 4], eax
mov eax, dword [edi + 8]
xor eax, dword [esi + 0x18]
mov dword [ebx + 8], eax
mov eax, dword [edi + 0xc]
add edi, 0x10
xor eax, dword [esi + 0x1c]
mov dword [ebx + 0xc], eax
add ebx, 0x10
sub dword [esp + 0x40], 1
jne 0x10090b70
mov ecx, dword [esp + 0x18]
push ecx
mov eax, ebx
sub eax, ecx
push eax
lea eax, [esi + 0x60]
push eax
push dword [esp + 0x28]
call fcn.100915d0
add esp, 0x10
test ebp, ebp
je 0x10090c6c
push dword [esp + 0x20]
lea eax, [esi + 0x10]
push eax
push esi
call dword [esp + 0x30]
mov ecx, dword [esp + 0x20]
add esp, 0xc
inc ecx
mov eax, ecx
mov byte [esi + 0xf], cl
shr eax, 0x18
mov byte [esi + 0xc], al
mov eax, ecx
shr eax, 0x10
mov byte [esi + 0xd], al
mov eax, ecx
mov ecx, dword [esp + 0x10]
shr eax, 8
mov byte [esi + 0xe], al
add esi, 0x10
mov eax, dword [esp + 0x28]
lea edx, [eax + ebx]
add eax, esi
mov esi, dword [esp + 0x2c]
sub edi, ebx
mov dword [esp + 0x40], eax
mov ebx, eax
mov al, byte [edi + edx]
lea ebx, [ebx + 1]
xor al, byte [ebx - 1]
lea edx, [edx + 1]
mov byte [edx - 1], al
mov byte [esi + ecx], al
inc ecx
sub ebp, 1
jne 0x10090c40
mov esi, dword [esp + 0x34]
xor eax, eax
pop edi
pop ebx
mov dword [esi + 0x168], ecx
pop esi
pop ebp
add esp, 0x20
ret
mov ecx, dword [esp + 0x10]
xor eax, eax
pop edi
pop ebx
mov dword [esi + 0x168], ecx
pop esi
pop ebp
add esp, 0x20
ret
pop esi
or eax, 0xffffffff
pop ebp
add esp, 0x20
ret