Function at 0x140038e10
Capabilities:
Check for software breakpoints
Encode data using xor
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 - 0x40]
sub rsp, 0x140
mov rax, qword [0x1400d3010]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov r15, rcx
mov rcx, qword [rcx]
mov rax, qword [rcx]
call qword [rax + ioctlsocket]
test al, al
jne 0x140038e5c
mov eax, 1
jmp 0x1400393c6
mov rcx, qword [r15 + 0x28]
test rcx, rcx
jne 0x140038e6d
lea eax, [rcx + 2]
jmp 0x1400393c6
mov rbx, rcx
cmp dword [rcx], 0x50450000
je 0x140038e82
mov eax, 3
jmp 0x1400393c6
movzx r13d, word [rcx + 4]
mov rax, qword [rcx + 6]
mov qword [0x1400d9690], rax
mov edx, dword [rcx + 0xe]
xor edx, 0x50450000
add rbx, 0x12
add rcx, qword [r15 + 0x30]
mov eax, dword [rcx - 4]
mov dword [rbp - 0x54], eax
mov eax, dword [rcx - 8]
mov dword [rbp - 0x58], eax
mov eax, dword [rcx - 0xc]
mov dword [rbp - 0x5c], eax
mov eax, dword [rcx - 0x10]
mov dword [rbp - 0x60], eax
mov eax, dword [rcx - 0x14]
mov dword [rbp - 0x64], eax
mov eax, dword [rcx - 0x18]
mov dword [rbp - 0x68], eax
mov eax, dword [rcx - 0x1c]
mov dword [rbp - 0x6c], eax
mov eax, dword [rcx - 0x20]
mov dword [rbp - 0x70], eax
mov eax, dword [rcx - 0x24]
mov dword [rbp - 0x74], eax
mov eax, dword [rcx - 0x28]
mov dword [rbp - 0x78], eax
mov eax, dword [rcx - 0x2c]
mov dword [rbp - 0x7c], eax
mov eax, dword [rcx - 0x30]
mov dword [rbp - 0x80], eax
mov eax, dword [rcx - 0x34]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x7c], eax
mov eax, dword [rcx - 0x38]
mov dword [rsp + 0x78], eax
mov eax, dword [rcx - 0x3c]
mov dword [rsp + 0x74], eax
mov eax, dword [rcx - 0x40]
mov dword [rsp + 0x70], eax
mov r14d, dword [rcx - 0x44]
xor r14d, 0xcafebabe
mov dword [rsp + 0x34], r14d
mov rcx, qword [r15]
mov rax, qword [rcx]
xor r12d, r12d
mov qword [rsp + 0x20], r12
lea r9d, [r12 + 0x40]
mov r8d, 0x3000
call qword [rax + 0x38]
mov rsi, rax
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x140038f4c
lea eax, [rsi + 4]
jmp 0x1400393c6
movzx eax, byte [rbx]
cmp al, 0xff
jne 0x14003912d
movabs r9, 0x5deece66d
movabs r10, 0xffffffffffff
mov rcx, qword [0x1400d9690]
xor r11d, r11d
nop word [rax + rax]
inc rbx
mov rdi, rbx
mov edx, r11d
nop dword [rax]
movzx eax, byte [0x1400d9695]
xor byte [rbx], al
movzx eax, byte [rbx]
imul rcx, r9
add rcx, 0xb
and rcx, r10
mov qword [0x1400d9690], rcx
inc rbx
test al, al
je 0x140038fbf
inc edx
cmp edx, 0x8000
jl 0x140038f90
cmp byte [rbx], 0xfa
jne 0x140039112
nop dword [rax + rax]
inc rbx
mov r12, rbx
mov edx, r11d
nop dword [rax]
movzx eax, byte [0x1400d9695]
xor byte [rbx], al
movzx eax, byte [rbx]
imul rcx, r9
add rcx, 0xb
and rcx, r10
mov qword [0x1400d9690], rcx
inc rbx
test al, al
je 0x14003900f
inc edx
cmp edx, 0x8000
jl 0x140038fe0
mov rsi, qword [r15]
mov rax, qword [rsi]
mov r14, qword [rax + 0x18]
mov qword [rsp + 0x60], r11
mov qword [rsp + 0x68], select
mov byte [rsp + 0x50], 0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdi + r8], 0
jne 0x140039033
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.140002960
nop
lea rdx, [rsp + 0x50]
mov rcx, rsi
call r14
mov rsi, rax
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x140039096
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140039091
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003913d
call fcn.1400553bc
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
sub rsi, rax
mov rdx, r12
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
add rax, rsi
mov edx, dword [rsp + 0x30]
mov ecx, dword [rbx]
add rdx, rcx
mov rcx, qword [r15 + 0x28]
mov qword [rdx + rcx], rax
add rbx, 4
movzx eax, byte [rbx]
cmp al, 0xf2
je 0x1400390f4
cmp al, 0xfa
jne 0x1400390f4
mov rcx, qword [0x1400d9690]
movabs r9, 0x5deece66d
movabs r10, 0xffffffffffff
xor r11d, r11d
jmp 0x140038fd0
mov rcx, qword [0x1400d9690]
movabs r9, 0x5deece66d
movabs r10, 0xffffffffffff
xor r11d, r11d
inc rbx
movzx eax, byte [rbx]
cmp al, 0xff
je 0x140038f80
mov rsi, qword [rsp + 0x40]
mov r14d, dword [rsp + 0x34]
xor r12d, r12d
cmp al, 0xfb
je 0x140039144
mov ecx, 0xffffffff
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]
int3
mov rax, qword [rbx + 1]
add rbx, 9
mov r10, rsi
sub r10, rax
movzx eax, byte [rbx]
cmp al, 0xff
jne 0x1400391ab
nop dword [rax]
movzx eax, byte [rbx + 1]
mov ecx, dword [rsp + rax*4 + 0x70]
add ecx, dword [rbx + 2]
movzx eax, word [rbx + 6]
add rbx, 8
mov edx, r12d
cmp r12w, ax
jae 0x1400391a4
mov r9d, ecx
mov r8d, eax
mov ecx, r13d
movzx eax, word [rbx]
xor ecx, eax
add edx, ecx
movsxd rcx, edx
add rcx, r9
mov rax, qword [r15 + 0x28]
add qword [rcx + rax], r10
add rbx, 2
sub r8, 1
jne 0x140039182
movzx eax, byte [rbx]
cmp al, 0xff
je 0x140039160
inc rbx
cmp al, 0xcc
jne 0x1400391dc
movsxd rdi, dword [rbx + 4]
mov rcx, qword [r15]
mov rax, qword [rcx]
lea r8, [rbx + 8]
mov r9, rdi
movsxd rdx, dword [rbx]
add rdx, rsi
call qword [rax + 0x28]
movzx eax, byte [rbx + rdi + 8]
add rbx, 9
add rbx, rdi
cmp al, 0xcc
je 0x1400391b2
movaps xmm0, xmmword [0x1400c8a10]
movaps xmmword [rbp - 0x50], xmm0
movaps xmm1, xmmword [0x1400c8a20]
movaps xmmword [rbp - 0x40], xmm1
movaps xmm0, xmmword [0x1400c8a30]
movaps xmmword [rbp - 0x30], xmm0
movaps xmm1, xmmword [0x1400c8a40]
movaps xmmword [rbp - 0x20], xmm1
movaps xmm0, xmmword [0x1400c8a50]
movaps xmmword [rbp - 0x10], xmm0
movaps xmm1, xmmword [0x1400c8a60]
movaps xmmword [rbp], xmm1
movaps xmm0, xmmword [0x1400c8a70]
movaps xmmword [rbp + 0x10], xmm0
mov eax, dword [0x1400c8a80]
mov dword [rbp + 0x20], eax
mov rcx, qword [r15]
mov rax, qword [rcx]
mov qword [rsp + 0x20], r12
mov edx, reloc.WS2_32.dll_WSACleanup
lea r9d, [rdx - 0x34]
mov r8d, 0x3000
call qword [rax + 0x38]
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x140039263
mov eax, 6
jmp 0x1400393c6
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], select
mov byte [rsp + 0x50], 0
mov r8d, recv
lea rdx, str.opengl32.dll
lea rcx, [rsp + 0x50]
call fcn.140002960
lea rdx, [rsp + 0x50]
mov rcx, r15
call fcn.140039400
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], select
mov byte [rsp + 0x50], 0
mov r8d, 6
lea rdx, [0x1400c8a98]
lea rcx, [rsp + 0x50]
call fcn.140002960
nop
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x40]
lea rcx, [r15 + 8]
call fcn.1400399e0
mov rcx, qword [rax]
mov rbx, qword [rcx + 0x40]
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x14003931f
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003931a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003931a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400553bc
test rbx, rbx
jne 0x140039344
lea ecx, [rbx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.ERROR:_Cannot_find_import_n
call fcn.140038dc0
lea eax, [rbx + 7]
jmp 0x1400393c6
mov rcx, qword [r15]
mov rax, qword [rcx]
mov r9d, 8
lea r8, [rsp + 0x40]
mov rdx, rbx
call qword [rax + 0x20]
mov qword [rbp - 0x37], rbx
mov rax, qword [rsp + 0x40]
mov qword [rbp - 0x2d], rax
mov qword [rbp - 0x16], rsi
mov eax, r14d
add rax, rsi
mov qword [rbp - 5], rax
mov rcx, qword [r15]
mov rax, qword [rcx]
mov r9d, reloc.WS2_32.dll_WSACleanup
lea r8, [rbp - 0x50]
mov rdx, qword [rsp + 0x38]
call qword [rax + 0x28]
mov rcx, qword [r15]
mov rax, qword [rcx]
mov r9d, 4
lea r8d, [r9 + 4]
mov rdx, rbx
call qword [rax + 0x30]
mov rcx, qword [r15]
mov rax, qword [rcx]
mov r9d, 8
lea r8, [rsp + 0x38]
mov rdx, rbx
call qword [rax + 0x28]
mov rcx, qword [r15 + 0x28]
call fcn.1400553bc
xor eax, eax
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.140054e70
lea r11, [rsp + 0x140]
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