Function at 0x1000a6d2
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x10063161
call fcn.10062638
sub esp, 0x78
cmp byte [ebp + 0x14], 0
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x1c], ebx
je 0x1000a7b7
cmp byte [ebp + 0x34], 0
je 0x1000a78a
sub esp, 0x18
mov ecx, esp
push dword [ebp + 0x2c]
call fcn.10004d63
lea ecx, [ebp - 0x38]
call fcn.10009aaa
add esp, 0x18
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x38], eax
je 0x1000a783
push dword [ebp + 0x14]
xor ecx, ecx
mov dword [ebp - 0x3c], 7
push eax
push dword [ebp - 0x38]
mov word [ebp - 0x50], cx
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x40], ebx
call fcn.1000f99e
mov ecx, dword [ebp + 0x10]
lea edx, [ebp - 0x50]
mov byte [ebp - 4], 1
call fcn.1000a64f
push ebx
test eax, eax
jns 0x1000a777
mov eax, dword [ebp + 0x1c]
xor ecx, ecx
inc ecx
push ecx
mov byte [eax], cl
lea ecx, [ebp - 0x50]
call fcn.100053e2
lea ecx, [ebp - 0x38]
call fcn.1000d570
jmp 0x1000a9c9
xor edi, edi
lea ecx, [ebp - 0x50]
inc edi
push edi
call fcn.100053e2
mov eax, dword [ebp + 0x1c]
mov byte [eax], bl
jmp 0x1000a76a
mov eax, dword [ebp + 0x38]
mov ecx, dword [ebp + 0xc]
push 0xffffffffffffffff
push dword [eax]
lea eax, [ebp - 0x68]
push eax
call fcn.1000cb06
mov ecx, dword [ebp + 0xc]
push eax
call fcn.1000c9cc
push 0
push 1
lea ecx, [ebp - 0x68]
call fcn.100053e2
jmp 0x1000a9c9
cmp byte [ebp + 0x30], 0
je 0x1000a8ab
mov dword [ebp - 0x18], 0x4406
xor edi, edi
cmp dword [ebp - 0x18], 0x4539
jle 0x1000a82d
xor ebx, ebx
inc edi
mov esi, ebx
mov ecx, ebx
mov dword [ebp + 0x14], ebx
mov eax, esi
shl eax, cl
lea ecx, [ebp - 0x80]
cdq
push edx
push eax
call fcn.10001a65
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1000a7f6
mov eax, dword [eax]
push eax
call fcn.1004a373
pop ecx
push ebx
push edi
lea ecx, [ebp - 0x80]
call fcn.10005270
mov ecx, dword [ebp + 0x14]
inc ecx
mov dword [ebp + 0x14], ecx
cmp ecx, 0x36f9
jl 0x1000a7dd
inc esi
cmp esi, 0x1b95
jl 0x1000a7d8
push ebx
push ebx
push ebx
call dword [sym.imp.OLEAUT32.dll_SysFreeString]
mov ebx, dword [ebp - 0x1c]
jmp 0x1000a82e
inc edi
cmp dword [ebp - 0x18], 0x41cb
jge 0x1000a842
push str.tehxhv_iqfed_ossrvvd_zpytgm
call fcn.1004a373
pop ecx
mov esi, dword [ebp + 8]
xor ecx, ecx
mov eax, dword [esi]
test eax, eax
mov eax, dword [esi]
sete cl
xor edx, edx
add ecx, 0x3a266d21
cmp ecx, eax
setl dl
xor ecx, ecx
mov dword [esi], edx
mov eax, dword [esi]
cmp eax, 0x7d7c118
mov eax, dword [ebx]
setl cl
xor edx, edx
cmp ecx, eax
mov eax, dword [ebx]
sete dl
xor ebx, ebx
cmp eax, edx
mov eax, dword [ebp - 0x1c]
setle bl
mov ecx, dword [eax]
mov eax, dword [eax]
imul ecx, ebx
imul eax, ecx
xor ecx, ecx
cmp eax, 0xf0a9b27f
setne cl
xor eax, eax
cmp ecx, 0xffffffff
setg al
cmp eax, edi
mov eax, dword [ebp + 0x18]
sbb ecx, ecx
inc ecx
mov eax, dword [eax]
jmp 0x1000a9c7
mov dword [ebp - 0x20], 0x5382
xor ebx, ebx
cmp dword [ebp - 0x20], 0x550c
jle 0x1000a923
mov esi, ebx
mov dword [ebp - 0x18], ebx
mov edi, ebx
mov dword [ebp + 0x14], esi
mov ecx, edi
mov eax, ebx
sar esi, cl
mov dword [ebp - 0x1c], eax
mov dword [ebp + 0x14], esi
mov ecx, eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], ebx
sar esi, cl
mov eax, esi
mov ecx, 0x1007e2d8
xor eax, ebx
cdq
push edx
push eax
call fcn.10004c4e
inc ebx
cmp ebx, 0x7408
jl 0x1000a8dd
mov eax, dword [ebp - 0x1c]
mov esi, dword [ebp + 0x14]
inc eax
mov dword [ebp - 0x1c], eax
push 0
pop ebx
cmp eax, 0x6e14
jl 0x1000a8d3
mov esi, dword [ebp - 0x18]
inc edi
cmp edi, 0x5084
jl 0x1000a8c4
inc esi
mov dword [ebp - 0x18], esi
cmp esi, 0x7a9d
jl 0x1000a8c2
mov dword [ebp - 4], 4
cmp dword [ebp - 0x20], 0x5210
jge 0x1000a960
mov edx, str.pjgijwq_ksttm_ywrajvlil
mov ecx, 0x1007e2d8
call fcn.1000714a
jmp 0x1000a960
mov ecx, dword [ebp + 0x20]
mov eax, dword [ecx]
sub eax, dword [ecx]
je 0x1000a974
cmp dword [ecx], ebx
je 0x1000a974
xor edx, edx
inc edx
mov esi, edx
jmp 0x1000a979
xor edx, edx
mov esi, ebx
inc edx
mov edi, dword [ebp + 0x24]
xor ecx, ecx
mov eax, dword [edi]
cmp eax, 0xffffffff
setne cl
cmp ecx, edx
sbb eax, eax
neg eax
sub esi, eax
mov esi, dword [ebp + 0x3c]
jne 0x1000a997
cmp dword [esi], ebx
je 0x1000a999
mov edx, ebx
mov eax, dword [esi]
xor ecx, ecx
cmp edx, eax
mov eax, dword [esi]
mov edx, dword [ebp - 0x2c]
sete cl
imul eax, ecx
xor ecx, ecx
cmp eax, 0xfffffff7
setge cl
mov dword [edx], ecx
xor ecx, ecx
mov edx, dword [edx]
mov eax, dword [edi]
imul edx, eax
mov eax, dword [edi]
cmp edx, eax
mov eax, dword [ebp + 0x28]
setne cl
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret