Function at 0x140073c90
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 [0x1401dc478]
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 0x140073db1
cmp al, 1
je 0x140073db1
sub al, 2
cmp al, 1
ja 0x140073dc5
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.140072cb0
test al, al
je 0x140073dc5
xorps xmm0, xmm0
mov byte [rbp - 0x40], 0
mov edx, 0x1000
movdqu xmmword [rbp - 0x50], xmm0
cmp byte [rbx], 4
jne 0x140073de4
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 0x140073dcc
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 0x140073d9d
cmp byte [rax], 0x30
jne 0x140073d8c
cmp byte [rax + 1], 0
je 0x140073d9d
cmp byte [rax], 0x6e
jne 0x140073dcc
cmp byte [rax + 1], 0x6f
jne 0x140073dcc
cmp byte [rax + 2], 0
jne 0x140073dcc
mov r9, rdi
mov r8, rsi
mov rdx, r14
lea rcx, [rbp - 0x50]
call fcn.140135170
jmp 0x140073ddf
lea rdx, [rbp - 0x30]
mov rcx, rbx
call fcn.140073930
test al, al
jne 0x140073d19
xor bl, bl
jmp 0x140073e9d
mov r9, rdi
mov r8, rsi
mov rdx, r14
lea rcx, [rbp - 0x50]
call fcn.140133dc0
nop
jmp 0x140073e75
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 0x140073e62
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 0x140073e4e
cmp byte [rax], 0x30
jne 0x140073e3d
cmp byte [rax + 1], 0
je 0x140073e4e
cmp byte [rax], 0x6e
jne 0x140073e62
cmp byte [rax + 1], 0x6f
jne 0x140073e62
cmp byte [rax + 2], 0
jne 0x140073e62
mov r9, rdi
mov r8, rsi
mov rdx, r14
lea rcx, [rbp - 0x50]
call fcn.140134fe0
jmp 0x140073e75
mov r9, rdi
mov r8, rsi
mov rdx, r14
lea rcx, [rbp - 0x50]
call fcn.140133970
nop
cmp byte [rbp - 0x40], 0
jne 0x140073e9b
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x140073e9b
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__aligned_free]
cmp qword [rbp - 0x50], 0
je 0x140073e9b
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 0x140073eda
mov rdx, qword [rbp - 0x20]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140073ed5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140073ed5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140161d84
movzx eax, bl
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1401623e0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret