Function at 0x100062d5
Capabilities:
Encode data using xor

Disassembly:
jmp 0x101145f0
mov eax, 0x18
call fcn.101aa6d0
push ebx
mov ebx, dword [esp + 0x2c]
push edi
mov edi, dword [esp + 0x24]
xor ecx, ecx
mov eax, dword [edi + 0x174]
mov edx, dword [edi + 0x164]
mov dword [esp + 0x18], eax
mov eax, ebx
add eax, dword [edi + 0x38]
mov dword [esp + 0x14], edx
adc ecx, dword [edi + 0x3c]
cmp ecx, 0xf
ja 0x101148b3
jb 0x10114636
cmp eax, 0xffffffe0
ja 0x101148b3
cmp dword [edi + 0x16c], 0
push ebp
mov ebp, dword [edi + 0x168]
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], ecx
mov dword [esp + 0x14], ebp
je 0x101146bf
test ebx, ebx
jne 0x10114676
lea eax, [edi + 0x60]
push eax
lea eax, [edi + 0x40]
push eax
mov eax, dword [edi + 0x160]
call eax
add esp, 8
mov dword [edi + 0x16c], ebx
pop ebp
pop edi
xor eax, eax
pop ebx
add esp, 0x18
ret
movq xmm0, qword [edi + 0x40]
movq qword [edi + 0x178], xmm0
movq xmm0, qword [edi + 0x48]
mov ebp, 0x10
movq qword [edi + 0x180], xmm0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [esp + 0x14], ebp
mov dword [edi + 0x16c], 0
mov eax, dword [edi + 0xc]
bswap eax
mov dword [esp + 0x10], eax
mov eax, ebp
push esi
mov esi, dword [esp + 0x30]
and eax, 0xf
mov dword [esp + 0x24], eax
mov dword [esp + 0x10], esi
je 0x10114740
mov edx, dword [esp + 0x34]
mov dword [esp + 0x38], edx
test ebx, ebx
je 0x10114715
mov cl, byte [esi]
mov byte [edi + ebp + 0x178], cl
mov al, byte [eax + edi + 0x10]
xor al, cl
mov byte [edx], al
mov eax, dword [esp + 0x24]
inc edx
inc esi
inc eax
inc ebp
dec ebx
and eax, 0xf
mov dword [esp + 0x38], edx
mov dword [esp + 0x10], esi
mov dword [esp + 0x24], eax
jne 0x101146e4
jmp 0x1011471d
test eax, eax
jne 0x101148a3
push ebp
lea eax, [edi + 0x178]
push eax
lea eax, [edi + 0x60]
push eax
lea eax, [edi + 0x40]
push eax
call dword [esp + 0x2c]
mov edx, dword [esp + 0x2c]
add esp, 0x10
xor ebp, ebp
mov dword [esp + 0x18], ebp
jmp 0x10114748
mov eax, dword [esp + 0x34]
mov dword [esp + 0x38], eax
cmp ebx, 0x10
jb 0x1011476c
test ebp, ebp
je 0x1011476c
push ebp
lea eax, [edi + 0x178]
push eax
lea eax, [edi + 0x60]
push eax
lea eax, [edi + 0x40]
push eax
call edx
add esp, 0x10
xor ebp, ebp
mov dword [esp + 0x18], ebp
cmp ebx, 0xc00
jb 0x101147ec
mov ebp, dword [esp + 0x38]
mov eax, 0xaaaaaaab
mul ebx
shr edx, 0xb
lea ecx, [edi + 0x60]
mov dword [esp + 0x10], edx
lea esp, [esp]
push 0xc00
push esi
push ecx
lea eax, [edi + 0x40]
push eax
call dword [esp + 0x2c]
push edi
push dword [esp + 0x34]
push 0xc0
push ebp
push esi
call dword [esp + 0x60]
mov ecx, dword [esp + 0x38]
add ecx, 0xc0
mov dword [esp + 0x38], ecx
bswap ecx
add esp, 0x24
add ebp, 0xc00
add esi, 0xc00
sub ebx, 0xc00
dec dword [esp + 0x10]
mov dword [edi + 0xc], ecx
lea ecx, [edi + 0x60]
jne 0x10114790
mov dword [esp + 0x38], ebp
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x10], esi
mov eax, ebx
and eax, 0xfffffff0
mov dword [esp + 0x18], eax
je 0x10114841
push eax
push dword [esp + 0x14]
mov esi, eax
lea eax, [edi + 0x60]
push eax
lea eax, [edi + 0x40]
push eax
shr esi, 4
call dword [esp + 0x2c]
push edi
push dword [esp + 0x34]
push esi
push dword [esp + 0x54]
push dword [esp + 0x30]
call dword [esp + 0x60]
mov eax, dword [esp + 0x38]
add eax, esi
mov esi, dword [esp + 0x34]
mov dword [esp + 0x38], eax
bswap eax
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x3c]
add dword [esp + 0x5c], eax
add esp, 0x24
add esi, eax
sub ebx, eax
test ebx, ebx
je 0x101148a3
push dword [esp + 0x20]
lea eax, [edi + 0x10]
push eax
mov eax, dword [edi + 0x170]
push edi
call eax
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x30]
inc eax
bswap eax
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x44]
add esp, 0xc
lea edx, [ecx + eax]
add ecx, 0x10
add ecx, edi
sub esi, eax
lea eax, [edi + 0x178]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x24], eax
mov edi, ecx
mov cl, byte [esi + edx]
mov byte [eax + ebp], cl
mov al, byte [edi]
xor al, cl
mov byte [edx], al
mov eax, dword [esp + 0x24]
inc ebp
lea edi, [edi + 1]
lea edx, [edx + 1]
dec ebx
jne 0x10114885
mov edi, dword [esp + 0x2c]
pop esi
mov dword [edi + 0x168], ebp
pop ebp
pop edi
xor eax, eax
pop ebx
add esp, 0x18
ret
pop edi
or eax, 0xffffffff
pop ebx
add esp, 0x18
ret