Function at 0x1401b8d50
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
sub rsp, 0x38
test ecx, ecx
je 0x1401b8da9
test edx, edx
je 0x1401b8df9
test r8d, r8d
je 0x1401b8e39
test r9d, r9d
je 0x1401b8eb9
movzx eax, byte [0x140439255]
cmp al, 0xa8
je 0x1401b9069
mov cl, 0xa1
nop word cs:[rax + rax]
mov al, 0x8f
lock cmpxchg byte [0x140439255], cl
je 0x1401b9039
cmp al, 0xa8
jne 0x1401b8d90
jmp 0x1401b9069
test edx, edx
je 0x1401b8e79
test r8d, r8d
je 0x1401b8ee9
test r9d, r9d
je 0x1401b8f69
movzx eax, byte [0x140439861]
cmp al, 0x9f
je 0x1401b9139
mov cl, 0xfb
nop word cs:[rax + rax]
mov al, 0x8f
lock cmpxchg byte [0x140439861], cl
je 0x1401b9109
cmp al, 0x9f
jne 0x1401b8de0
jmp 0x1401b9139
test r8d, r8d
je 0x1401b8f29
test r9d, r9d
je 0x1401b8f99
movzx eax, byte [0x140439310]
cmp al, 0x6d
je 0x1401b9179
mov cl, 0x28
nop dword [rax]
mov al, 0xb2
lock cmpxchg byte [0x140439310], cl
je 0x1401b9145
cmp al, 0x6d
jne 0x1401b8e20
jmp 0x1401b9179
test r9d, r9d
je 0x1401b8fc9
movzx eax, byte [0x140439573]
cmp al, 0xe5
je 0x1401b91b9
mov cl, 0xc8
nop word cs:[rax + rax]
mov al, 0xf8
lock cmpxchg byte [0x140439573], cl
je 0x1401b9185
cmp al, 0xe5
jne 0x1401b8e60
jmp 0x1401b91b9
test r8d, r8d
je 0x1401b8ff9
test r9d, r9d
je 0x1401b9075
movzx eax, byte [0x140439796]
cmp al, 0x5e
je 0x1401b9259
mov cl, 0xae
nop dword [rax]
mov al, 0x67
lock cmpxchg byte [0x140439796], cl
je 0x1401b922f
cmp al, 0x5e
jne 0x1401b8ea0
jmp 0x1401b9259
movzx eax, byte [0x140439944]
cmp al, 0x4a
je 0x1401b91f9
mov cl, pe_nt_image_headers64
nop word [rax + rax]
mov al, 0x49
lock cmpxchg byte [0x140439944], cl
je 0x1401b91c5
cmp al, 0x4a
jne 0x1401b8ed0
jmp 0x1401b91f9
test r9d, r9d
je 0x1401b90a9
movzx eax, byte [0x1404394ec]
cmp al, 0x47
je 0x1401b92f9
mov cl, 0xa5
nop word cs:[rax + rax]
mov al, 0x98
lock cmpxchg byte [0x1404394ec], cl
je 0x1401b9265
cmp al, 0x47
jne 0x1401b8f10
jmp 0x1401b92f9
test r9d, r9d
je 0x1401b90d9
movzx eax, byte [0x140439aaa]
cmp al, 0x9d
je 0x1401b9339
mov cl, 0x2e
nop word cs:[rax + rax]
mov al, 0x97
lock cmpxchg byte [0x140439aaa], cl
je 0x1401b9305
cmp al, 0x9d
jne 0x1401b8f50
jmp 0x1401b9339
movzx eax, byte [0x14043987d]
cmp al, 0x21
je 0x1401b9379
mov cl, 0xce
nop word [rax + rax]
mov al, 0xa7
lock cmpxchg byte [0x14043987d], cl
je 0x1401b9345
cmp al, 0x21
jne 0x1401b8f80
jmp 0x1401b9379
movzx eax, byte [0x140439a76]
cmp al, 0xef
je 0x1401b93b9
mov cl, 0x14
nop word [rax + rax]
mov al, 0x6e
lock cmpxchg byte [0x140439a76], cl
je 0x1401b9385
cmp al, 0xef
jne 0x1401b8fb0
jmp 0x1401b93b9
movzx eax, byte [0x140439c6a]
cmp al, 0xce
je 0x1401b93f9
mov cl, 0x56
nop word [rax + rax]
mov al, 0x21
lock cmpxchg byte [0x140439c6a], cl
je 0x1401b93c5
cmp al, 0xce
jne 0x1401b8fe0
jmp 0x1401b93f9
test r9d, r9d
je 0x1401b9205
movzx eax, byte [0x14043937f]
cmp al, 0x48
je 0x1401b9439
mov cl, 0x5a
nop word cs:[rax + rax]
mov al, 0x51
lock cmpxchg byte [0x14043937f], cl
je 0x1401b9405
cmp al, 0x48
jne 0x1401b9020
jmp 0x1401b9439
xor eax, eax
lea rcx, [0x140439240]
lea rdx, [0x14035a490]
nop dword [rax]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
inc rax
cmp eax, 0x15
jl 0x1401b9050
mov al, 0xa8
xchg byte [0x140439255], al
lea rax, [0x140439240]
jmp 0x1401b9532
movzx eax, byte [0x140439d10]
cmp al, 0xe7
je 0x1401b9479
mov cl, 0x8d
nop word cs:[rax + rax]
mov al, 0xa8
lock cmpxchg byte [0x140439d10], cl
je 0x1401b9445
cmp al, 0xe7
jne 0x1401b9090
jmp 0x1401b9479
movzx eax, byte [0x1404399ad]
cmp al, 0x65
je 0x1401b94b9
mov cl, 0xed
nop word [rax + rax]
mov al, 0xf4
lock cmpxchg byte [0x1404399ad], cl
je 0x1401b9485
cmp al, 0x65
jne 0x1401b90c0
jmp 0x1401b94b9
movzx eax, byte [0x1404398c0]
cmp al, 4
je 0x1401b94f9
mov cl, 0x38
nop word [rax + rax]
mov al, 0x9e
lock cmpxchg byte [0x1404398c0], cl
je 0x1401b94c2
cmp al, 4
jne 0x1401b90f0
jmp 0x1401b94f9
xor eax, eax
lea rcx, [0x140439850]
lea rdx, [0x14035ac50]
nop dword [rax]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
inc rax
cmp eax, 0x11
jl 0x1401b9120
mov al, 0x9f
xchg byte [0x140439861], al
lea rax, [0x140439850]
jmp 0x1401b9532
xor eax, eax
lea rcx, [0x140439300]
lea rdx, [0x14035a540]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
inc rax
cmp eax, 0x10
jl 0x1401b9160
mov al, 0x6d
xchg byte [0x140439310], al
lea rax, [0x140439300]
jmp 0x1401b9532
xor eax, eax
lea rcx, [0x140439550]
lea rdx, [0x14035a960]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
xor byte [rax + rcx], r8b
inc rax
cmp eax, 0x23
jl 0x1401b91a0
mov al, 0xe5
xchg byte [0x140439573], al
lea rax, [0x140439550]
jmp 0x1401b9532
xor eax, eax
lea rcx, [0x140439930]
lea rdx, [0x14035ad20]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
xor byte [rax + rcx], r8b
inc rax
cmp eax, 0x14
jl 0x1401b91e0
mov al, 0x4a
xchg byte [0x140439944], al
lea rax, [0x140439930]
jmp 0x1401b9532
movzx eax, byte [0x140439215]
cmp al, 0x59
je 0x1401b952b
mov cl, 0xd5
mov al, 0xf
lock cmpxchg byte [0x140439215], cl
je 0x1401b9502
cmp al, 0x59
jne 0x1401b9216
jmp 0x1401b952b
xor eax, eax
lea rcx, [0x140439770]
lea rdx, [0x14035ab70]
nop
movzx r8d, byte [rax + rdx]
xor byte [rax + rcx], r8b
inc rax
cmp eax, 0x26
jl 0x1401b9240
mov al, 0x5e
xchg byte [0x140439796], al
lea rax, [0x140439770]
jmp 0x1401b9532
cmp qword [0x140477ff8], 0
jne 0x1401b92c5
mov dword [rsp + 0x28], 0x1f411150
mov qword [rsp + 0x20], 0
xor edi, edi
xor ecx, ecx
xor edx, edx
mov r8d, 0xb
xor r9d, r9d
call fcn.1401b80f0
mov rsi, rax
mov qword [0x140477ff8], rax
lea rcx, [0x1401b80d0]
mov edx, 0x8361c00d
call fcn.1400f8f30
lea rax, [0x14035a8e0]
movzx ecx, byte [rdi + rax]
mov byte [rsi + rdi], cl
inc rdi
cmp edi, 9
jle 0x1401b92b6
mov rax, qword [0x140477ff8]
xor ecx, ecx
lea rdx, [0x14035a8f0]
nop word cs:[rax + rax]
movzx r8d, byte [rcx + rdx]
add byte [rax + rcx], r8b
inc rcx
cmp ecx, 0xa
jl 0x1401b92e0
mov al, 0x47
xchg byte [0x1404394ec], al
mov rax, qword [0x140477ff8]
jmp 0x1401b9532
xor eax, eax
lea rcx, [0x140439a90]
lea rdx, [0x14035ae80]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
inc rax
cmp eax, 0x1a
jl 0x1401b9320
mov al, 0x9d
xchg byte [0x140439aaa], al
lea rax, [0x140439a90]
jmp 0x1401b9532
xor eax, eax
lea rcx, [0x140439870]
lea rdx, [0x14035ac70]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
inc rax
cmp eax, 0xd
jl 0x1401b9360
mov al, 0x21
xchg byte [0x14043987d], al
lea rax, [0x140439870]
jmp 0x1401b9532
xor eax, eax
lea rcx, [0x140439a70]
lea rdx, [0x14035ae60]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
inc rax
cmp eax, 6
jl 0x1401b93a0
mov al, 0xef
xchg byte [0x140439a76], al
lea rax, [0x140439a70]
jmp 0x1401b9532
xor eax, eax
lea rcx, [0x140439c60]
lea rdx, [0x14035b050]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
xor byte [rax + rcx], r8b
inc rax
cmp eax, 0xa
jl 0x1401b93e0
mov al, 0xce
xchg byte [0x140439c6a], al
lea rax, [0x140439c60]
jmp 0x1401b9532
xor eax, eax
lea rcx, [0x140439370]
lea rdx, [0x14035a5e0]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
inc rax
cmp eax, 0xf
jl 0x1401b9420
mov al, 0x48
xchg byte [0x14043937f], al
lea rax, [0x140439370]
jmp 0x1401b9532
xor eax, eax
lea rcx, [0x140439d00]
lea rdx, [0x14035b0e0]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
xor byte [rax + rcx], r8b
inc rax
cmp eax, 0x10
jl 0x1401b9460
mov al, 0xe7
xchg byte [0x140439d10], al
lea rax, [0x140439d00]
jmp 0x1401b9532
xor eax, eax
lea rcx, [0x1404399a0]
lea rdx, [0x14035ad90]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
inc rax
cmp eax, 0xd
jl 0x1401b94a0
mov al, 0x65
xchg byte [0x1404399ad], al
lea rax, [0x1404399a0]
jmp 0x1401b9532
xor eax, eax
lea rcx, [0x1404398b0]
lea rdx, [0x14035acb0]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
xor byte [rax + rcx], r8b
inc rax
cmp eax, 0x10
jl 0x1401b94e0
mov al, 4
xchg byte [0x1404398c0], al
lea rax, [0x1404398b0]
jmp 0x1401b9532
xor eax, eax
lea rcx, [0x140439200]
lea rdx, [0x14035a450]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
inc rax
cmp eax, 0x15
jl 0x1401b9512
mov al, 0x59
xchg byte [0x140439215], al
lea rax, [0x140439200]
add rsp, 0x38
pop rdi
pop rsi
ret