Function at 0x140046470
Capabilities:
Query environment variable
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
sub rsp, 0x360
lea rbp, [rsp + 0x40]
and rbp, 0xffffffffffffffe0
movabs rax, 0xc8a5d59ab48b81d7
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x30], rax
movabs rdi, 0x1a5dc84483139f56
mov qword [rbp], rdi
mov rax, qword [rbp]
mov qword [rbp + 0x38], rax
movabs rsi, 0xc8cbbae9dae3ee9d
mov qword [rbp], rsi
mov rax, qword [rbp]
mov qword [rbp + 0x100], rax
mov qword [rbp], rdi
mov rax, qword [rbp]
mov qword [rbp + 0x108], rax
movdqa xmm0, xmmword [rbp + 0x30]
pxor xmm0, xmmword [rbp + 0x100]
movdqa xmmword [rbp + 0x30], xmm0
xorps xmm0, xmm0
movups xmmword [rbp + 0x1c0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x1d0], xmm1
lea rax, [rbp + 0x30]
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x140046522
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x1c0]
call fcn.140059940
nop
movabs rax, 0xc8cbc88cb68f87d0
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x40], rax
mov qword [rbp], rdi
mov rax, qword [rbp]
mov qword [rbp + 0x48], rax
mov qword [rbp], rsi
mov rax, qword [rbp]
mov qword [rbp + 0x110], rax
mov qword [rbp], rdi
mov rax, qword [rbp]
mov qword [rbp + 0x118], rax
movdqa xmm0, xmmword [rbp + 0x40]
pxor xmm0, xmmword [rbp + 0x110]
movdqa xmmword [rbp + 0x40], xmm0
xorps xmm0, xmm0
movups xmmword [rbp + 0x1e0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x1f0], xmm1
lea rax, [rbp + 0x40]
mov r8, rbx
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400465b0
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 0x1e0]
call fcn.140059940
nop
movabs rax, 0xc8aec888ad8f8ff0
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x50], rax
mov qword [rbp], rdi
mov rax, qword [rbp]
mov qword [rbp + 0x58], rax
mov qword [rbp], rsi
mov rax, qword [rbp]
mov qword [rbp + 0x120], rax
mov qword [rbp], rdi
mov rax, qword [rbp]
mov qword [rbp + 0x128], rax
movdqa xmm0, xmmword [rbp + 0x50]
pxor xmm0, xmmword [rbp + 0x120]
movdqa xmmword [rbp + 0x50], xmm0
xorps xmm0, xmm0
movups xmmword [rbp + 0x200], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x210], xmm1
lea rax, [rbp + 0x50]
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140046640
lea rdx, [rbp + 0x50]
lea rcx, [rbp + 0x200]
call fcn.140059940
nop
movabs rax, 0xc8bfc98cae8f8ff0
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x60], rax
mov qword [rbp], rdi
mov rax, qword [rbp]
mov qword [rbp + 0x68], rax
mov qword [rbp], rsi
mov rax, qword [rbp]
mov qword [rbp + 0x130], rax
mov qword [rbp], rdi
mov rax, qword [rbp]
mov qword [rbp + 0x138], rax
movdqa xmm0, xmmword [rbp + 0x60]
pxor xmm0, xmmword [rbp + 0x130]
movdqa xmmword [rbp + 0x60], xmm0
xorps xmm0, xmm0
movups xmmword [rbp + 0x220], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x230], xmm1
lea rax, [rbp + 0x60]
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400466d0
lea rdx, [rbp + 0x60]
lea rcx, [rbp + 0x220]
call fcn.140059940
nop
movabs rax, 0x9dbfd48ca8919bde
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x70], rax
movabs rax, 0x1a5dc8448361fa25
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x78], rax
mov qword [rbp], rsi
mov rax, qword [rbp]
mov qword [rbp + 0x140], rax
mov qword [rbp], rdi
mov rax, qword [rbp]
mov qword [rbp + 0x148], rax
movdqa xmm0, xmmword [rbp + 0x70]
pxor xmm0, xmmword [rbp + 0x140]
movdqa xmmword [rbp + 0x70], xmm0
xorps xmm0, xmm0
movups xmmword [rbp + 0x240], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x250], xmm1
lea rax, [rbp + 0x70]
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x140046763
lea rdx, [rbp + 0x70]
lea rcx, [rbp + 0x240]
call fcn.140059940
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x260], xmm0
mov qword [rbp + 0x270], 7
mov qword [rbp + 0x278], reloc.WS2_32.dll_ntohs
mov rax, qword [str.Sandbox]
mov dword [rbp + 0x260], eax
movzx eax, word [0x1400e0d24]
mov word [rbp + 0x264], ax
movzx eax, byte [0x1400e0d26]
mov byte [rbp + 0x266], al
mov byte [rbp + 0x267], 0
movabs rax, 0xc8cbba9aaf9187eb
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x80], rax
mov qword [rbp], rdi
mov rax, qword [rbp]
mov qword [rbp + 0x88], rax
mov qword [rbp], rsi
mov rax, qword [rbp]
mov qword [rbp + 0x150], rax
mov qword [rbp], rdi
mov rax, qword [rbp]
mov qword [rbp + 0x158], rax
movdqa xmm0, xmmword [rbp + 0x80]
pxor xmm0, xmmword [rbp + 0x150]
movdqa xmmword [rbp + 0x80], xmm0
xorps xmm0, xmm0
movups xmmword [rbp + 0x280], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x290], xmm1
lea rax, [rbp + 0x80]
mov r8, rbx
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140046850
lea rdx, [rbp + 0x80]
lea rcx, [rbp + 0x280]
call fcn.140059940
nop
movabs rax, 0xada4fec9b48b81d7
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x90], rax
mov qword [rbp], rdi
mov rax, qword [rbp]
mov qword [rbp + 0x98], rax
mov qword [rbp], rsi
mov rax, qword [rbp]
mov qword [rbp + 0x160], rax
mov qword [rbp], rdi
mov rax, qword [rbp]
mov qword [rbp + 0x168], rax
movdqa xmm0, xmmword [rbp + 0x90]
pxor xmm0, xmmword [rbp + 0x160]
movdqa xmmword [rbp + 0x90], xmm0
xorps xmm0, xmm0
movups xmmword [rbp + 0x2a0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x2b0], xmm1
lea rax, [rbp + 0x90]
mov r8, rbx
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400468f0
lea rdx, [rbp + 0x90]
lea rcx, [rbp + 0x2a0]
call fcn.140059940
nop
movabs rax, 0xadb8cfc9ae908be9
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xa0], rax
movabs rax, 0x1a5dc84483139f24
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xa8], rax
mov qword [rbp], rsi
mov rax, qword [rbp]
mov qword [rbp + 0x170], rax
mov qword [rbp], rdi
mov rax, qword [rbp]
mov qword [rbp + 0x178], rax
movdqa xmm0, xmmword [rbp + 0xa0]
pxor xmm0, xmmword [rbp + 0x170]
movdqa xmmword [rbp + 0xa0], xmm0
xorps xmm0, xmm0
movups xmmword [rbp + 0x2c0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x2d0], xmm1
lea rax, [rbp + 0xa0]
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x140046995
lea rdx, [rbp + 0xa0]
lea rcx, [rbp + 0x2c0]
call fcn.140059940
nop
movabs rax, 0xb0a4d8c9be8d8fee
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xb0], rax
mov qword [rbp], rdi
mov rax, qword [rbp]
mov qword [rbp + 0xb8], rax
mov qword [rbp], rsi
mov rax, qword [rbp]
mov qword [rbp + 0x180], rax
mov qword [rbp], rdi
mov rax, qword [rbp]
mov qword [rbp + 0x188], rax
movdqa xmm0, xmmword [rbp + 0xb0]
pxor xmm0, xmmword [rbp + 0x180]
movdqa xmmword [rbp + 0xb0], xmm0
xorps xmm0, xmm0
movups xmmword [rbp + 0x2e0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x2f0], xmm1
lea rax, [rbp + 0xb0]
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x140046a30
lea rdx, [rbp + 0xb0]
lea rcx, [rbp + 0x2e0]
call fcn.140059940
nop
movabs rax, 0xa4a2cebc9da2aaca
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xe0], rax
movabs rax, 0x6f32ab27c26aeb3f
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xe8], rax
movabs rax, 0x6e72823fe02ad489
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xf0], rax
movabs rcx, 0xb7ccdd6af0c485c8
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0xf8], rax
mov qword [rbp], rsi
mov rax, qword [rbp]
mov qword [rbp + 0x1a0], rax
mov qword [rbp], rdi
mov rax, qword [rbp]
mov qword [rbp + 0x1a8], rax
movabs rax, 0x6e72823fe02aa0e7
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x1b0], rax
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0x1b8], rax
vmovdqu ymm0, ymmword [rbp + 0xe0]
vpxor ymm1, ymm0, ymmword [rbp + 0x1a0]
vmovdqa ymmword [rbp + 0xe0], ymm1
vxorps xmm0, xmm0, xmm0
vmovups xmmword [rbp + 0x300], xmm0
vxorps xmm1, xmm1, xmm1
vmovdqu xmmword [rbp + 0x310], xmm1
lea rax, [rbp + 0xe0]
mov r8, rbx
vzeroupper
inc r8
cmp byte [rax + r8], 0
jne 0x140046b35
lea rdx, [rbp + 0xe0]
lea rcx, [rbp + 0x300]
call fcn.140059940
nop
lea rcx, str.USERNAME
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
xorps xmm0, xmm0
movups xmmword [rbp + 8], xmm0
mov qword [rbp + 0x18], 0
mov qword [rbp + 0x20], 0
inc rbx
cmp byte [rax + rbx], 0
jne 0x140046b77
mov r8, rbx
mov rdx, rax
lea rcx, [rbp + 8]
call fcn.140059940
nop
lea rdi, [rbp + 8]
mov r8, qword [rbp + 8]
cmp qword [rbp + 0x20], 0x10
cmovae rdi, r8
lea rsi, [rbp + 8]
cmovae rsi, r8
add rsi, qword [rbp + 0x18]
lea rbx, [rbp + 8]
cmp qword [rbp + 0x20], 0x10
cmovae rbx, r8
cmp rbx, rsi
je 0x140046bd6
sub rdi, rbx
movsx ecx, byte [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov byte [rbx + rdi], al
inc rbx
cmp rbx, rsi
jne 0x140046bc2
lea r12, [rbp + 0x1c0]
nop dword [rax]
mov rdx, r12
lea rcx, [rbp + 0xc0]
call fcn.1400578e0
nop
lea rsi, [rbp + 0xc0]
mov r15, qword [rbp + 0xd8]
cmp r15, 0x10
setae al
mov rdi, qword [rbp + 0xc0]
cmovae rsi, rdi
lea rcx, [rbp + 0xc0]
test al, al
mov rax, qword [rbp + 0xd0]
je 0x140046c2b
mov rbx, rdi
lea r14, [rdi + rax]
jmp 0x140046c36
lea r14, [rcx + rax]
lea rbx, [rbp + 0xc0]
cmp rbx, r14
je 0x140046c69
sub rsi, rbx
nop
movsx ecx, byte [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov byte [rsi + rbx], al
inc rbx
cmp rbx, r14
jne 0x140046c40
mov r15, qword [rbp + 0xd8]
mov rax, qword [rbp + 0xd0]
mov rdi, qword [rbp + 0xc0]
lea rdx, [rbp + 0xc0]
cmp r15, 0x10
setae sil
cmovae rdx, rdi
lea rcx, [rbp + 8]
mov rbx, qword [rbp + 0x20]
cmp rbx, 0x10
cmovae rcx, qword [rbp + 8]
mov r8, qword [rbp + 0x18]
cmp r8, rax
jne 0x140046ca3
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140046d23
test sil, sil
je 0x140046cd9
lea rdx, [r15 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140046ccd
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140046d2c
mov rcx, rdi
call fcn.1400c0768
mov rbx, qword [rbp + 0x20]
add r12, 0x20
lea rax, [rbp + 0x320]
cmp r12, rax
jne 0x140046be0
cmp rbx, 0x10
jb 0x140046d38
lea rdx, [rbx + 1]
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140046d33
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140046d33
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.1400c0768
mov qword [rbp + 0x18], 0
mov qword [rbp + 0x20], reloc.WS2_32.dll_ntohs
mov byte [rbp + 8], 0
lea r9, [fcn.1400577b0]
mov edx, reloc.WLDAP32.dll_Ordinal_32
lea r8d, [rdx - 0x15]
lea rcx, [rbp + 0x1c0]
call fcn.1400c0448
xor al, al
lea r11, [rsp + 0x360]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret