Function at 0x180003ac0
Capabilities:
Contain obfuscated stackstrings
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x1b8]
sub rsp, 0x2b0
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x18000e008]
xor rax, rsp
mov qword [rbp + 0x190], rax
xor r14d, r14d
mov dword [rsp + 0x20], r14d
movdqa xmm0, xmmword [0x18000a860]
movdqu xmmword [rbp - 0x50], xmm0
movdqa xmm1, xmmword [0x18000a830]
movdqu xmmword [rbp - 0x40], xmm1
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x40], xmm1
lea rax, [rbp - 0x4f]
mov rdi, 0xffffffffffffffff
mov r8, rdi
inc r8
cmp byte [rax + r8], r14b
jne 0x180003b36
lea rdx, [rbp - 0x4f]
lea rcx, [rbp + 0x30]
call fcn.1800066d0
nop
lea rcx, [rbp + 0x30]
cmp qword [rbp + 0x48], 0x10
cmovae rcx, qword [rbp + 0x30]
mov r8d, 0x104
lea rdx, [rbp + 0x80]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
lea rax, [rbp]
mov qword [rbp - 0x30], rax
lea rax, [rbp + 0x80]
mov rbx, rdi
inc rbx
cmp byte [rax + rbx], 0
jne 0x180003b80
call fcn.1800073d0
lea rcx, [rbp + 0x80]
mov qword [rbp - 0x70], rcx
mov qword [rbp - 0x68], rbx
lea r8, [rbp - 0x70]
mov edx, eax
lea rcx, [rbp]
call fcn.180001c00
mov esi, 2
mov dword [rsp + 0x20], esi
and esi, 0xfffffffd
mov dword [rsp + 0x20], esi
or esi, 1
mov dword [rsp + 0x20], esi
and esi, 0xfffffffe
mov dword [rsp + 0x20], esi
lea rcx, [rbp]
call fcn.1800034f0
test al, al
jne 0x180003bff
mov dword [rsp + 0x28], 0x20425155
mov dword [rsp + 0x2c], 0x3f203e2d
mov word [rsp + 0x30], 0xa
lea rcx, [rsp + 0x29]
call fcn.180001030
xor bl, bl
jmp 0x180003f28
mov dword [rsp + 0x28], 0x5336521e
mov dword [rsp + 0x2c], 0x75746174
mov dword [rsp + 0x30], 0x6e692e73
mov word [rsp + 0x34], 0x69
lea rax, [rsp + 0x70]
mov qword [rbp - 0x30], rax
lea rax, [rsp + 0x29]
mov rbx, rdi
nop
inc rbx
cmp byte [rax + rbx], 0
jne 0x180003c30
call fcn.1800073d0
lea rcx, [rsp + 0x29]
mov qword [rbp - 0x60], rcx
mov qword [rbp - 0x58], rbx
lea r8, [rbp - 0x60]
mov edx, eax
lea rcx, [rsp + 0x70]
call fcn.180001c00
or esi, 0x10
mov dword [rsp + 0x20], esi
and esi, 0xffffffef
mov dword [rsp + 0x20], esi
or esi, 8
mov dword [rsp + 0x20], esi
and esi, 0xfffffff7
mov dword [rsp + 0x20], esi
lea r8, [rsp + 0x70]
lea rdx, [rbp]
lea rcx, [rbp + 0x60]
call fcn.1800020e0
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x180003cce
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180003cc9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180003cc9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180007be4
movdqa xmm0, xmmword [0x18000a7f0]
movdqu xmmword [rbp - 0x80], xmm0
mov word [rsp + 0x70], r14w
lea rcx, [rbp + 0x60]
call fcn.1800034f0
test al, al
je 0x180003ed1
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x20], xmm0
lea rdx, [rbp]
lea rcx, [rbp - 0x20]
call fcn.180005d80
mov dword [rsp + 0x40], eax
lea rsi, [0x18000e050]
mov qword [rsp + 0x48], rsi
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rbp - 0x10], xmm0
xorps xmm0, xmm0
movups xmmword [rbp + 0x20], xmm0
lea rax, [rsp + 0x60]
mov qword [rbp - 0x30], rax
movdqa xmmword [rsp + 0x60], xmm0
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x180003d44
lock inc dword [rcx + 8]
movdqa xmm6, xmmword [rbp - 0x20]
movdqa xmmword [rsp + 0x60], xmm6
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x20]
call fcn.180003390
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x50], xmm0
lea rax, [rsp + 0x40]
mov qword [rsp + 0x50], rax
movdqa xmmword [rsp + 0x40], xmm0
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x180003d87
lock inc dword [rcx + 8]
movdqa xmm6, xmmword [rbp - 0x20]
movdqa xmmword [rsp + 0x40], xmm6
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x50]
call fcn.180003470
nop
nop dword [rax]
mov rbx, qword [rbp + 0x20]
cmp rbx, qword [rbp + 0x50]
je 0x180003e1f
mov dword [rbp - 0x10], r14d
mov qword [rbp - 8], rsi
lea rcx, [rbx + 0x20]
cmp qword [rbx + 0x38], 8
jb 0x180003dc1
mov rcx, qword [rbx + 0x20]
call fcn.180007940
movzx ecx, al
mov qword [rbp - 0x30], rcx
shr rax, 0x20
mov dword [rsp + 0x50], eax
mov qword [rsp + 0x58], rsi
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rbp - 0x10], xmm0
cmp eax, 0x91
jne 0x180003e00
lea r8, [rbp - 0x30]
lea rdx, [rbp - 0x10]
lea rcx, [rbx + 0x20]
call fcn.1800035d0
mov rcx, qword [rbp - 0x30]
cmp dword [rbp - 0x10], 0
cmovne rcx, rdi
mov qword [rbp - 0x30], rcx
lea rcx, [rbp + 0x20]
call fcn.180002e00
test eax, eax
jne 0x180004000
jmp 0x180003da0
mov rbx, qword [rbp + 0x58]
test rbx, rbx
je 0x180003e52
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x180003e52
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x180003e52
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
nop
mov rbx, qword [rbp + 0x28]
test rbx, rbx
je 0x180003e85
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x180003e85
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x180003e85
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
nop
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x180003eba
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x180003eba
mov rbx, qword [rbp - 0x18]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x180003eba
mov rcx, qword [rbp - 0x18]
mov rax, qword [rcx]
call qword [rax + 8]
lea rcx, [rbp]
cmp qword [rbp + 0x18], 8
cmovae rcx, qword [rbp]
call fcn.180007940
mov bl, 1
jmp 0x180003ed3
xor bl, bl
mov rdx, qword [rbp + 0x78]
cmp rdx, 8
jb 0x180003f16
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180003f11
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180003f11
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180007be4
movdqa xmm0, xmmword [0x18000a7f0]
movdqu xmmword [rbp + 0x70], xmm0
mov word [rbp + 0x60], r14w
mov rdx, qword [rbp + 0x18]
cmp rdx, 8
jb 0x180003f6b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180003f66
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180003f66
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180007be4
movdqa xmm0, xmmword [0x18000a7f0]
movdqu xmmword [rbp + 0x10], xmm0
mov word [rbp], r14w
mov rdx, qword [rbp + 0x48]
cmp rdx, 0x10
jb 0x180003fbb
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180003fb6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180003fb6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180007be4
movdqa xmm0, xmmword [0x18000a800]
movdqu xmmword [rbp + 0x40], xmm0
mov byte [rbp + 0x30], 0
movzx eax, bl
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.180007b80
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret
mov edx, eax
call fcn.180002b40
int3