Function at 0x14000d7dc
Capabilities:
Access peb ldr_data
Encode data using xor
Get process filename
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], rbx
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
and qword [rbp - 0x39], 0
lea rdx, [rbp - 0x39]
and qword [rcx + 0x78], 0
mov rsi, rcx
call fcn.14000d07c
xor edx, edx
lea rcx, [rbp - 0x19]
lea r8d, [rdx + 0x48]
call fcn.140098ab0
mov rax, qword [rsi + 0x70]
lea rdi, [rsi + 0x60]
and dword [rbp + 0x23], 0
lea rbx, [rsi + 0x68]
mov r12d, 1
mov qword [rbp + 0x17], rax
lea rax, [rsi + 0x50]
mov dword [rbp - 0x11], 0x3c
mov qword [rsp + 0x58], rax
xor r8d, r8d
and qword [rsp + 0x50], 0
lea rax, [rbp - 0x19]
mov qword [rsp + 0x48], rdi
lea r9d, [r12 + 0x1f]
mov qword [rsp + 0x40], rbx
mov edx, r12d
mov qword [rsp + 0x38], rax
xor ecx, ecx
mov dword [rsp + 0x30], 7
lea rax, [rbp - 0x31]
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], rax
mov dword [rbp - 0xd], r12d
mov dword [rbp - 9], 0x1c
mov dword [rbp + 3], r12d
mov dword [rbp + 0xb], 0x20
mov dword [rbp + 0xf], r12d
mov dword [rbp + 0x1f], r12d
mov dword [rbp + 0x27], 2
mov dword [rbp - 0x31], 0xb100
mov dword [rbp - 0x2d], 0xb000
mov dword [rbp - 0x29], 0xa100
call qword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
mov rcx, qword [rbx]
lea r9, [rbp + 0x77]
lea r8, [0x1400a8a88]
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x48]
mov rcx, qword [rdi]
lea r9, [rsi + 0x58]
mov rdx, qword [rbp + 0x77]
xor r8d, r8d
mov rax, qword [rcx]
call qword [rax + 0x48]
mov rcx, qword [rbp + 0x77]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rax, qword gs:[0x60]
or r14d, 0xffffffff
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov r8, qword [rax + 0x30]
movsxd rcx, dword [r8 + 0x3c]
mov r10d, dword [rcx + r8 + 0x88]
add r10, r8
cmp r10, r8
je 0x14000d97a
mov r9d, dword [r10 + 0x18]
test r9d, r9d
je 0x14000d97a
mov edi, dword [r10 + 0x20]
add r9d, r14d
mov r11d, 0x45127f78
lea rcx, [rdi + r9*4]
mov edx, dword [rcx + r8]
add rdx, r8
mov cl, byte [rdx]
add rdx, r12
test cl, cl
je 0x14000d975
movsx ecx, cl
xor ecx, r11d
imul r11d, ecx, 0x37d89a
mov cl, byte [rdx]
add rdx, r12
test cl, cl
jne 0x14000d956
cmp r11d, 0x7d64d91a
je 0x14000d97f
test r9d, r9d
jne 0x14000d939
mov rax, qword [rax]
jmp 0x14000d914
mov ecx, dword [r10 + 0x24]
add rcx, r8
movzx edx, word [rcx + r9*2]
mov ecx, dword [r10 + 0x1c]
add rcx, r8
mov eax, dword [rcx + rdx*4]
mov edx, 5
mov rcx, qword [rsi + 0x70]
add rax, r8
call rax
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov r8, qword [rax + 0x30]
movsxd rcx, dword [r8 + 0x3c]
mov r9d, dword [rcx + r8 + 0x88]
add r9, r8
cmp r9, r8
je 0x14000da1a
mov r10d, dword [r9 + 0x18]
test r10d, r10d
je 0x14000da1a
mov edi, dword [r9 + 0x20]
add r10d, r14d
mov r11d, 0xd96cabaa
lea rcx, [rdi + r10*4]
mov edx, dword [rcx + r8]
add rdx, r8
mov cl, byte [rdx]
add rdx, r12
test cl, cl
je 0x14000da15
movsx ecx, cl
xor ecx, r11d
imul r11d, ecx, 0x37d89a
mov cl, byte [rdx]
add rdx, r12
test cl, cl
jne 0x14000d9f6
cmp r11d, 0x3dd3211a
je 0x14000da1f
test r10d, r10d
jne 0x14000d9d9
mov rax, qword [rax]
jmp 0x14000d9b4
mov ecx, dword [r9 + 0x24]
add rcx, r8
movzx edx, word [rcx + r10*2]
mov ecx, dword [r9 + 0x1c]
add rcx, r8
mov eax, dword [rcx + rdx*4]
mov rcx, qword [rsi + 0x70]
add rax, r8
call rax
mov rbx, qword [0x1400b8e80]
test rbx, rbx
je 0x14000da51
add dword [rbx + 0xc4], r12d
mov ecx, 0x5bd8
call fcn.14007b2e4
test rax, rax
je 0x14000da6a
xor edx, edx
mov rcx, rax
call fcn.1400216ec
mov qword [0x1400b8e80], rax
call fcn.14002638c
test rbx, rbx
je 0x14000da82
mov qword [0x1400b8e80], rbx
xor ecx, ecx
call fcn.1400407d0
mov rbx, qword [0x1400b8e80]
mov r14, qword [rsi + 0x70]
test rbx, rbx
je 0x14000daa0
add dword [rbx + 0xc4], r12d
mov ecx, 0x20
call fcn.14007b2e4
test rax, rax
je 0x14000dab9
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
and qword [rbx + 0x70], 0
or dword [rbx + 0xc], 6
mov rdi, qword [0x1400b8e80]
mov qword [rbx + 0x80], rax
mov qword [rax], r14
mov dword [rax + 0x18], 9
mov rax, qword [rdi + 0x3f70]
mov rcx, qword [rax]
mov qword [rcx + 0x28], r14
mov r14, qword [rsi + 0x50]
mov rsi, qword [rsi + 0x60]
test rdi, rdi
je 0x14000dafc
add dword [rdi + 0xc4], r12d
mov ecx, 0x78
call fcn.14007b2e4
mov rbx, rax
test rax, rax
je 0x14000db2c
xor edx, edx
mov rcx, rax
lea r8d, [rdx + 0x70]
call fcn.140098ab0
mov dword [rbx + 0x70], 0x1388
mov dword [rbx + 0x74], 0x2710
jmp 0x14000db2e
xor ebx, ebx
and qword [rdi + 0x78], 0
lea r8, [rbp + 0x77]
or dword [rdi + 0xc], 8
lea rdx, [0x1400a9188]
and qword [rbp + 0x77], 0
mov rcx, rsi
and qword [rbp + 0x6f], 0
and qword [rbp + 0x67], 0
mov qword [rdi + 0x88], rbx
mov rax, qword [rsi]
call qword [rax]
test eax, eax
jne 0x14000dba5
mov rcx, qword [rbp + 0x77]
lea r8, [rbp + 0x6f]
lea rdx, [0x1400a9198]
mov rax, qword [rcx]
call qword [rax + 0x30]
test eax, eax
jne 0x14000dba5
mov rcx, qword [rbp + 0x6f]
lea r8, [rbp + 0x67]
lea rdx, [0x1400a91a8]
mov rax, qword [rcx]
call qword [rax + 0x30]
test eax, eax
jne 0x14000dba5
mov qword [rbx], rsi
mov qword [rbx + 8], r14
mov rax, qword [rbp + 0x67]
mov qword [rbx + 0x10], rax
mov rcx, qword [rbp + 0x77]
test rcx, rcx
je 0x14000dbb4
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp + 0x6f]
test rcx, rcx
je 0x14000dbc3
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbx]
mov rax, qword [rcx]
call qword [rax + ioctlsocket]
mov rcx, qword [rbx + 8]
mov rax, qword [rcx]
call qword [rax + ioctlsocket]
mov rbx, qword [rsp + 0x118]
add rsp, 0xd0
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret