Function at 0x140008270
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x1b8
mov qword [rsp + 0x98], rdx
mov qword [rsp + 0xa0], rcx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp rax, 0
mov qword [rsp + 0xa8], rax
jne 0x140008627
lea rcx, [rsp + 0xb0]
mov edx, 0xfa
call fcn.140008640
mov byte [rsp + 0xb0], 0x5f
mov eax, 1
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x88], rax
cmp rax, 0xf5
je 0x140008383
mov rax, qword [rsp + 0x98]
mov rdx, qword [rsp + 0x88]
mov rcx, rdx
and rcx, 0xffffffffffffffff
movabs r8, 0x1f79dcf5e91d4c3b
movabs r9, 0xe086230a16e2b3c4
xor r8, r9
or rdx, r8
add rcx, rdx
mov al, byte [rax + rcx]
mov byte [rsp + 0x87], al
cmp al, 0
je 0x140008383
mov rax, qword [rsp + 0x88]
mov cl, byte [rsp + 0x87]
mov byte [rsp + rax + 0xb0], cl
movabs rcx, 0x957bdb0edae5d957
movabs rdx, 0x31872c698610b635
xor rcx, rdx
sub rax, rcx
add rax, 1
movabs rcx, 0x7ef726ed6fe16481
movabs rdx, 0xda0bd18a33140be3
xor rcx, rdx
add rax, rcx
mov qword [rsp + 0x90], rax
jmp 0x1400082c6
mov rcx, qword [rsp + 0x88]
mov byte [rsp + rcx + 0xb0], 0x40
xor eax, eax
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x78], rax
mov rcx, qword [rsp + 0x70]
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rcx
movabs rcx, 0x27c0fddc013e82ee
movabs rdx, 0x27c0fddc013e82dd
xor rcx, rdx
cmp rax, rcx
je 0x140008609
mov rcx, qword [rsp + 0x68]
mov r9, qword [rsp + 0x60]
mov rax, r9
shl rax, 2
mov r8d, 2
mov edx, 1
cmp rax, 0xa
cmovb r8, rdx
mov edx, 3
cmp r9, 0x19
cmovb rdx, r8
movabs r8, 0x99659a80197de26b
movabs r9, 0x5bb8be3c1ae958ea
xor r8, r9
sub rcx, r8
add rcx, rdx
movabs rdx, 0xf652f0c25a15a813
movabs r8, 0x348fd47e59811292
xor rdx, r8
add rcx, rdx
mov byte [rsp + rcx + 0xb1], 0
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x48], rax
mov r8d, 0xa
xor edx, edx
div r8
mov rax, qword [rsp + 0x48]
or dl, 0x30
mov byte [rsp + rcx + 0xb0], dl
add rcx, 0xffffffffffffffff
mov qword [rsp + 0x40], rcx
mov r8d, 0xa
cqo
idiv r8
mov rdx, qword [rsp + 0x48]
add rdx, 9
movabs r8, 0x85a43958681bbd03
movabs r9, 0x85a43958681bbd10
xor r8, r9
cmp rdx, r8
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x58], rax
jae 0x14000844d
mov eax, dword [0x1401c85a8]
mov edx, dword [0x1401c85ac]
mov ecx, eax
xor ecx, 0xffffffff
and ecx, edx
xor edx, 0xffffffff
and eax, edx
sub eax, ecx
and eax, 0x688a09f0
mov r8d, 0xcb28e8c
xor r8d, 0xc2ad7927
mov ecx, 0x5d34bbbc
xor ecx, 0xa2cb4443
xor r8d, ecx
mov edx, eax
and edx, r8d
mov ecx, eax
or ecx, r8d
mov r8d, 0x58d53726
xor r8d, 0xa72ac8d9
xor ecx, r8d
imul ecx, edx
mov r8d, 0x1942249d
xor r8d, 0xd75dd336
mov edx, eax
and edx, r8d
or eax, 0xce1ff7ab
imul eax, edx
add eax, ecx
mov ecx, 0xffffffff
xor ecx, 0x76f8ecab
add eax, ecx
add eax, 1
cmp eax, 0xf6ed4c01
je 0x140008637
mov rcx, qword [rsp + 0xa0]
mov eax, dword [0x1401c85b0]
xor eax, 0xd5dba539
mov r8d, dword [0x1401c85b4]
mov edx, eax
and edx, r8d
shl edx, 1
add eax, r8d
sub eax, edx
and eax, 0x6c1c4b1b
mov edx, 0xd4014652
xor edx, 0xc907ba0a
imul eax, edx
mov edx, 0xad498a07
xor edx, 0x4a8e13f8
add eax, edx
mov dword [rsp + 0x24], eax
lea rdx, [rsp + 0xb0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rsp + 0x60]
mov rdx, rax
mov eax, dword [rsp + 0x24]
mov qword [rsp + 0x28], rdx
cmp rdx, 0
sete dl
mov byte [rsp + 0x37], dl
add rcx, 1
mov qword [rsp + 0x38], rcx
cmp eax, 0xb23261a1
jae 0x14000854b
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x40]
mov r8b, byte [rsp + 0x37]
test r8b, 1
mov qword [rsp + 0x70], rdx
mov qword [rsp + 0x78], rcx
mov qword [rsp + 0xa8], rax
jne 0x14000839f
jmp 0x140008627
mov rax, qword [0x1401e90a0]
mov ecx, 0x6845af25
xor ecx, 0x6845af24
call rax
xor eax, eax
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
add rsp, 0x1b8
ret
xor dword [rbp + 0xbe95e30], edi
invalid