Function at 0x60b810
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x18
call fcn.004cba10
push ebx
mov ebx, dword [esp + 0x2c]
xor ecx, ecx
push edi
mov edi, dword [esp + 0x24]
mov eax, dword [edi + 0x174]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x164]
mov dword [esp + 0x10], eax
mov eax, ebx
add eax, dword [edi + 0x38]
adc ecx, dword [edi + 0x3c]
cmp ecx, 0xf
ja 0x60bad6
jb 0x60b856
cmp eax, 0xffffffe0
ja 0x60bad6
cmp dword [edi + 0x16c], 0
mov edx, dword [edi + 0x168]
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], ecx
mov dword [esp + 8], edx
je 0x60b8cc
lea ecx, [edi + 0x40]
test ebx, ebx
jne 0x60b894
lea eax, [edi + 0x60]
push eax
mov eax, dword [edi + 0x160]
push ecx
call eax
add esp, 8
mov dword [edi + 0x16c], ebx
xor eax, eax
pop edi
pop ebx
add esp, 0x18
ret
movups xmm0, xmmword [ecx]
mov edx, 0x10
mov dword [esp + 8], edx
movups xmmword [edi + 0x178], xmm0
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x16c], 0
mov eax, dword [edi + 0xc]
bswap eax
mov dword [esp + 0xc], eax
mov eax, edx
push ebp
mov ebp, dword [esp + 0x2c]
and eax, 0xf
push esi
mov esi, dword [esp + 0x34]
mov dword [esp + 0x20], eax
mov dword [esp + 0x38], esi
je 0x60b95a
lea ecx, [edi + 0x178]
add ecx, edx
mov dword [esp + 0x10], ecx
nop word [eax + eax]
test ebx, ebx
je 0x60b935
mov edi, dword [esp + 0x10]
inc edx
mov cl, byte [ebp]
dec ebx
inc dword [esp + 0x10]
inc ebp
mov byte [edi], cl
mov edi, dword [esp + 0x2c]
mov al, byte [eax + edi + 0x10]
xor al, cl
mov byte [esi], al
inc esi
mov eax, dword [esp + 0x20]
inc eax
mov dword [esp + 0x38], esi
and eax, 0xf
mov dword [esp + 0x20], eax
jne 0x60b900
jmp 0x60b93d
test eax, eax
jne 0x60bac6
push edx
lea eax, [edi + 0x178]
push eax
lea eax, [edi + 0x60]
lea ecx, [edi + 0x40]
push eax
push ecx
call dword [esp + 0x28]
add esp, 0x10
xor edx, edx
mov dword [esp + 0x10], edx
lea eax, [edi + 0x60]
cmp ebx, 0x10
jb 0x60b982
test edx, edx
je 0x60b982
push edx
lea ecx, [edi + 0x178]
push ecx
push eax
lea eax, [edi + 0x40]
push eax
call dword [esp + 0x28]
add esp, 0x10
mov dword [esp + 0x10], 0
cmp ebx, 0xc00
jb 0x60b9f7
mov eax, 0xaaaaaaab
mul ebx
shr edx, 0xb
mov dword [esp + 0x38], edx
nop dword [eax + eax]
push 0xc00
push ebp
lea eax, [edi + 0x60]
push eax
lea eax, [edi + 0x40]
push eax
call dword [esp + 0x28]
push edi
push dword [esp + 0x30]
push 0xc0
push esi
push ebp
call dword [esp + 0x60]
mov ecx, dword [esp + 0x38]
add esp, 0x24
add ecx, 0xc0
add esi, 0xc00
mov eax, ecx
mov dword [esp + 0x14], ecx
bswap eax
add ebp, 0xc00
mov dword [edi + 0xc], eax
sub ebx, 0xc00
sub dword [esp + 0x38], 1
jne 0x60b9a0
mov dword [esp + 0x38], esi
mov eax, ebx
and eax, 0xfffffff0
mov dword [esp + 0x24], eax
je 0x60ba48
push eax
mov esi, eax
lea eax, [edi + 0x60]
push ebp
push eax
lea eax, [edi + 0x40]
shr esi, 4
push eax
call dword [esp + 0x28]
push edi
push dword [esp + 0x30]
push esi
push dword [esp + 0x54]
push ebp
call dword [esp + 0x60]
mov eax, dword [esp + 0x38]
add esp, 0x24
add eax, esi
mov esi, dword [esp + 0x38]
mov dword [esp + 0x14], eax
bswap eax
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x24]
add esi, eax
add ebp, eax
mov dword [esp + 0x38], esi
sub ebx, eax
test ebx, ebx
je 0x60bab2
push dword [esp + 0x1c]
lea eax, [edi + 0x10]
push eax
mov eax, dword [edi + 0x170]
push edi
call eax
mov eax, dword [esp + 0x20]
add esp, 0xc
mov ecx, dword [esp + 0x10]
inc eax
sub ebp, dword [esp + 0x38]
bswap eax
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x20]
lea edx, [eax + esi]
lea esi, [eax + 0x10]
lea eax, [ecx + 0x178]
add esi, edi
add eax, edi
add ecx, ebx
mov dword [esp + 0x24], eax
mov edi, eax
mov dword [esp + 0x10], ecx
mov cl, byte [edx + ebp]
lea edi, [edi + 1]
mov byte [edi - 1], cl
lea esi, [esi + 1]
mov al, byte [esi - 1]
lea edx, [edx + 1]
xor al, cl
mov byte [edx - 1], al
sub ebx, 1
jne 0x60ba92
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
mov dword [edi + 0x168], eax
xor eax, eax
pop edi
pop ebx
add esp, 0x18
ret
pop esi
pop ebp
mov dword [edi + 0x168], edx
xor eax, eax
pop edi
pop ebx
add esp, 0x18
ret
pop edi
or eax, 0xffffffff
pop ebx
add esp, 0x18
ret