Function at 0x140220430
Capabilities:
Set environment variable

Disassembly:
jmp 0x1404d5651
mov qword [rsp + 8], rbx
cmc
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
movzx rbp, r10w
push rdi
add bpl, 0x10
push r12
push r13
sbb bpl, r11b
stc
push r14
or bpl, 0xa3
movsx ebp, r14w
push r15
btc r15w, r8w
sub rbp, r15
shld r15, r10, 0xa
sub rsp, 0x30
rcr bpl, cl
sub esi, esi
mov ebp, edx
movzx r15w, dil
shr r15b, cl
bswap r15w
mov r15, rcx
test rcx, rcx
jmp 0x1404d56ad
jne 0x1404d56d4
call fcn.1404b187f
mov dword [rax], 0x16
cmp rbp, 0x55af5df5
clc
or rax, 0xffffffffffffffff
jmp 0x1404d56cf
jmp 0x1404d5bba
mov edx, 0x3d
not dil
mov rdi, r15
call fcn.14028601e
mov r13, rax
test r13, rbx
cmp r13b, 0x33
jmp 0x1404d56f3
test rax, rax
jmp 0x1404d56fb
je 0x1404d5b71
cmp rax, r15
jmp 0x1404d5709
je 0x1404d5b71
mov r14, qword [0x1400ba2e8]
shld r12w, bx, 0x35
btr r12w, 0xa5
rol r12d, 0x2c
cmp r14, qword [0x1400ba2f0]
not r12b
movzx r12w, r10b
movsxd r12, ecx
movzx r12d, word [rax + 2]
jne 0x1404d5768
mov rcx, r14
jmp 0x1404d574b
call fcn.1404d5c36
mov r14, rax
shr ebx, 0x8d
xadd rbx, rbx
sar bl, 0xfa
mov qword [0x1400ba2e8], rax
btr bx, di
mov ebx, 1
test r14, r14
jmp 0x1404d5775
jne 0x1404d5899
mov rax, qword [0x1400ba2e0]
test ebp, ebp
jmp 0x1404d5789
je 0x1404d57eb
test rax, rax
jmp 0x1404d5797
je 0x1404d57eb
call fcn.1404b1a91
test rax, rax
jmp 0x1404d57aa
je 0x1404d5b71
mov r14, qword [0x1400ba2e8]
clc
cmp r14, qword [0x1400ba2f0]
jmp 0x1404d57c4
jne 0x1404d5890
mov rcx, r14
jmp 0x1404d57d2
call fcn.1404d5c36
mov r14, rax
mov qword [0x1400ba2e8], rax
jmp 0x1404d57e6
jmp 0x1404d5890
test r12w, r12w
jmp 0x1404d57f4
je 0x1404d5b8e
test rax, rax
jmp 0x1404d5802
jne 0x1404d5855
lea edx, [rax + 8]
mov rcx, rbx
call fcn.1404c9a52
xor ecx, ecx
mov qword [0x1400ba2e0], rax
call fcn.1404c598b
cmp qword [0x1400ba2e0], rsi
jmp 0x1404d582d
jne 0x1404d5841
or rbp, 0xffffffffffffffff
jmp 0x1404d583c
jmp 0x1404d5b9b
mov r14, qword [0x1400ba2e8]
test r15b, r9b
cmc
test r14, r14
jne 0x1404d5899
mov edx, 8
mov cx, 0x5396
mov ch, bh
cmovne cx, di
mov rcx, rbx
jmp 0x1404d586c
call fcn.1404c9a52
xor ecx, ecx
jmp 0x1404d5878
mov qword [0x1400ba2e8], rax
jmp 0x1404d5884
call fcn.1404c598b
mov r14, qword [0x1400ba2e8]
test r14, r14
je 0x1404d5833
mov rax, qword [r14]
jmp 0x1404d58a3
sub r13, r15
btc bx, r15w
sar r13, 1
shr bx, 0x8b
mov rbx, r14
jmp 0x1404d58ba
test rax, rax
jmp 0x1404d58c2
je 0x1404d5955
mov r8, r13
mov cx, ax
movsx rdx, bx
movzx edx, bx
mov rdx, rax
xchg cl, ch
mov rcx, r15
jmp 0x1404d58e2
call fcn.1404e1ac1
test eax, eax
jmp 0x1404d58ee
jne 0x1404d5925
mov rax, qword [rbx]
movsx rcx, r12w
mov ecx, 0x3d
jmp 0x1404d5905
cmp word [rax + r13*2], cx
jmp 0x1404d590f
je 0x1404d5940
cmp word [rax + r13*2], si
jmp 0x1404d591f
je 0x1404d5940
add rbx, 8
bswap eax
movzx ax, dil
not ax
mov rax, qword [rbx]
jmp 0x1404d593b
jmp 0x1404d58ba
sub rbx, r14
test r9d, eax
stc
sar rbx, 3
jmp 0x1404d5950
jmp 0x1404d595f
sub rbx, r14
sar rbx, 3
neg rbx
test rbx, rbx
jmp 0x1404d5967
js 0x1404d5a0b
cmp qword [r14], rsi
je 0x1404d5a0b
mov rcx, qword [r14 + rbx*8]
jmp 0x1404d597f
call fcn.1404c598b
test r12w, r12w
je 0x1404d59b2
mov qword [r14 + rbx*8], r15
jmp 0x1404d5997
jmp 0x1404d5a9e
mov rax, qword [r14 + rbx*8 + 8]
jmp 0x1404d59a6
mov qword [r14 + rbx*8], rax
inc rbx
cmc
cmp r12b, 0x6c
cmp qword [r14 + rbx*8], rsi
jne 0x1404d599c
mov r8d, 8
bswap rdx
cqo
movzx dx, ah
mov rdx, rbx
xchg cl, cl
mov rcx, r14
jmp 0x1404d59d8
call fcn.1404d5064
xor ecx, ecx
bswap bx
mov ebx, 0x266b19f6
mov bl, al
mov rbx, rax
call fcn.1404c598b
test rbx, rbx
je 0x1404d5aa2
mov qword [0x1400ba2e8], rbx
jmp 0x1404d5a06
jmp 0x1404d5aa2
test r12w, r12w
je 0x1404d5b9d
neg rbx
btr rdx, 0x18
sar dl, 0xd6
lea rdx, [rbx + 2]
cmp rdx, rbx
jae 0x1404d5a3b
or rbp, 0xffffffffffffffff
jmp 0x1404d5a36
jmp 0x1404d5b9f
movabs rax, 0x1fffffffffffffff
cmp rdx, rax
jae 0x1404d5a2d
mov r8d, 8
seta cl
mov rcx, r14
jmp 0x1404d5a5f
call fcn.1404d5064
sub ecx, ecx
mov r14b, r14b
not r14b
xchg r14b, r14b
mov r14, rax
call fcn.1404c598b
test r14, r14
jmp 0x1404d5a7f
je 0x1404d5a2d
mov qword [r14 + rbx*8], r15
stc
btr rdi, r9
or dil, 0x3f
mov qword [r14 + rbx*8 + 8], rsi
mov qword [0x1400ba2e8], r14
mov rdi, rsi
stc
test ebp, ebp
jmp 0x1404d5aa9
je 0x1404d5ba5
or rbp, 0xffffffffffffffff
mov r14b, 0xd3
movsx r14w, bpl
mov r14, rbp
inc r14
cmp word [r15 + r14*2], si
jmp 0x1404d5acb
jne 0x1404d5abe
mov edx, 2
add r14, rdx
mov cx, 0x3108
mov rcx, r14
jmp 0x1404d5ae5
call fcn.1404c9a52
mov rbx, rax
test esi, 0x1aad24e9
cmc
test rax, rax
je 0x1404d5b5f
mov r8, r15
mov rcx, r11
mov rdx, r14
mov rcx, rax
call fcn.1404c6608
test eax, eax
jne 0x1404d5c0c
neg r12w
lea rax, [r13 + 1]
movsx ecx, ax
lea rax, [rbx + rax*2]
mov rcx, rbx
jmp 0x1404d5b2d
sbb rdx, rdx
stc
clc
mov word [rax - 2], si
clc
and rdx, rax
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
test eax, eax
jne 0x1404d5b5f
call fcn.1404b187f
mov esi, ebp
movzx cx, bpl
mov dword [rax], 0x2a
not cl
xchg cx, cx
mov rcx, rbx
jmp 0x1404d5b67
call fcn.1404c598b
jmp 0x1404d5ba5
call fcn.1404b187f
or rsi, 0xffffffffffffffff
mov dword [rax], 0x16
movsx rcx, r10w
movsx cx, r11b
cmovle bp, r13w
mov ebp, esi
setg ch
movsxd rcx, r10d
jmp 0x1404d5b9b
mov esi, ebp
mov ebp, esi
mov esi, ebp
movzx rcx, bx
mov rcx, rdi
jmp 0x1404d5bad
call fcn.1404c598b
mov eax, esi
test ecx, 0x4b923d87
mov rbx, qword [rsp + 0x60]
btr r14w, 0xc0
test dx, 0x42f9
bswap r13d
mov rbp, qword [rsp + 0x68]
mov r15b, 0x3b
mov rsi, qword [rsp + 0x70]
btc r15w, r15w
movzx r15w, dil
or r14, 0x21221814
add rsp, 0x30
xchg r12b, r14b
pop r15
bswap r12w
pop r14
pop r13
pop r12
setge dil
mov dil, 0xd4
pop rdi
jmp 0x1404d5c0b
ret
sub r9d, r9d
stc
mov qword [rsp + 0x20], rsi
jmp 0x1404d5c1e
xor r8d, r8d
sub edx, edx
cmc
sub ecx, ecx
jmp 0x1404d5c2b
call fcn.1404b25bb
int3