Function at 0x100062ee
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1013ce90
mov eax, 0x1c
call fcn.10001f96
push ebx
mov ebx, dword [esp + 0x24]
xor ecx, ecx
push esi
mov esi, dword [esp + 0x34]
mov eax, dword [ebx + 0x174]
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0x164]
mov dword [esp + 0x18], eax
mov eax, esi
add eax, dword [ebx + 0x38]
adc ecx, dword [ebx + 0x3c]
cmp ecx, 0xf
ja 0x1013d1a1
jb 0x1013ced6
cmp eax, 0xffffffe0
ja 0x1013d1a1
cmp dword [ebx + 0x16c], 0
mov edx, dword [ebx + 0x168]
mov dword [ebx + 0x3c], ecx
lea ecx, [ebx + 0x40]
push ebp
push edi
mov dword [ebx + 0x38], eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
je 0x1013d0e1
test esi, esi
jne 0x1013cf20
lea eax, [ebx + 0x60]
push eax
mov eax, dword [ebx + 0x160]
push ecx
call eax
add esp, 8
mov dword [ebx + 0x16c], esi
xor eax, eax
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x1c
ret
movups xmm0, xmmword [ecx]
lea eax, [ebx + 0x178]
mov dword [esp + 0x3c], 0
mov dword [esp + 0x24], eax
mov edx, 0x10
movups xmmword [eax], xmm0
mov dword [ecx], 0
lea eax, [ebx + 0xc]
mov dword [ecx + 4], 0
mov dword [ebx + 0x48], 0
mov dword [ebx + 0x4c], 0
mov dword [esp + 0x18], eax
mov eax, dword [eax]
bswap eax
mov dword [esp + 0x10], edx
mov dword [ebx + 0x16c], 0
mov dword [esp + 0x30], eax
mov edi, dword [esp + 0x38]
mov ebp, dword [esp + 0x34]
mov dword [esp + 0x1c], edi
lea eax, [ebx + 0x60]
cmp esi, 0x10
jb 0x1013cfa3
test edx, edx
je 0x1013cfa3
push edx
push dword [esp + 0x28]
push eax
push ecx
call dword [esp + 0x30]
add esp, 0x10
mov dword [esp + 0x10], 0
mov ecx, dword [esp + 0x40]
cmp esi, 0xc00
jb 0x1013d019
mov eax, 0xaaaaaaab
mul esi
shr edx, 0xb
mov dword [esp + 0x24], edx
nop dword [eax]
push ebx
push dword [esp + 0x2c]
push 0xc0
push edi
push ebp
call ecx
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x2c]
add eax, 0xc0
mov dword [esp + 0x44], eax
bswap eax
push 0xc00
mov dword [ecx], eax
lea eax, [ebx + 0x60]
push edi
push eax
push dword [esp + 0x34]
call dword [esp + 0x44]
mov ecx, dword [esp + 0x64]
add esp, 0x24
add edi, 0xc00
add ebp, 0xc00
sub esi, 0xc00
sub dword [esp + 0x24], 1
jne 0x1013cfc0
mov dword [esp + 0x1c], edi
mov eax, esi
and eax, 0xfffffff0
mov dword [esp + 0x24], eax
je 0x1013d069
push ebx
push dword [esp + 0x2c]
mov edi, eax
shr edi, 4
push edi
push dword [esp + 0x28]
push ebp
call ecx
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x2c]
add eax, edi
mov edi, dword [esp + 0x30]
mov dword [esp + 0x44], eax
bswap eax
mov dword [ecx], eax
mov eax, dword [esp + 0x38]
add ebp, eax
push eax
sub esi, eax
lea eax, [ebx + 0x60]
push edi
push eax
push dword [esp + 0x34]
call dword [esp + 0x44]
add esp, 0x24
add edi, dword [esp + 0x24]
test esi, esi
je 0x1013d0cd
push dword [esp + 0x28]
lea eax, [ebx + 0x10]
push eax
mov eax, dword [ebx + 0x170]
push ebx
call eax
mov eax, dword [esp + 0x3c]
sub ebp, edi
mov ecx, dword [esp + 0x24]
inc eax
mov edx, dword [esp + 0x1c]
add esp, 0xc
bswap eax
add edx, 0x178
mov dword [ecx], eax
add edx, ebx
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x3c]
add eax, 0x10
add eax, ebx
add ecx, edi
add dword [esp + 0x10], esi
mov edi, eax
mov dword [esp + 0x30], eax
mov al, byte [ecx + ebp]
lea edx, [edx + 1]
xor al, byte [edi]
lea edi, [edi + 1]
mov byte [ecx], al
lea ecx, [ecx + 1]
mov byte [edx - 1], al
sub esi, 1
jne 0x1013d0b5
mov eax, dword [esp + 0x10]
pop edi
pop ebp
mov dword [ebx + 0x168], eax
xor eax, eax
pop esi
pop ebx
add esp, 0x1c
ret
lea eax, [ebx + 0x178]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x24], eax
lea eax, [ebx + 0xc]
mov dword [esp + 0x18], eax
mov eax, dword [eax]
bswap eax
mov dword [esp + 0x30], eax
mov eax, edx
and eax, 0xf
mov dword [esp + 0x3c], eax
je 0x1013cf75
mov edi, dword [esp + 0x38]
lea ecx, [ebx + 0x178]
mov ebp, dword [esp + 0x34]
add ecx, edx
nop dword [eax]
test esi, esi
je 0x1013d191
mov al, byte [eax + ebx + 0x10]
inc edx
xor al, byte [ebp]
dec esi
mov byte [edi], al
inc ebp
mov byte [ecx], al
inc edi
mov eax, dword [esp + 0x3c]
inc ecx
inc eax
mov dword [esp + 0x1c], edi
and eax, 0xf
mov dword [esp + 0x3c], eax
jne 0x1013d120
push edx
lea eax, [ebx + 0x178]
push eax
lea eax, [ebx + 0x60]
lea ecx, [ebx + 0x40]
push eax
push ecx
call dword [esp + 0x30]
mov eax, dword [esp + 0x4c]
add esp, 0x10
mov ecx, dword [esp + 0x14]
xor edx, edx
mov dword [esp + 0x3c], eax
lea eax, [ebx + 0x178]
mov dword [esp + 0x24], eax
lea eax, [ebx + 0xc]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x30], eax
jmp 0x1013cf81
pop edi
pop ebp
pop esi
mov dword [ebx + 0x168], edx
xor eax, eax
pop ebx
add esp, 0x1c
ret
pop esi
or eax, 0xffffffff
pop ebx
add esp, 0x1c
ret