Function at 0x1401740c0
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
sub rsp, 0x28
test ecx, ecx
je 0x140174109
test edx, edx
je 0x140174149
test r8d, r8d
je 0x140174189
movzx eax, byte [0x14047192e]
cmp al, 0xf9
je 0x140174289
mov cl, 0x41
nop dword [rax + rax]
mov al, 0x3d
lock cmpxchg byte [0x14047192e], cl
je 0x140174259
cmp al, 0xf9
jne 0x1401740f0
jmp 0x140174289
test edx, edx
je 0x1401741b9
test r8d, r8d
je 0x1401741f9
movzx eax, byte [0x140471856]
cmp al, 8
je 0x1401742f9
mov cl, 0x94
nop dword [rax + rax]
mov al, 0x7e
lock cmpxchg byte [0x140471856], cl
je 0x1401742c9
cmp al, 8
jne 0x140174130
jmp 0x1401742f9
test r8d, r8d
je 0x140174229
movzx eax, byte [0x1404718f1]
cmp al, 0x9a
je 0x140174339
mov cl, 0xb5
nop word cs:[rax + rax]
mov al, 0x1a
lock cmpxchg byte [0x1404718f1], cl
je 0x140174305
cmp al, 0x9a
jne 0x140174170
jmp 0x140174339
movzx eax, byte [0x140471620]
cmp al, 0xeb
je 0x1401743c9
mov esi, r9d
mov cl, 0x11
nop dword [rax]
mov al, 0x9f
lock cmpxchg byte [0x140471620], cl
je 0x140174345
cmp al, 0xeb
jne 0x1401741a0
jmp 0x1401743c9
test r8d, r8d
je 0x140174295
movzx eax, byte [0x14047171f]
cmp al, 0xca
je 0x140174409
mov cl, 0x43
nop word cs:[rax + rax]
mov al, 0x91
lock cmpxchg byte [0x14047171f], cl
je 0x1401743d5
cmp al, 0xca
jne 0x1401741e0
jmp 0x140174409
movzx eax, byte [0x140471849]
cmp al, 0x31
je 0x140174449
mov cl, 0x73
nop word [rax + rax]
mov al, 0x19
lock cmpxchg byte [0x140471849], cl
je 0x140174415
cmp al, 0x31
jne 0x140174210
jmp 0x140174449
movzx eax, byte [0x14047182d]
cmp al, 0xb7
je 0x140174489
mov cl, 6
nop word [rax + rax]
mov al, 0xa4
lock cmpxchg byte [0x14047182d], cl
je 0x140174452
cmp al, 0xb7
jne 0x140174240
jmp 0x140174489
xor eax, eax
lea rcx, [0x140471920]
lea rdx, [0x140390ad0]
nop dword [rax]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
inc rax
cmp eax, 0xe
jl 0x140174270
mov al, 0xf9
xchg byte [0x14047192e], al
lea rax, [0x140471920]
jmp 0x1401744d0
movzx eax, byte [0x140471a8f]
cmp al, 0x78
je 0x1401744c9
mov cl, 6
nop word cs:[rax + rax]
mov al, 0x40
lock cmpxchg byte [0x140471a8f], cl
je 0x140174492
cmp al, 0x78
jne 0x1401742b0
jmp 0x1401744c9
xor eax, eax
lea rcx, [0x140471850]
lea rdx, [0x140390a10]
nop dword [rax]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
inc rax
cmp eax, 6
jl 0x1401742e0
mov al, 8
xchg byte [0x140471856], al
lea rax, [0x140471850]
jmp 0x1401744d0
xor eax, eax
lea rcx, [0x1404718e0]
lea rdx, [0x140390a90]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
inc rax
cmp eax, 0x11
jl 0x140174320
mov al, 0x9a
xchg byte [0x1404718f1], al
lea rax, [0x1404718e0]
jmp 0x1401744d0
cmp qword [0x1404be128], 0
jne 0x14017439f
mov edx, esi
xor edx, 0xfb328f0d
mov ecx, 0x21
call fcn.14010e650
mov rdi, rax
mov qword [0x1404be128], rax
xor esi, 0x181d739e
lea rcx, [0x1401739a0]
mov edx, esi
call fcn.140107920
xor eax, eax
lea rcx, [0x1403907c0]
nop dword [rax + rax]
movzx edx, byte [rax + rcx]
mov byte [rdi + rax], dl
inc rax
cmp eax, 0x1f
jle 0x140174390
mov rax, qword [0x1404be128]
xor ecx, ecx
lea rdx, [0x1403907e0]
nop
movzx r8d, byte [rcx + rdx]
xor byte [rax + rcx], r8b
inc rcx
cmp ecx, 0x20
jl 0x1401743b0
mov al, 0xeb
xchg byte [0x140471620], al
mov rax, qword [0x1404be128]
jmp 0x1401744d0
xor eax, eax
lea rcx, [0x1404716f0]
lea rdx, [0x1403908b0]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
inc rax
cmp eax, 0x2f
jl 0x1401743f0
mov al, 0xca
xchg byte [0x14047171f], al
lea rax, [0x1404716f0]
jmp 0x1401744d0
xor eax, eax
lea rcx, [0x140471840]
lea rdx, [0x140390a00]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
inc rax
cmp eax, 9
jl 0x140174430
mov al, 0x31
xchg byte [0x140471849], al
lea rax, [0x140471840]
jmp 0x1401744d0
xor eax, eax
lea rcx, [0x140471820]
lea rdx, [0x1403909e0]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
inc rax
cmp eax, 0xd
jl 0x140174470
mov al, 0xb7
xchg byte [0x14047182d], al
lea rax, [0x140471820]
jmp 0x1401744d0
xor eax, eax
lea rcx, [0x140471a80]
lea rdx, [0x140390c30]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
inc rax
cmp eax, 0xf
jl 0x1401744b0
mov al, 0x78
xchg byte [0x140471a8f], al
lea rax, [0x140471a80]
add rsp, 0x28
pop rdi
pop rsi
ret