Function at 0x14003f180
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x1400a0ca8]
xor rax, rsp
mov qword [rbp - 8], rax
mov rdi, r8
mov rbx, rdx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], 0
movzx eax, byte [rdx]
test al, 0xfc
jne 0x14003f2a1
cmp al, 1
je 0x14003f2a1
sub al, 2
cmp al, 1
ja 0x14003f2b5
lea rax, [rdx + 0x30]
mov qword [rbp - 0x50], rax
lea rax, [rdx + 8]
mov qword [rbp - 0x48], rax
lea rax, [rdx + 4]
mov qword [rbp - 0x40], rax
mov word [rbp - 0x38], 0x101
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x50]
call fcn.14003da90
test al, al
je 0x14003f2b5
xorps xmm0, xmm0
mov byte [rbp - 0x40], 0
mov edx, 0x1000
movdqu xmmword [rbp - 0x50], xmm0
cmp byte [rbx], 4
jne 0x14003f2d4
mov ecx, 0x400000
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__aligned_malloc]
mov qword [rbp - 0x50], rax
mov edx, 0x1000
mov ecx, edx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__aligned_malloc]
mov qword [rbp - 0x48], rax
mov rsi, qword [rbp - 0x28]
mov r14, qword [rbp - 0x30]
sub rsi, r14
mov eax, 1
xor ecx, ecx
cpuid
shr ecx, 0x19
test cl, 1
je 0x14003f2bc
lea rcx, str.SUMO_USE_SOFTWARE_AES
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x14003f28d
cmp byte [rax], 0x30
jne 0x14003f27c
cmp byte [rax + 1], 0
je 0x14003f28d
cmp byte [rax], 0x6e
jne 0x14003f2bc
cmp byte [rax + 1], 0x6f
jne 0x14003f2bc
cmp byte [rax + 2], 0
jne 0x14003f2bc
mov r9, rdi
mov r8, rsi
mov rdx, r14
lea rcx, [rbp - 0x50]
call fcn.140061960
jmp 0x14003f2cf
lea rdx, [rbp - 0x30]
mov rcx, rbx
call fcn.14003eed0
test al, al
jne 0x14003f209
xor bl, bl
jmp 0x14003f38d
mov r9, rdi
mov r8, rsi
mov rdx, r14
lea rcx, [rbp - 0x50]
call fcn.1400605b0
nop
jmp 0x14003f365
mov ecx, 0x200000
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__aligned_malloc]
mov qword [rbp - 0x50], rax
mov edx, 0x1000
mov ecx, edx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__aligned_malloc]
mov qword [rbp - 0x48], rax
mov rsi, qword [rbp - 0x28]
mov r14, qword [rbp - 0x30]
sub rsi, r14
mov eax, 1
xor ecx, ecx
cpuid
shr ecx, 0x19
test cl, 1
je 0x14003f352
lea rcx, str.SUMO_USE_SOFTWARE_AES
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x14003f33e
cmp byte [rax], 0x30
jne 0x14003f32d
cmp byte [rax + 1], 0
je 0x14003f33e
cmp byte [rax], 0x6e
jne 0x14003f352
cmp byte [rax + 1], 0x6f
jne 0x14003f352
cmp byte [rax + 2], 0
jne 0x14003f352
mov r9, rdi
mov r8, rsi
mov rdx, r14
lea rcx, [rbp - 0x50]
call fcn.1400617d0
jmp 0x14003f365
mov r9, rdi
mov r8, rsi
mov rdx, r14
lea rcx, [rbp - 0x50]
call fcn.140060160
nop
cmp byte [rbp - 0x40], 0
jne 0x14003f38b
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x14003f38b
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__aligned_free]
cmp qword [rbp - 0x50], 0
je 0x14003f38b
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__aligned_free]
mov bl, 1
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x14003f3ca
mov rdx, qword [rbp - 0x20]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003f3c5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003f3c5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006afd0
movzx eax, bl
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14006b0f0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret