Function at 0x140139000
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
sub rsp, 0xc8
lea rbp, [rsp + 0x80]
mov qword [rbp - 0x20], r8
mov qword [rbp - 0x18], rdx
mov qword [rbp], rcx
mov qword [rbp - 0x10], rcx
mov byte [rbp - 1], r9b
mov eax, 0x10
call fcn.140271bb0
sub rsp, rax
mov rax, rsp
mov qword [rbp + 8], rax
mov rax, qword [0x14028d330]
mov ecx, dword [rax]
sub rsp, 0x20
call fcn.14000efc9
mov rcx, qword [rbp]
add rsp, 0x20
mov rdx, rax
mov rax, qword [rbp + 8]
mov qword [rbp + 0x20], rdx
mov qword [rcx], 0
mov rdx, rcx
add rdx, 8
mov qword [rbp + 0x10], rdx
mov qword [rcx + 8], 0
mov qword [rax], 0
mov rcx, rax
add rcx, 8
mov qword [rbp + 0x18], rcx
mov qword [rax + 8], 0
mov ax, 0xd733
xor ax, 0xd587
mov word [rbp + 0x46], ax
lea rcx, [rbp + 0x46]
sub rsp, 0x20
call fcn.140093f60
add rsp, 0x20
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov qword [rbp + 0x28], rcx
cmp byte [rax + 0x60], 0
jne 0x140139407
mov rcx, qword [rbp + 8]
mov rax, qword [rbp + 0x28]
mov rdx, qword [rax]
mov qword [rbp + 0x30], rdx
mov rax, qword [rax + 8]
mov qword [rbp + 0x38], rax
lea rdx, [rbp + 0x30]
sub rsp, 0x20
call fcn.1400344e0
mov rcx, qword [rbp]
mov rdx, qword [rbp - 0x20]
call fcn.140034600
mov r8, qword [rbp - 0x20]
mov rcx, qword [rbp - 0x18]
add rsp, 0x20
xor eax, eax
mov edx, eax
sub rdx, r8
xor eax, eax
sub rax, 0xffffffffffffffff
add rdx, rax
xor eax, eax
sub rax, rdx
mov rdx, rax
xor rdx, r8
cmp rdx, 0
setl r9b
movabs rdx, 0x6734a57726929c0e
movabs r8, 0x98cb5a88d96d63f1
xor rdx, r8
cmp rax, rdx
setg r8b
xor r9b, 0xff
mov dl, r8b
xor dl, r9b
and dl, r8b
test dl, 1
mov qword [rbp - 0x30], rcx
mov qword [rbp - 0x28], rax
jne 0x140139165
jmp 0x140139177
sub rsp, 0x20
call fcn.14000f24b
add rsp, 0x20
jmp 0x140139407
mov rcx, qword [rbp - 0x30]
mov rax, qword [rbp - 0x28]
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rcx
cmp rax, 0xffffffffffffffff
jle 0x140139407
mov rax, qword [rbp - 0x40]
mov rcx, qword [rbp]
mov rcx, qword [rcx]
mov qword [rbp - 0x48], rcx
cmp rax, rcx
jl 0x1401391d5
mov rcx, qword [rbp - 0x40]
mov rdx, qword [rbp - 0x48]
mov rax, rdx
and rax, 0xffffffffffffffff
shl rax, 1
xor rdx, 0xffffffffffffffff
add rdx, rax
sub rsp, 0x20
call fcn.1400292ad
add rsp, 0x20
jmp 0x140139407
mov rax, qword [rbp + 0x10]
mov rax, qword [rax]
mov qword [rbp - 0x50], rax
cmp rax, 0
je 0x1401392ce
mov rax, qword [rbp - 0x50]
mov rax, qword [rax]
movabs rcx, 0x5bc4f3e832df83ae
movabs rdx, 0x1bc4f3e832df83ae
xor rcx, rdx
and rax, rcx
movabs rcx, 0x4363bf86a5771cf3
movabs rdx, 0x4363bf86a5771cf3
xor rcx, rdx
cmp rax, rcx
je 0x1401392ce
mov eax, dword [0x14027ab80]
mov ecx, 0x2514923b
xor ecx, 0x64142fa7
xor eax, ecx
xor eax, dword [0x14027ab84]
mov edx, eax
xor edx, 0x3ca371f6
xor edx, 0xffffffff
mov ecx, 0x2efe431e
xor ecx, 0x125d32e8
and ecx, edx
shl ecx, 1
sub ecx, 0x3ca371f6
sub eax, ecx
mov ecx, 0x5cee090d
xor edx, edx
div ecx
mov ecx, 0xd56abd92
xor edx, edx
div ecx
cmp eax, 0xb6d8c1d1
je 0x140139642
mov rcx, qword [rbp]
mov eax, dword [0x14027ab88]
mov edx, dword [0x14027ab8c]
xor edx, 0x20152b69
and eax, edx
add eax, 0x2f9adc8d
and eax, 0x2700ab6e
xor eax, 0x190bbbff
mov dword [rbp - 0x54], eax
sub rsp, 0x20
call fcn.14002bae0
mov eax, dword [rbp - 0x54]
add rsp, 0x20
cmp eax, 0x7349067d
jae 0x140139284
jmp 0x1401392ce
mov rcx, qword [rbp + 8]
mov rax, qword [rbp - 0x38]
movabs rdx, 0xf6082e1a4550fb72
movabs r8, 0xf6082e1a4550fb7d
xor rdx, r8
and rax, rdx
mov qword [rbp - 0x68], rax
mov rcx, qword [rcx]
mov qword [rbp - 0x60], rcx
cmp rax, rcx
jb 0x140139336
mov rcx, qword [rbp - 0x68]
mov rdx, qword [rbp - 0x60]
mov rax, 0xffffffffffffffff
xor rax, 0xffffffffffffffff
xor r8d, r8d
sub r8, 1
sub rax, r8
sub rdx, rax
sub rsp, 0x20
call fcn.1400292ad
add rsp, 0x20
jmp 0x140139407
mov rdx, qword [rbp - 0x40]
mov r9b, byte [rbp - 1]
mov rax, qword [rbp - 0x38]
mov rcx, qword [rbp + 0x10]
mov r10, qword [rbp - 0x68]
mov r8, qword [rbp + 0x18]
mov r8, qword [r8]
mov r8b, byte [r8 + r10 + 8]
mov rcx, qword [rcx]
mov byte [rcx + rdx + 8], r8b
mov rcx, rax
shr rcx, 4
cmp rax, 0x10
setb al
xor r9b, 0xff
mov r8b, al
xor r8b, r9b
and r8b, al
movabs rax, 0xfda7d8f28287383e
movabs r9, 0x258270d7d78c7c1
xor rax, r9
test r8b, 1
cmovne rcx, rax
mov rax, rdx
add rax, 0xffffffffffffffff
mov r8, rax
xor r8, rdx
movabs r9, 0x87a35e9e331724be
movabs r10, 0x785ca161cce8db41
xor r9, r10
xor r8, r9
mov r9, rdx
and r9, r8
shl r9, 1
sub r9, rdx
mov r8, rax
sub r8, r9
cmp r8, 0
setl r8b
cmp rdx, 0
setne dl
and dl, r8b
test dl, 1
mov qword [rbp - 0x30], rcx
mov qword [rbp - 0x28], rax
jne 0x1401393fa
jmp 0x140139177
sub rsp, 0x20
call fcn.14000f24b
add rsp, 0x20
mov rax, qword [rbp + 0x18]
mov rax, qword [rax]
mov qword [rbp - 0x70], rax
cmp rax, 0
je 0x140139637
mov rax, qword [rbp - 0x70]
mov rax, qword [rax]
movabs rcx, 0x72e9d2e73c503548
movabs rdx, 0x8d162d18c3afcab7
xor rcx, rdx
xor rax, rcx
mov rdx, 0xffffffffffffffff
movabs rcx, 0x4000000000000000
xor rdx, rcx
movabs rcx, 0xe87fdec3d1bd07b4
movabs r8, 0x5bf8cce0165a1144
xor rcx, r8
movabs r8, 0xef254b8d17cc2584
movabs r9, 0x10dab472e833da7b
xor r8, r9
xor rcx, r8
or rax, rdx
movabs rdx, 0xb3871223c7e716f0
or rcx, rdx
xor rax, 0xffffffffffffffff
and rax, rcx
movabs rcx, 0x6913905b03ff1fbf
movabs rdx, 0x6913905b03ff1fbf
xor rcx, rdx
cmp rax, rcx
jne 0x140139637
mov eax, dword [0x14027ab90]
xor eax, 0xd830364d
mov r8d, dword [0x14027ab94]
mov ecx, 0xf5601527
xor ecx, 0x28360c90
xor r8d, ecx
mov ecx, 0xcec88b91
xor ecx, 0x3137746e
mov r9d, r8d
xor r9d, ecx
mov edx, eax
and edx, r9d
mov ecx, eax
or ecx, r9d
xor ecx, 0xffffffff
imul ecx, edx
mov edx, eax
and edx, r8d
or eax, r8d
imul eax, edx
add eax, ecx
mov ecx, 0x34c064f1
xor edx, edx
div ecx
mov ecx, 0x17ce77e1
xor edx, edx
div ecx
mov ecx, eax
xor ecx, 0xffffffff
mov edx, 0x43285b9e
xor edx, 0x147862c
and edx, ecx
mov r8d, 0xffffffff
xor r8d, 0x426fddb2
mov ecx, eax
and ecx, r8d
imul ecx, edx
mov r8d, 0xddd3870c
xor r8d, 0x9fbc5abe
mov edx, eax
and edx, r8d
or eax, 0x426fddb2
imul eax, edx
add eax, ecx
mov ecx, 0xb07e822a
xor ecx, 0x431aee8b
cmp eax, ecx
jae 0x14013964b
mov rcx, qword [rbp - 0x70]
mov esi, dword [0x14027ab98]
mov r11d, dword [0x14027ab9c]
mov edx, esi
xor edx, 0xffffffff
mov eax, 0x8df2d28b
xor eax, 0x720d2d74
mov r9d, r11d
xor r9d, eax
mov r8d, 0xffffffff
xor r8d, 0x30d023b
mov r10d, 0xd947ed5c
xor r10d, 0xda4aef67
mov eax, edx
and eax, r10d
and esi, r8d
mov r10d, r9d
and r10d, 0x30d023b
and r11d, r8d
or eax, esi
or r10d, r11d
xor eax, r10d
or edx, r9d
xor edx, 0xffffffff
or r8d, 0x30d023b
and edx, r8d
or eax, edx
mov r8d, 0x5208e30
xor r8d, 0xf0c61bb9
xor edx, edx
div r8d
mov edx, eax
or edx, 0x6a4f5fb4
mov eax, edx
xor eax, 0xffffffff
and eax, 0xab792973
mov r8d, 0xffffffff
xor r8d, 0xab792973
and edx, r8d
or eax, edx
mov dword [rbp - 0x74], eax
sub rsp, 0x20
call fcn.14001d1d6
mov eax, dword [rbp - 0x74]
add rsp, 0x20
cmp eax, 0x92f1dde9
jb 0x14013956f
jmp 0x140139637
mov rax, qword [rbp - 0x10]
lea rsp, [rbp + 0x48]
pop rsi
pop rbp
ret
in al, dx
add al, 0xd3
jmp 0x140139284
ja 0x14013962c
invalid