Function at 0x1400b91e0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0xa0]
sub rsp, 0x1a0
mov rax, qword [0x14017a390]
xor rax, rsp
mov qword [rbp + 0x90], rax
mov r15, rcx
mov qword [rsp + 0x30], rcx
xor r13d, r13d
mov edi, r13d
mov dword [rbp - 0x80], r13d
mov rcx, qword [0x1401802a0]
movabs rax, 0x4d25767f9dce13f5
and rcx, rax
shl rcx, 4
add rcx, qword [0x140180288]
mov rax, qword [rcx + 8]
mov rdx, qword [0x140180278]
cmp rax, rdx
je 0x1400b9393
mov rcx, qword [rcx]
cmp dword [rax + 0x10], r13d
je 0x1400b9273
cmp rax, rcx
je 0x1400b9393
mov rax, qword [rax + 8]
cmp dword [rax + 0x10], 0
jne 0x1400b9260
test rax, rax
je 0x1400b9393
cmp rax, rdx
je 0x1400b9393
mov dword [rsp + 0x58], r13d
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x60]
lea rcx, [0x140180270]
call fcn.14009a4a0
mov rdx, qword [rax]
add rdx, 0x18
lea rcx, [0x14017a2f0]
call fcn.140053fb0
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp - 0x70]
call fcn.1400f5c20
mov edx, 1
lea rcx, [rbp - 0x70]
call fcn.140050650
nop
mov rdx, qword [str.dllReport]
lea rcx, [rbp - 0x60]
call fcn.14000d030
mov rcx, rax
lea rdx, [0x140147fb0]
call fcn.14000d030
mov rdx, r15
cmp qword [r15 + 0x18], 8
jb 0x1400b92ff
mov rdx, qword [r15]
mov rcx, rax
call fcn.14000d030
mov rcx, rax
lea rdx, [0x140136acc]
call fcn.14000d030
mov edx, 2
mov rcx, rax
call fcn.1400191f0
nop
mov qword [rsp + 0x38], r13
mov r9, r13
mov qword [rsp + 0x48], r13
mov r10d, 7
mov qword [rsp + 0x50], r10
mov word [rsp + 0x38], r13w
bts edi, 0xe
mov dword [rbp - 0x80], edi
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rax
mov rcx, qword [rbp + 0x18]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x1400b9768
mov rax, qword [rbp - 0x18]
mov r8, qword [rax]
test r8, r8
je 0x1400b9768
mov rax, qword [rbp - 0x38]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x10]
cmovb r8, qword [rbp + 0x10]
sub r8, rdx
sar r8, 1
jmp 0x1400b979f
mov dl, 1
lea rcx, [rsp + 0x60]
call fcn.1400b0010
nop
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x60]
call fcn.14005d8a0
mov edi, 3
lea rcx, [rsp + 0x60]
call fcn.140002d40
lea rcx, [0x14017a2f0]
call fcn.140002d40
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [0x14017a2f0], xmm0
movups xmm1, xmmword [rsp + 0x48]
movups xmmword [0x14017a300], xmm1
movdqa xmm0, xmmword [0x140154050]
movdqu xmmword [rsp + 0x48], xmm0
mov word [rsp + 0x38], r13w
lea rcx, [rsp + 0x38]
call fcn.140002d40
mov ebx, r13d
mov qword [rsp + 0x60], r13
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rsp + 0x60]
lea edx, [rdi + 5]
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
lea r14d, [rdi + 1]
test eax, eax
je 0x1400b9451
mov dword [rsp + 0x58], r14d
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, r14d
lea r8, [rbp - 0x80]
lea edx, [rdi + 0x11]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
cmovne ebx, dword [rbp - 0x80]
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x1400b9461
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
jne 0x1400b92b3
xor r8d, r8d
xor edx, edx
lea rcx, str.ProgramData
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x1400b9518
lea ebx, [rax + 1]
mov ecx, ebx
mov eax, 2
mul rcx
mov rdi, 0xffffffffffffffff
cmovo rax, rdi
mov rcx, rax
call fcn.1400f3640
mov rsi, rax
mov qword [rsp + 0x60], rax
mov r8d, ebx
mov rdx, rax
lea rcx, str.ProgramData
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x1400b9506
inc rdi
cmp word [rsi + rdi*2], 0
jne 0x1400b94c2
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x50], 7
mov r8, rdi
mov rdx, rsi
lea rcx, [rsp + 0x38]
call fcn.1400021f0
mov edi, 0x1f
test rsi, rsi
je 0x1400b9540
lea edx, [rdi - 0x1d]
mov rcx, rsi
call fcn.1400f35f0
jmp 0x1400b9540
test rsi, rsi
je 0x1400b9518
mov edx, 2
mov rcx, rsi
call fcn.1400f35f0
lea rax, [rsp + 0x38]
mov qword [rsp + 0x60], rax
call fcn.1400cdb10
nop
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x50], 7
mov edi, 0x67
lea rcx, [0x14017a2f0]
call fcn.140002d40
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [0x14017a2f0], xmm0
movups xmm1, xmmword [rsp + 0x48]
movups xmmword [0x14017a300], xmm1
movdqa xmm0, xmmword [0x140154050]
movdqu xmmword [rsp + 0x48], xmm0
mov word [rsp + 0x38], r13w
lea rcx, [rsp + 0x38]
call fcn.140002d40
lea rax, [rsp + 0x38]
mov qword [rsp + 0x60], rax
call fcn.1400cdb10
nop
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x50], 7
bts edi, 0xa
btr edi, 0xa
or edi, 0x300
lea rax, [rsp + 0x38]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], r13
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
lea rdx, [rsp + 0x60]
lea rcx, [0x14017a2f0]
call fcn.1400b0bd0
mov ebx, eax
lea rcx, [rsp + 0x38]
call fcn.140002d40
test ebx, ebx
je 0x1400b9854
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x50], 7
mov word [rsp + 0x38], r13w
mov r8d, 0x24
lea rdx, str.48C4687D_9760_4F5B_BAB3_60351B0841E4
lea rcx, [rsp + 0x38]
call fcn.1400021f0
or edi, 0x1800
lea rdx, [rsp + 0x38]
lea rcx, [0x14017a2f0]
call fcn.140013ee0
nop
lea rcx, [rsp + 0x38]
call fcn.140002d40
lea rcx, [0x14017a2f0]
cmp qword [0x14017a308], 8
cmovae rcx, qword [0x14017a2f0]
mov r9d, 0xffffffff
mov r8d, 3
lea rdx, [rsp + 0x38]
call fcn.1400cdf50
test eax, eax
jne 0x1400b96ab
mov ecx, dword [rsp + 0x48]
bt ecx, 0xa
jae 0x1400b9699
mov eax, dword [rsp + 0x4c]
cmp eax, 0xa000000c
je 0x1400b96c5
cmp eax, 0xa0000003
jne 0x1400b9699
mov r14d, 0xa
jmp 0x1400b96c5
movzx r14d, cl
and r14d, 0x10
or r14d, 0x20
shr r14d, 4
jmp 0x1400b96c5
sub eax, 2
je 0x1400b96bf
sub eax, 1
je 0x1400b96bf
sub eax, 0x32
je 0x1400b96bf
cmp eax, 0x46
jne 0x1400b972c
mov r14d, 1
cmp r14d, 1
je 0x1400b972c
lea rcx, [0x14017a2f0]
cmp qword [0x14017a308], 8
cmovae rcx, qword [0x14017a2f0]
mov r9d, 0xffffffff
mov r8d, 3
lea rdx, [rsp + 0x38]
call fcn.1400cdf50
test eax, eax
jne 0x1400b9722
mov ecx, dword [rsp + 0x48]
bt ecx, 0xa
jae 0x1400b9718
mov eax, dword [rsp + 0x4c]
cmp eax, 0xa000000c
je 0x1400b9750
cmp eax, 0xa0000003
je 0x1400b9750
test cl, 0x10
je 0x1400b9750
jmp 0x1400b92b3
sub eax, 2
je 0x1400b9750
sub eax, 1
jmp 0x1400b9750
lea rcx, [0x14017a2f0]
cmp qword [0x14017a308], 8
cmovae rcx, qword [0x14017a2f0]
call fcn.1400cdd80
test al, al
jne 0x1400b92b3
lea rdx, [0x140149ea7]
lea rcx, [0x14017a2f0]
call fcn.140098650
jmp 0x1400b9854
test cl, 4
jne 0x1400b9795
mov rax, qword [rbp - 0x20]
mov rcx, qword [rax]
test rcx, rcx
je 0x1400b9795
mov rax, qword [rbp - 0x40]
mov rdx, qword [rax]
mov rax, qword [rbp - 8]
movsxd r8, dword [rax]
add r8, r8
sub r8, rdx
add r8, rcx
sar r8, 1
jmp 0x1400b979f
mov r8, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x60]
test rdx, rdx
je 0x1400b97b8
lea rcx, [rsp + 0x38]
call fcn.1400021f0
mov r10, qword [rsp + 0x50]
mov r9, qword [rsp + 0x48]
lea rdx, [rsp + 0x38]
cmp r10, 8
cmovae rdx, qword [rsp + 0x38]
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], r13w
mov r8, r9
lea rcx, [rsp + 0x60]
call fcn.1400021f0
nop
lea rdx, [rsp + 0x60]
lea rcx, [0x14017a2f0]
call fcn.140013ee0
nop
lea rcx, [rsp + 0x60]
call fcn.140002d40
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x1400b984a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b9844
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400b9887
call fcn.1400f35f0
nop
lea rcx, [rbp - 0x70]
call fcn.14003a080
nop
mov rcx, r15
call fcn.140002d40
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.1400f2e00
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret
call fcn.1400f9bf0
nop
int3