Function at 0x1000a4e4
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x1006042c
call fcn.1005fa24
sub esp, 0x48
cmp byte [ebp + 0xc], 0
mov eax, edx
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x14], cl
je 0x1000a5a7
test cl, cl
je 0x1000a575
mov dword [ebp - 0x28], 0x57fd5464
mov eax, 0xfcf09cc2
mov dword [ebp - 0x30], 0xffffffff
xor cl, cl
mov dword [ebp - 0x30], 0x50ba1bf2
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x30], 6
mov dword [ebp - 0x30], 0xfffffffd
push 0x1ae5
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x18], 0xfffe
push eax
call fcn.1000b68c
inc dword [ebp - 0x18]
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
cmp byte [eax], 0
je 0x1000a564
push 0x5461
push 0x6764
push 0
xor edi, edi
mov edx, 0x7137
inc edi
mov ecx, 0x6941
push edi
push edi
push 0x6fea
call fcn.1000962d
add esp, 0x18
jmp 0x1000a564
mov dword [ebp - 0x24], 0x5dfb
xor esi, esi
cmp dword [ebp - 0x24], 0x608f
jle 0x1000a613
mov ebx, esi
mov dword [ebp - 0x18], esi
mov edi, esi
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x18], 0x3edd
mov eax, edi
mov ecx, 0x1007cff8
xor eax, esi
xor eax, ebx
cdq
push edx
push eax
call fcn.10002e68
dec edi
dec dword [ebp - 0x18]
jne 0x1000a5d0
mov edi, dword [ebp - 0x1c]
inc edi
mov dword [ebp - 0x1c], edi
cmp edi, 0x5797
jl 0x1000a5c6
inc esi
push 0
mov dword [ebp - 0x18], esi
cmp esi, 0x63ae
pop esi
jl 0x1000a5be
inc ebx
cmp ebx, 0x75a8
jl 0x1000a5bb
mov eax, dword [ebp - 0x30]
cmp byte [ebp + 0x14], 0
je 0x1000a6d8
mov eax, dword [ebp + 0x10]
cmp byte [eax], 0
je 0x1000a6e3
mov dword [ebp - 0x30], 0x1833
cmp dword [ebp - 0x30], 0x956
jge 0x1000a6cb
lea eax, [ebp + 0xc]
push eax
push str._ld_n
call fcn.100490b2
mov eax, dword [ebp + 0xc]
pop ecx
pop ecx
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x34], esi
push ecx
inc eax
mov dword [ebp - 0x40], esi
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], esi
call fcn.1001017c
mov eax, dword [ebp + 0xc]
xor edi, edi
mov ebx, dword [ebp - 0x40]
inc edi
mov ecx, esi
mov dword [ebp - 0x18], ecx
cmp eax, edi
jl 0x1000a6b1
lea eax, [ebp - 0x20]
push eax
push 0x10068c74
call fcn.100490b2
pop ecx
pop ecx
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebx + ecx*4 - 4]
inc eax
mov dword [ebx + ecx*4], eax
mov eax, dword [ebp - 0x20]
cmp dword [ebx + eax*4], esi
cmovg esi, dword [ebx + eax*4]
inc edi
mov eax, dword [ebp + 0xc]
cmp edi, eax
jle 0x1000a67c
mov dword [ebp - 0x18], esi
xor esi, esi
mov ecx, dword [ebp - 0x18]
sub eax, ecx
push eax
push str._ld_n
call fcn.10048e5f
pop ecx
pop ecx
test ebx, ebx
je 0x1000a6cb
push ebx
call fcn.10048fc7
pop ecx
push 0x81c
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
jmp 0x1000a6e3
cmp byte [eax], 0
je 0x1000a6e3
call dword [sym.imp.KERNEL32.dll_SwitchToThread]
mov dword [ebp - 4], esi
cmp dword [ebp - 0x24], 0x5a7b
jge 0x1000a564
mov edx, str.puknc_ibqavlnxt_mmpmn_vnnzlo_vsem_rqy_syzvwvj_bdxwq_ljxegpwr_zxnqojgb_zsyixzwi_ucoldbr_ldjazshe_ktej
mov ecx, 0x1007cff8
call fcn.100050b8
jmp 0x1000a564