Function at 0x60b4d0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x20
call fcn.004cba10
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 + 0x18], eax
mov eax, dword [esi + 0x174]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x164]
mov dword [esp + 0x10], eax
mov eax, ebp
add eax, dword [esi + 0x38]
adc ecx, dword [esi + 0x3c]
cmp ecx, 0xf
ja 0x60b7f9
jb 0x60b520
cmp eax, 0xffffffe0
ja 0x60b7f9
cmp dword [esi + 0x16c], 0
mov dword [esi + 0x3c], ecx
mov ecx, dword [esi + 0x168]
push ebx
mov dword [esi + 0x38], eax
mov dword [esp + 0xc], ecx
je 0x60b598
lea ebx, [esi + 0x40]
test ebp, ebp
jne 0x60b560
lea eax, [esi + 0x60]
push eax
mov eax, dword [esi + 0x160]
push ebx
call eax
add esp, 8
mov dword [esi + 0x16c], ebp
xor eax, eax
pop ebx
pop esi
pop ebp
add esp, 0x20
ret
movups xmm0, xmmword [ebx]
mov ecx, 0x10
mov dword [esp + 0xc], ecx
movups xmmword [esi + 0x178], xmm0
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x16c], 0
mov eax, dword [esi + 0xc]
mov edx, ecx
mov ebx, dword [esp + 0x38]
and edx, 0xf
bswap eax
push edi
mov edi, dword [esp + 0x38]
mov dword [esp + 0x14], eax
mov dword [esp + 0x2c], edx
je 0x60b61f
lea eax, [esi + 0x178]
add eax, ecx
mov dword [esp + 0x24], eax
test ebp, ebp
je 0x60b5f6
mov cl, byte [edi]
dec ebp
mov byte [eax], cl
inc edi
mov al, byte [edx + esi + 0x10]
inc edx
xor al, cl
mov dword [esp + 0x40], ebp
mov ecx, dword [esp + 0x10]
mov byte [ebx], al
inc ecx
mov eax, dword [esp + 0x24]
inc ebx
inc eax
mov dword [esp + 0x10], ecx
and edx, 0xf
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], edx
jne 0x60b5c1
jmp 0x60b5fe
test edx, edx
jne 0x60b7e9
mov edx, dword [esp + 0x10]
lea eax, [esi + 0x178]
push edx
push eax
lea eax, [esi + 0x60]
lea ecx, [esi + 0x40]
push eax
push ecx
call dword [esp + 0x28]
add esp, 0x10
xor ecx, ecx
mov dword [esp + 0x10], ecx
lea edx, [esi + 0x60]
cmp ebp, 0x10
jb 0x60b647
test ecx, ecx
je 0x60b647
push ecx
lea eax, [esi + 0x178]
push eax
push edx
lea eax, [esi + 0x40]
push eax
call dword [esp + 0x28]
add esp, 0x10
mov dword [esp + 0x10], 0
cmp ebp, 0xc00
jb 0x60b6e6
mov eax, 0xaaaaaaab
mul ebp
shr edx, 0xb
mov dword [esp + 0x28], edx
push 0xc00
push edi
lea eax, [esi + 0x60]
push eax
lea eax, [esi + 0x40]
push eax
call dword [esp + 0x28]
mov ebp, dword [esp + 0x24]
add esp, 0x10
mov dword [esp + 0x24], 0xc0
push dword [esp + 0x1c]
lea eax, [esi + 0x10]
push eax
push esi
call dword [esp + 0x2c]
inc ebp
add esp, 0xc
mov eax, ebp
bswap eax
mov dword [esi + 0xc], eax
mov eax, dword [edi]
xor eax, dword [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 + 0x24], 1
jne 0x60b682
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x40]
sub ebp, 0xc00
sub dword [esp + 0x28], 1
mov dword [esp + 0x40], ebp
jne 0x60b661
mov eax, ebp
and eax, 0xfffffff0
je 0x60b762
push eax
push edi
lea eax, [esi + 0x60]
push eax
lea eax, [esi + 0x40]
push eax
call dword [esp + 0x28]
add esp, 0x10
cmp ebp, 0x10
jb 0x60b762
mov eax, ebp
lea ecx, [esi + 0x10]
shr eax, 4
mov dword [esp + 0x40], eax
push dword [esp + 0x1c]
push ecx
push esi
call dword [esp + 0x2c]
mov eax, dword [esp + 0x20]
lea ecx, [esi + 0x10]
inc eax
add esp, 0xc
mov dword [esp + 0x14], eax
sub ebp, 0x10
bswap eax
mov dword [esi + 0xc], eax
mov eax, dword [edi]
xor eax, dword [ecx]
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 0x60b713
test ebp, ebp
je 0x60b7d5
push dword [esp + 0x1c]
lea eax, [esi + 0x10]
push eax
push esi
call dword [esp + 0x2c]
mov eax, dword [esp + 0x20]
add esp, 0xc
mov ecx, dword [esp + 0x10]
inc eax
bswap eax
mov dword [esi + 0xc], eax
sub edi, ebx
mov eax, dword [esp + 0x2c]
lea edx, [eax + ebx]
add eax, 0x10
add eax, esi
mov dword [esp + 0x2c], eax
lea eax, [esi + 0x178]
mov esi, dword [esp + 0x2c]
add eax, ecx
add ecx, ebp
mov dword [esp + 0x40], eax
mov dword [esp + 0x10], ecx
mov cl, byte [edi + edx]
lea esi, [esi + 1]
mov byte [eax], cl
lea edx, [edx + 1]
mov al, byte [esi - 1]
xor al, cl
mov byte [edx - 1], al
mov eax, dword [esp + 0x40]
inc eax
mov dword [esp + 0x40], eax
sub ebp, 1
jne 0x60b7b0
mov esi, dword [esp + 0x34]
mov edx, dword [esp + 0x10]
xor eax, eax
pop edi
pop ebx
mov dword [esi + 0x168], edx
pop esi
pop ebp
add esp, 0x20
ret
pop edi
pop ebx
mov dword [esi + 0x168], ecx
xor eax, eax
pop esi
pop ebp
add esp, 0x20
ret
pop esi
or eax, 0xffffffff
pop ebp
add esp, 0x20
ret