Function at 0x1401f7260
Capabilities:
Set environment variable

Disassembly:
jmp 0x1404d22d2
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
movsxd rbp, ecx
bswap ebp
bts bp, bx
mov qword [rsp + 0x18], rsi
push rdi
and bpl, 0x4d
not bpl
push r12
push r13
add bpl, 0x93
not bpl
btr rbp, 0x26
push r14
btr bp, r8w
neg bpl
shl ebp, 0xb2
push r15
or bp, si
sub rsp, 0x30
bts r15w, r8w
sub esi, esi
cmova rbp, rax
test esp, 0x1a8548f2
mov ebp, edx
mov r15, rcx
cmp r12, r11
jmp 0x1404d2336
test rcx, rcx
jmp 0x1404d233e
jne 0x1404d235d
call fcn.1404ae0f9
mov dword [rax], 0x16
or rax, 0xffffffffffffffff
jmp 0x1404d2358
jmp 0x1404d289b
mov edx, 0x3d
jmp 0x1404d2367
mov rdi, r15
jmp 0x1404d236f
call fcn.140118470
mov r13, rax
test r13, 0x3110073d
test r12d, r11d
test rax, rax
jmp 0x1404d2389
je 0x1404d2853
cmp rax, r15
jmp 0x1404d2397
je 0x1404d2853
mov r14, qword [0x1400ba2e8]
bt r12, r9
sub r12w, bx
cmp r14, qword [0x1400ba2f0]
mov r12b, r10b
movzx r12d, word [rax + 2]
jmp 0x1404d23c0
jne 0x1404d23f1
mov rcx, r14
jmp 0x1404d23ce
call fcn.1404d2916
mov r14, rax
cmp r14, 0x5f3f0791
movsxd rbx, ecx
mov qword [0x1400ba2e8], rax
movzx bx, dil
sbb bx, 0x184f
mov ebx, 1
test r10b, dl
cmp bpl, 0x12
test r14, r14
jne 0x1404d2521
mov rax, qword [0x1400ba2e0]
test ebp, ebp
jmp 0x1404d2414
je 0x1404d247a
test rax, rax
jmp 0x1404d2422
je 0x1404d247a
call fcn.1404ae30a
test rax, rax
jmp 0x1404d2435
je 0x1404d2853
mov r14, qword [0x1400ba2e8]
cmp r14, qword [0x1400ba2f0]
jmp 0x1404d244e
jne 0x1404d2518
mov rcx, r14
jmp 0x1404d245c
call fcn.1404d2916
mov r14, rax
jmp 0x1404d2469
mov qword [0x1400ba2e8], rax
jmp 0x1404d2475
jmp 0x1404d2518
test r12w, r12w
jmp 0x1404d2483
je 0x1404d286f
test rax, rax
jmp 0x1404d2491
jne 0x1404d24e9
lea edx, [rax + 8]
mov cx, ax
mov rcx, rbx
jmp 0x1404d24a5
call fcn.1404c6440
xor ecx, ecx
mov qword [0x1400ba2e0], rax
jmp 0x1404d24b8
call fcn.1404c2337
cmp qword [0x1400ba2e0], rsi
jmp 0x1404d24c9
jne 0x1404d24d8
or rbp, 0xffffffffffffffff
jmp 0x1404d287b
mov r14, qword [0x1400ba2e8]
clc
test r14, r14
jne 0x1404d2521
mov edx, 8
movzx ecx, bp
mov rcx, rbx
jmp 0x1404d24f9
call fcn.1404c6440
sub ecx, ecx
mov qword [0x1400ba2e8], rax
jmp 0x1404d250c
call fcn.1404c2337
mov r14, qword [0x1400ba2e8]
test r14, r14
je 0x1404d24cf
mov rax, qword [r14]
neg rbx
sub r13, r15
btc bx, r12w
test r9w, bp
mov bh, 4
sar r13, 1
sal bh, 0x3e
mov rbx, r14
cmc
test rax, rax
jmp 0x1404d2548
je 0x1404d25cf
mov r8, r13
movsx edx, r15w
mov rdx, rax
movsx ecx, di
movzx ecx, sp
mov rcx, r15
jmp 0x1404d2566
call fcn.1404de745
test eax, eax
jmp 0x1404d2572
jne 0x1404d25ac
mov rax, qword [rbx]
bsf rcx, r10
bts cx, r12w
movsxd rcx, ecx
mov ecx, 0x3d
cmp word [rax + r13*2], cx
jmp 0x1404d2596
je 0x1404d25be
cmp word [rax + r13*2], si
jmp 0x1404d25a6
je 0x1404d25be
add rbx, 8
setno al
movzx eax, dx
mov rax, qword [rbx]
jmp 0x1404d2540
sub rbx, r14
sar rbx, 3
jmp 0x1404d25ca
jmp 0x1404d25e2
sub rbx, r14
sar rbx, 3
clc
neg rbx
cmc
cmp r10w, 0x6e8e
stc
test rbx, rbx
jmp 0x1404d25ea
js 0x1404d26a6
cmp qword [r14], rsi
je 0x1404d26a6
mov rcx, qword [r14 + rbx*8]
jmp 0x1404d2602
call fcn.1404c2337
test r12w, r12w
jmp 0x1404d2610
je 0x1404d2638
mov qword [r14 + rbx*8], r15
jmp 0x1404d261f
jmp 0x1404d2747
mov rax, qword [r14 + rbx*8 + 8]
jmp 0x1404d262e
mov qword [r14 + rbx*8], rax
inc rbx
test r12b, r11b
cmp qword [r14 + rbx*8], rsi
jmp 0x1404d2641
jne 0x1404d2624
mov r8d, 8
movzx cx, bl
cwd
movsx edx, r13w
mov rdx, rbx
cmovp rcx, r15
bswap rcx
mov rcx, r14
jmp 0x1404d2669
call fcn.1404d1ca5
xor ecx, ecx
movzx ebx, r10w
movsx rbx, r14w
xchg ebx, ebx
mov rbx, rax
jmp 0x1404d2682
call fcn.1404c2337
test rbx, rbx
jmp 0x1404d268f
je 0x1404d274f
mov qword [0x1400ba2e8], rbx
jmp 0x1404d26a1
jmp 0x1404d274f
test r12w, r12w
je 0x1404d2885
neg rbx
lea rdx, [rbx + 2]
jmp 0x1404d26c6
cmp rdx, rbx
jmp 0x1404d26ce
jae 0x1404d26dd
or rbp, 0xffffffffffffffff
jmp 0x1404d2887
movabs rax, 0x1fffffffffffffff
test bpl, 0x3b
cmp rdx, rax
jmp 0x1404d26f3
jae 0x1404d26d4
mov r8d, 8
xchg cl, ch
jmp 0x1404d2706
mov rcx, r14
call fcn.1404d1ca5
sub ecx, ecx
bswap r14
mov r14, rax
call fcn.1404c2337
test r14, r14
jmp 0x1404d2723
je 0x1404d26d4
mov qword [r14 + rbx*8], r15
btr rdi, 0xc9
mov dil, dl
mov qword [r14 + rbx*8 + 8], rsi
mov qword [0x1400ba2e8], r14
or edi, r12d
rcr rdi, cl
mov rdi, rsi
clc
cmc
cmp dh, 0x41
test ebp, ebp
jmp 0x1404d2756
je 0x1404d2889
or rbp, 0xffffffffffffffff
dec r14
movzx r14w, dil
setno r14b
mov r14, rbp
jmp 0x1404d2774
inc r14
cmp r10w, 0x4ce2
cmp word [r15 + r14*2], si
jmp 0x1404d2787
jne 0x1404d2774
mov edx, 2
movsx cx, sil
shrd ecx, r11d, 0xc4
ror cx, 0xe3
add r14, rdx
xchg ch, cl
movsx ecx, di
mov rcx, r14
jmp 0x1404d27b0
call fcn.1404c6440
mov rbx, rax
test rax, rax
je 0x1404d2841
mov r8, r15
movzx dx, r9b
mov rdx, r14
mov rcx, rax
call fcn.1404c2fd8
test eax, eax
jne 0x1404d28e6
neg r12w
mov al, ah
lea rax, [r13 + 1]
lea rax, [rbx + rax*2]
movzx ecx, r12w
mov rcx, rbx
jmp 0x1404d27f6
sbb rdx, rdx
cmp r9d, 0x75df798b
mov word [rax - 2], si
test r10w, 0x7d17
and rdx, rax
jmp 0x1404d2812
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
test eax, eax
jmp 0x1404d281f
jne 0x1404d2841
call fcn.1404ae0f9
mov esi, ebp
mov cx, r13w
not ecx
mov cl, 0xdd
mov dword [rax], 0x2a
not cl
movsx cx, r15b
mov rcx, rbx
jmp 0x1404d2849
call fcn.1404c2337
jmp 0x1404d2889
call fcn.1404ae0f9
or rsi, 0xffffffffffffffff
movsx rbp, r15w
movzx rbp, cx
mov dword [rax], 0x16
movzx cx, r10b
mov ebp, esi
mov cx, sp
movzx ecx, sp
movsx rcx, r12w
mov esi, ebp
setns ch
mov cl, r9b
not ch
mov ebp, esi
mov esi, ebp
mov rcx, rdi
jmp 0x1404d2891
call fcn.1404c2337
mov eax, esi
sal si, cl
mov rbx, qword [rsp + 0x60]
adc r12d, 0x2ab52bc3
inc ebp
or r14d, 0x2339589c
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x30
movsx rdi, bx
pop r15
setns r14b
movsx r13, r8w
cmovns r12, r15
pop r14
xchg r13w, di
bswap r12w
pop r13
bswap r12d
pop r12
movsx edi, cx
pop rdi
ret
sub r9d, r9d
cmp dl, sil
clc
mov qword [rsp + 0x20], rsi
test r8b, 0xb3
test r15w, r8w
clc
xor r8d, r8d
stc
jmp 0x1404d2907
xor edx, edx
sub ecx, ecx
call fcn.1404aee0e
int3