Function at 0x140045eb0
Capabilities:
Query environment variable
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x330]
sub rsp, 0x430
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], listen
mov qword [rbp - 0x78], reloc.WS2_32.dll_ntohs
movsd xmm0, qword [str.balloon.sys]
movsd qword [rsp + 0x70], xmm0
movzx eax, word [0x1400e0cd8]
mov word [rsp + 0x78], ax
movzx eax, byte [reloc.WS2_32.dll_WSAStartup]
mov byte [rsp + 0x7a], al
mov byte [rsp + 0x7b], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], 0xa
mov qword [rbp - 0x58], reloc.WS2_32.dll_ntohs
movsd xmm0, qword [str.netkvm.sys]
movsd qword [rbp - 0x70], xmm0
movzx eax, word [0x1400e0ce8]
mov word [rbp - 0x68], ax
mov byte [rbp - 0x66], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], 8
mov qword [rbp - 0x38], reloc.WS2_32.dll_ntohs
movabs rax, 0x7475706e696f6976
mov qword [rbp - 0x50], rax
mov byte [rbp - 0x48], 0
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], 9
mov qword [rbp - 0x18], reloc.WS2_32.dll_ntohs
movsd xmm0, qword [str.viofs.sys]
movsd qword [rbp - 0x30], xmm0
movzx eax, byte [reloc.WS2_32.dll_WSAStartup]
mov byte [rbp - 0x28], al
mov byte [rbp - 0x27], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
mov qword [rbp], 0xa
mov qword [rbp + 8], reloc.WS2_32.dll_ntohs
movsd xmm0, qword [str.vioser.sys]
movsd qword [rbp - 0x10], xmm0
movzx eax, word [0x1400e0d08]
mov word [rbp - 8], ax
mov byte [rbp - 6], 0
lea rax, [rsp + 0x70]
mov qword [rbp + 0x10], rax
lea rax, [rbp + 0x10]
mov qword [rbp + 0x18], rax
lea rdx, [rbp + 0x10]
lea rcx, [rbp + 0x60]
call fcn.140056560
nop
lea r9, [fcn.1400577b0]
mov edx, reloc.WLDAP32.dll_Ordinal_32
lea r8d, [rdx - 0x1b]
lea rcx, [rsp + 0x70]
call fcn.1400c0448
lea rcx, str.SystemRoot
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov rdi, rax
mov r13, 0xffffffffffffffff
mov rbx, r13
nop word [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140046030
call fcn.1400bfddc
mov qword [rbp + 0x20], rdi
mov qword [rbp + 0x28], rbx
lea r8, [rbp + 0x20]
mov edx, eax
lea rcx, [rbp + 0x40]
call fcn.140044d30
nop
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x30], xmm0
lea rdx, [rbp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.140058be0
test eax, eax
jne 0x14004645d
mov rdx, qword [rbp + 0x58]
cmp rdx, 8
jb 0x1400460b8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400460b3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400460b3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c0768
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400460cb
lock inc dword [rcx + 8]
mov rcx, qword [rsp + 0x38]
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
test rcx, rcx
je 0x1400460e4
lock inc dword [rcx + 8]
mov rcx, qword [rsp + 0x38]
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x98], xmm1
test rcx, rcx
je 0x140046127
mov eax, r13d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140046127
mov rbx, qword [rsp + 0x38]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r13d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140046127
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
nop word [rax + rax]
mov rdi, qword [rsp + 0x40]
test rdi, rdi
je 0x1400463b0
lea rcx, [rdi + 0x20]
cmp qword [rdi + 0x38], 8
jb 0x14004614d
mov rcx, qword [rdi + 0x20]
mov rax, qword [rdi + 0x30]
lea r11, [rcx + rax*2]
mov r10, r11
mov rdx, r11
call fcn.140044e90
cmp rax, r11
je 0x14004619d
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x140046174
cmp cx, 0x2f
jne 0x14004617d
add rax, 2
cmp rax, r11
jne 0x140046165
cmp rax, r11
je 0x14004619d
lea rdx, [r10 - 2]
movzx ecx, word [rdx]
cmp cx, 0x5c
je 0x14004619d
cmp cx, 0x2f
je 0x14004619d
mov r10, rdx
cmp rax, rdx
jne 0x140046182
sub r11, r10
sar r11, 1
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x68], 0
mov r8, r11
mov rdx, r10
lea rcx, [rsp + 0x50]
call fcn.140059440
nop
lea rax, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rax, qword [rsp + 0x50]
mov qword [rbp + 0x30], rax
mov rax, qword [rsp + 0x60]
mov qword [rbp + 0x38], rax
call fcn.1400bfddc
movaps xmm0, xmmword [rbp + 0x30]
movdqa xmmword [rbp + 0xb0], xmm0
lea r8, [rbp + 0xb0]
mov edx, eax
lea rcx, [rbp + 0x78]
call fcn.140058940
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x140046252
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004624d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140046399
call fcn.1400c0768
mov rbx, qword [rbp + 0x60]
mov r15, qword [rbp + 0x90]
mov rsi, qword [rbp + 0x78]
mov r14, qword [rbp + 0x68]
cmp rbx, r14
je 0x1400462b1
mov r12, qword [rbp + 0x88]
mov rax, qword [rbx + 0x10]
mov r9, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140046282
mov r9, qword [rbx]
lea rcx, [rbp + 0x78]
cmp r15, 0x10
cmovae rcx, rsi
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, r12
call fcn.140059570
cmp rax, 0xffffffffffffffff
jne 0x1400463a0
add rbx, 0x20
cmp rbx, r14
jne 0x140046271
cmp r15, 0x10
jb 0x1400462f0
lea rdx, [r15 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x1400462e0
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400463a9
mov rcx, rsi
call fcn.1400c0768
nop dword [rax + rax]
lea rdx, [rbp + 0xe0]
mov rcx, qword [rdi + 0x40]
call fcn.1400c003c
cmp eax, 0x12
je 0x140046347
test eax, eax
jne 0x140046455
cmp word [rbp + 0x10c], 0x2e
jne 0x140046333
movzx eax, word [rbp + 0x10e]
test ax, ax
je 0x1400462f0
cmp ax, 0x2e
jne 0x140046333
cmp word [rbp + 0x110], 0
je 0x1400462f0
lea rdx, [rbp + 0xe0]
mov rcx, rdi
call fcn.140045c80
jmp 0x140046135
xor edi, edi
mov qword [rsp + 0x40], rdi
mov rbx, qword [rsp + 0x48]
mov qword [rsp + 0x48], rdi
test rbx, rbx
je 0x140046135
mov eax, r13d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140046130
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r13d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140046130
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
jmp 0x140046130
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400463ed
mov eax, r13d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400463ed
mov rbx, qword [rsp + 0x48]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r13d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400463ed
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140046429
mov eax, r13d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140046429
mov rbx, qword [rsp + 0x38]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], r13d
cmp r13d, 1
jne 0x140046429
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
lea rcx, [rbp + 0x60]
call fcn.1400564f0
xor al, al
lea r11, [rsp + 0x430]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov edx, eax
call fcn.140045990
nop
lea r8, [rbp + 0x40]
mov edx, eax
call fcn.140045a80
int3