Function at 0x140126950
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
sub rsp, 0x28
test ecx, ecx
je 0x1401269a9
test edx, edx
je 0x1401269f9
test r8d, r8d
je 0x140126a39
test r9d, r9d
je 0x140126ab9
movzx eax, byte [0x140469e31]
cmp al, 0x89
je 0x140126c69
mov cl, 0xd5
nop word cs:[rax + rax]
mov al, 0xa7
lock cmpxchg byte [0x140469e31], cl
je 0x140126c39
cmp al, 0x89
jne 0x140126990
jmp 0x140126c69
test edx, edx
je 0x140126a79
test r8d, r8d
je 0x140126ae9
test r9d, r9d
je 0x140126b69
movzx eax, byte [0x140469db9]
cmp al, 0x36
je 0x140126d39
mov cl, 0xf4
nop word cs:[rax + rax]
mov al, 0x3e
lock cmpxchg byte [0x140469db9], cl
je 0x140126d09
cmp al, 0x36
jne 0x1401269e0
jmp 0x140126d39
test r8d, r8d
je 0x140126b29
test r9d, r9d
je 0x140126b99
movzx eax, byte [0x140469f5d]
cmp al, 0x23
je 0x140126d79
mov cl, 0x52
nop dword [rax]
mov al, 0xbb
lock cmpxchg byte [0x140469f5d], cl
je 0x140126d45
cmp al, 0x23
jne 0x140126a20
jmp 0x140126d79
test r9d, r9d
je 0x140126bc9
movzx eax, byte [0x140469e10]
cmp al, 0xb4
je 0x140126db9
mov cl, 0x37
nop word cs:[rax + rax]
mov al, 0x5d
lock cmpxchg byte [0x140469e10], cl
je 0x140126d85
cmp al, 0xb4
jne 0x140126a60
jmp 0x140126db9
test r8d, r8d
je 0x140126bf9
test r9d, r9d
je 0x140126c75
movzx eax, byte [0x140469ef6]
cmp al, 0xd8
je 0x140126e59
mov cl, 0x8b
nop dword [rax]
mov al, 5
lock cmpxchg byte [0x140469ef6], cl
je 0x140126e2f
cmp al, 0xd8
jne 0x140126aa0
jmp 0x140126e59
movzx eax, byte [0x140469d06]
cmp al, 0xab
je 0x140126df9
mov cl, 0xcb
nop word [rax + rax]
mov al, 0x6a
lock cmpxchg byte [0x140469d06], cl
je 0x140126dc5
cmp al, 0xab
jne 0x140126ad0
jmp 0x140126df9
test r9d, r9d
je 0x140126ca9
movzx eax, byte [0x140469da0]
cmp al, 0xa4
je 0x140126e99
mov cl, 0x2b
nop word cs:[rax + rax]
mov al, 0x85
lock cmpxchg byte [0x140469da0], cl
je 0x140126e65
cmp al, 0xa4
jne 0x140126b10
jmp 0x140126e99
test r9d, r9d
je 0x140126cd9
movzx eax, byte [0x140469e73]
cmp al, 0x51
je 0x140126ed9
mov cl, 0x33
nop word cs:[rax + rax]
mov al, 0xc6
lock cmpxchg byte [0x140469e73], cl
je 0x140126ea5
cmp al, 0x51
jne 0x140126b50
jmp 0x140126ed9
movzx eax, byte [0x140469d56]
cmp al, 0x33
je 0x140126f19
mov cl, 0x52
nop word [rax + rax]
mov al, 0x44
lock cmpxchg byte [0x140469d56], cl
je 0x140126ee5
cmp al, 0x33
jne 0x140126b80
jmp 0x140126f19
movzx eax, byte [0x140469ccb]
cmp al, 0xf9
je 0x140126f59
mov cl, 0xf6
nop word [rax + rax]
mov al, 0xdb
lock cmpxchg byte [0x140469ccb], cl
je 0x140126f25
cmp al, 0xf9
jne 0x140126bb0
jmp 0x140126f59
movzx eax, byte [0x140469c85]
cmp al, 0xcb
je 0x140126f99
mov cl, 0x5b
nop word [rax + rax]
mov al, 0x2d
lock cmpxchg byte [0x140469c85], cl
je 0x140126f65
cmp al, 0xcb
jne 0x140126be0
jmp 0x140126f99
test r9d, r9d
je 0x140126e05
movzx eax, byte [0x140469dd6]
cmp al, 0xd8
je 0x140126fd9
mov cl, 0xe8
nop word cs:[rax + rax]
mov al, 0xe4
lock cmpxchg byte [0x140469dd6], cl
je 0x140126fa5
cmp al, 0xd8
jne 0x140126c20
jmp 0x140126fd9
xor eax, eax
lea rcx, [0x140469e20]
lea rdx, [0x14038eb90]
nop dword [rax]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
inc rax
cmp eax, 0x11
jl 0x140126c50
mov al, 0x89
xchg byte [0x140469e31], al
lea rax, [0x140469e20]
jmp 0x140127132
movzx eax, byte [0x140469dc3]
cmp al, 0x2e
je 0x140127019
mov cl, 0xaf
nop word cs:[rax + rax]
mov al, 0x2a
lock cmpxchg byte [0x140469dc3], cl
je 0x140126fe5
cmp al, 0x2e
jne 0x140126c90
jmp 0x140127019
movzx eax, byte [0x140469dfa]
cmp al, 0xba
je 0x1401270b9
mov esi, dword [rsp + 0x60]
mov cl, 0xc2
nop
mov al, 0x2a
lock cmpxchg byte [0x140469dfa], cl
je 0x140127025
cmp al, 0xba
jne 0x140126cc0
jmp 0x1401270b9
movzx eax, byte [0x140469fcd]
cmp al, 0x54
je 0x1401270f9
mov cl, 0xde
nop word [rax + rax]
mov al, 0x6a
lock cmpxchg byte [0x140469fcd], cl
je 0x1401270c2
cmp al, 0x54
jne 0x140126cf0
jmp 0x1401270f9
xor eax, eax
lea rcx, [0x140469db0]
lea rdx, [0x14038eaf0]
nop dword [rax]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
inc rax
cmp eax, 9
jl 0x140126d20
mov al, 0x36
xchg byte [0x140469db9], al
lea rax, [0x140469db0]
jmp 0x140127132
xor eax, eax
lea rcx, [0x140469f50]
lea rdx, [0x14038ecc0]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
inc rax
cmp eax, 0xd
jl 0x140126d60
mov al, 0x23
xchg byte [0x140469f5d], al
lea rax, [0x140469f50]
jmp 0x140127132
xor eax, eax
lea rcx, [0x140469e00]
lea rdx, [0x14038eb80]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
xor byte [rax + rcx], r8b
inc rax
cmp eax, 0x10
jl 0x140126da0
mov al, 0xb4
xchg byte [0x140469e10], al
lea rax, [0x140469e00]
jmp 0x140127132
xor eax, eax
lea rcx, [0x140469cf0]
lea rdx, [0x14038ea50]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
xor byte [rax + rcx], r8b
inc rax
cmp eax, 0x16
jl 0x140126de0
mov al, 0xab
xchg byte [0x140469d06], al
lea rax, [0x140469cf0]
jmp 0x140127132
movzx eax, byte [0x140469e65]
cmp al, 0x8f
je 0x14012712b
mov cl, 0x3a
mov al, 0x5d
lock cmpxchg byte [0x140469e65], cl
je 0x140127102
cmp al, 0x8f
jne 0x140126e16
jmp 0x14012712b
xor eax, eax
lea rcx, [0x140469ed0]
lea rdx, [0x14038ec40]
nop
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
inc rax
cmp eax, 0x26
jl 0x140126e40
mov al, 0xd8
xchg byte [0x140469ef6], al
lea rax, [0x140469ed0]
jmp 0x140127132
xor eax, eax
lea rcx, [0x140469d90]
lea rdx, [0x14038eae0]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
xor byte [rax + rcx], r8b
inc rax
cmp eax, 0x10
jl 0x140126e80
mov al, 0xa4
xchg byte [0x140469da0], al
lea rax, [0x140469d90]
jmp 0x140127132
xor eax, eax
lea rcx, [0x140469e70]
lea rdx, [0x14038ebe0]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
inc rax
cmp eax, 3
jl 0x140126ec0
mov al, 0x51
xchg byte [0x140469e73], al
lea rax, [0x140469e70]
jmp 0x140127132
xor eax, eax
lea rcx, [0x140469d40]
lea rdx, [0x14038eaa0]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
xor byte [rax + rcx], r8b
inc rax
cmp eax, 0x16
jl 0x140126f00
mov al, 0x33
xchg byte [0x140469d56], al
lea rax, [0x140469d40]
jmp 0x140127132
xor eax, eax
lea rcx, [0x140469cc0]
lea rdx, [0x14038ea20]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
inc rax
cmp eax, 0xb
jl 0x140126f40
mov al, 0xf9
xchg byte [0x140469ccb], al
lea rax, [0x140469cc0]
jmp 0x140127132
xor eax, eax
lea rcx, [0x140469c70]
lea rdx, [0x14038e9d0]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
inc rax
cmp eax, 0x15
jl 0x140126f80
mov al, 0xcb
xchg byte [0x140469c85], al
lea rax, [0x140469c70]
jmp 0x140127132
xor eax, eax
lea rcx, [0x140469dd0]
lea rdx, [0x14038eb10]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
inc rax
cmp eax, 6
jl 0x140126fc0
mov al, 0xd8
xchg byte [0x140469dd6], al
lea rax, [0x140469dd0]
jmp 0x140127132
xor eax, eax
lea rcx, [0x140469dc0]
lea rdx, [0x14038eb00]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
xor byte [rax + rcx], r8b
inc rax
cmp eax, 3
jl 0x140127000
mov al, 0x2e
xchg byte [0x140469dc3], al
lea rax, [0x140469dc0]
jmp 0x140127132
cmp qword [0x1404bde48], 0
jne 0x140127084
mov r9d, esi
xor r9d, 0xd0187b2c
mov ecx, 1
mov edx, 1
mov r8d, 4
call fcn.140125cb0
mov rdi, rax
mov qword [0x1404bde48], rax
xor esi, 0x7c2a31c1
lea rcx, [0x140125b90]
mov edx, esi
call fcn.140107920
xor eax, eax
lea rcx, [0x14038eb60]
movzx edx, byte [rax + rcx]
mov byte [rdi + rax], dl
inc rax
cmp eax, 2
jle 0x140127075
mov rax, qword [0x1404bde48]
xor ecx, ecx
lea rdx, [0x14038eb70]
nop word cs:[rax + rax]
movzx r8d, byte [rcx + rdx]
add byte [rax + rcx], r8b
inc rcx
cmp ecx, 3
jl 0x1401270a0
mov al, 0xba
xchg byte [0x140469dfa], al
mov rax, qword [0x1404bde48]
jmp 0x140127132
xor eax, eax
lea rcx, [0x140469fc0]
lea rdx, [0x14038ed30]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
inc rax
cmp eax, 0xd
jl 0x1401270e0
mov al, 0x54
xchg byte [0x140469fcd], al
lea rax, [0x140469fc0]
jmp 0x140127132
xor eax, eax
lea rcx, [0x140469e60]
lea rdx, [0x14038ebd0]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
inc rax
cmp eax, 5
jl 0x140127112
mov al, 0x8f
xchg byte [0x140469e65], al
lea rax, [0x140469e60]
add rsp, 0x28
pop rdi
pop rsi
ret