Function at 0x1400062f0
Capabilities:
Access peb ldr_data
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xc0
mov rax, qword [0x140030040]
xor rax, rsp
mov qword [rbp + 0x27], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0xf], xmm0
lea rcx, [rbp + 0x5f]
movabs rdx, 0x7a5db90d33787107
mov qword [rbp + 0x17], rdx
mov qword [rbp + 0x1f], rcx
mov rax, qword [rcx]
xor rax, rdx
mov qword [rbp - 0x69], rax
mov qword [rbp + 0xf], rax
mov qword [rcx], 0
mov eax, dword [0x14002af80]
mov dword [rbp - 0x59], eax
mov ebx, dword [0x14002af80]
mov dword [rbp - 0x61], ebx
mov edi, dword [0x14002af80]
mov dword [rbp - 0x5d], edi
mov r14d, dword [0x140030010]
cmp byte [0x14002af83], 0
je 0x140006439
xor ecx, ecx
cmp r14d, 2
jl 0x1400063fd
movdqa xmm3, xmmword [0x14002c560]
movdqa xmm2, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x14002c620]
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x14002c620]
shufps xmm2, xmm0, 0xdd
psrad xmm2, 2
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmmword [0x14002c590]
psubd xmm3, xmm0
andps xmm3, xmmword [0x14002c5e0]
packuswb xmm3, xmm3
packuswb xmm3, xmm3
psubb xmm3, xmmword [0x14002c630]
movd xmm0, eax
xorps xmm3, xmm0
movd dword [rbp - 0x59], xmm3
jmp 0x140006439
lea r8, [rbp - 0x59]
nop dword [rax]
nop word [rax + rax]
mov eax, 0xcccccccd
mul ecx
shr edx, 3
movzx eax, dl
shl al, 2
add dl, al
add dl, dl
movzx eax, cl
sub al, dl
sub al, 0x75
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 4
jl 0x140006410
xorps xmm0, xmm0
movups xmmword [rbp - 0x11], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 1], xmm1
lea rax, [rbp - 0x59]
mov rsi, 0xffffffffffffffff
mov r8, rsi
inc r8
cmp byte [rax + r8], 0
jne 0x140006456
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x11]
call fcn.140005990
nop
mov r8d, 0x48
lea rdx, str.to_the_easyanticheat_slave_reversing_this_i_fucking_hate_you__conspiracy
lea rcx, [rbp - 0x11]
call fcn.140025a70
mov rdx, qword [0x14005a0e8]
test rdx, rdx
jne 0x14000663e
xor r11d, r11d
mov r10d, 0x86c21f9d
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov rax, qword [rax]
mov qword [rbp - 0x59], rax
mov r15, rax
nop dword [rax + rax]
movups xmm0, xmmword [r15 + 0x58]
movd eax, xmm0
sub ax, 8
test r11d, r11d
je 0x14000650d
psrldq xmm0, 8
movq rcx, xmm0
movzx eax, ax
shr rax, 1
lea r8, [rcx + rax*2]
mov edx, 0xf91515a4
cmp rcx, r8
je 0x140006504
movsx eax, byte [rcx]
xor eax, edx
imul edx, eax, 0xfff5db
add rcx, 2
cmp rcx, r8
jne 0x1400064f0
cmp edx, r11d
jne 0x140006610
mov r9, qword [r15 + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov rcx, qword [rax + r9 + 0x88]
mov r13, rcx
shr r13, 0x20
mov r14d, ecx
add r14, r9
cmp r14, r9
je 0x140006610
mov r8d, dword [r14 + 0x18]
test r8d, r8d
je 0x140006610
mov r12d, dword [r14 + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r8d
lea rax, [r12 + r8*4]
mov ecx, dword [rax + r9]
add rcx, r9
mov edx, 0xf91515a4
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x140006586
nop dword [rax]
movsx eax, al
xor eax, edx
imul edx, eax, 0xfff5db
movzx eax, byte [rcx]
lea rcx, [rcx + 1]
test al, al
jne 0x140006570
cmp edx, r10d
je 0x140006592
test r8d, r8d
jne 0x140006550
jmp 0x140006610
mov ecx, dword [r14 + 0x1c]
add rcx, r9
mov eax, dword [r14 + 0x24]
add rax, r9
movzx eax, word [rax + r8*2]
mov edx, dword [rcx + rax*4]
add rdx, r9
cmp rdx, r14
jbe 0x140006629
lea rax, [r14 + r13]
cmp rdx, rax
jae 0x140006629
mov r11d, 0xf91515a4
mov r10d, r11d
movzx eax, byte [rdx]
cmp al, 0x2e
je 0x1400065e7
nop dword [rax]
movsx eax, al
xor eax, r11d
imul r11d, eax, 0xfff5db
inc rdx
movzx eax, byte [rdx]
cmp al, 0x2e
jne 0x1400065d0
inc rdx
movzx eax, byte [rdx]
test al, al
je 0x140006609
movsx eax, al
xor eax, r10d
imul r10d, eax, 0xfff5db
lea rdx, [rdx + 1]
movzx eax, byte [rdx]
test al, al
jne 0x1400065f1
mov rax, qword [rbp - 0x59]
mov r15, qword [rax]
mov rax, qword [r15]
mov r15, rax
cmp rax, qword [rbp - 0x59]
je 0x140006627
cmp qword [rax + 0x30], 0
jne 0x1400064c0
xor edx, edx
mov qword [0x14005a0e8], rdx
mov rsi, 0xffffffffffffffff
mov r14d, dword [0x140030010]
lea rcx, [rbp - 0x11]
cmp qword [rbp + 7], 0xf
cmova rcx, qword [rbp - 0x11]
call rdx
cmp byte [rbp - 0x5e], 0
je 0x140006709
xor ecx, ecx
cmp r14d, 2
jl 0x1400066d2
movdqa xmm3, xmmword [0x14002c560]
movdqa xmm2, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x14002c620]
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x14002c620]
shufps xmm2, xmm0, 0xdd
psrad xmm2, 2
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmmword [0x14002c590]
psubd xmm3, xmm0
andps xmm3, xmmword [0x14002c5e0]
packuswb xmm3, xmm3
packuswb xmm3, xmm3
psubb xmm3, xmmword [0x14002c630]
movd xmm0, ebx
xorps xmm3, xmm0
movd dword [rbp - 0x61], xmm3
jmp 0x140006709
lea r8, [rbp - 0x61]
nop word [rax + rax]
mov eax, 0xcccccccd
mul ecx
shr edx, 3
movzx eax, dl
shl al, 2
add dl, al
add dl, dl
movzx eax, cl
sub al, dl
sub al, 0x75
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 4
jl 0x1400066e0
xorps xmm0, xmm0
movups xmmword [rbp - 0x31], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x21], xmm1
lea rax, [rbp - 0x61]
mov r8, rsi
nop
inc r8
cmp byte [rax + r8], 0
jne 0x140006720
lea rdx, [rbp - 0x61]
lea rcx, [rbp - 0x31]
call fcn.140005990
nop
mov r8d, 0x43
lea rdx, str.also_btw_please_for_the_love_OF_GOD_bring_back_battleye__conspiracy
lea rcx, [rbp - 0x31]
call fcn.140025a70
mov rdx, qword [0x14005a0d8]
test rdx, rdx
jne 0x1400068f3
xor r11d, r11d
mov r10d, 0x393cba50
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov r13, qword [rax]
mov r14, r13
nop
movups xmm0, xmmword [r14 + 0x58]
movd eax, xmm0
sub ax, 8
test r11d, r11d
je 0x1400067cd
psrldq xmm0, 8
movq rcx, xmm0
movzx eax, ax
shr rax, 1
lea r8, [rcx + rax*2]
mov edx, 0x58b15fc1
cmp rcx, r8
je 0x1400067c4
movsx eax, byte [rcx]
xor eax, edx
imul edx, eax, 0xfff5db
add rcx, 2
cmp rcx, r8
jne 0x1400067b0
cmp edx, r11d
jne 0x1400068cd
mov r9, qword [r14 + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov rcx, qword [rax + r9 + 0x88]
mov r12, rcx
shr r12, 0x20
mov esi, ecx
add rsi, r9
cmp rsi, r9
je 0x1400068cd
mov r8d, dword [rsi + 0x18]
test r8d, r8d
je 0x1400068cd
mov r15d, dword [rsi + 0x20]
nop dword [rax]
nop word [rax + rax]
dec r8d
lea rax, [r15 + r8*4]
mov ecx, dword [rax + r9]
add rcx, r9
mov edx, 0x58b15fc1
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x140006846
nop dword [rax]
movsx eax, al
xor eax, edx
imul edx, eax, 0xfff5db
movzx eax, byte [rcx]
lea rcx, [rcx + 1]
test al, al
jne 0x140006830
cmp edx, r10d
je 0x140006852
test r8d, r8d
jne 0x140006810
jmp 0x1400068cd
mov ecx, dword [rsi + 0x1c]
add rcx, r9
mov eax, dword [rsi + 0x24]
add rax, r9
movzx eax, word [rax + r8*2]
mov edx, dword [rcx + rax*4]
add rdx, r9
cmp rdx, rsi
jbe 0x1400068e5
lea rax, [r12 + rsi]
cmp rdx, rax
jae 0x1400068e5
mov r11d, 0x58b15fc1
mov r10d, r11d
movzx eax, byte [rdx]
cmp al, 0x2e
je 0x1400068a7
nop word [rax + rax]
movsx eax, al
xor eax, r11d
imul r11d, eax, 0xfff5db
inc rdx
movzx eax, byte [rdx]
cmp al, 0x2e
jne 0x140006890
inc rdx
movzx eax, byte [rdx]
test al, al
je 0x1400068c9
movsx eax, al
xor eax, r10d
imul r10d, eax, 0xfff5db
lea rdx, [rdx + 1]
movzx eax, byte [rdx]
test al, al
jne 0x1400068b1
mov r14, qword [r13]
mov rax, qword [r14]
mov r14, rax
cmp rax, r13
je 0x1400068e3
cmp qword [rax + 0x30], 0
jne 0x140006780
xor edx, edx
mov qword [0x14005a0d8], rdx
mov rsi, 0xffffffffffffffff
lea rcx, [rbp - 0x31]
cmp qword [rbp - 0x19], 0xf
cmova rcx, qword [rbp - 0x31]
call rdx
cmp byte [rbp - 0x5a], 0
je 0x1400069b9
xor ecx, ecx
cmp dword [0x140030010], 2
jl 0x14000698a
movdqa xmm3, xmmword [0x14002c560]
movdqa xmm2, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x14002c620]
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x14002c620]
shufps xmm2, xmm0, 0xdd
psrad xmm2, 2
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmmword [0x14002c590]
psubd xmm3, xmm0
andps xmm3, xmmword [0x14002c5e0]
packuswb xmm3, xmm3
packuswb xmm3, xmm3
psubb xmm3, xmmword [0x14002c630]
movd xmm0, edi
xorps xmm3, xmm0
movd dword [rbp - 0x5d], xmm3
jmp 0x1400069b9
lea r8, [rbp - 0x5d]
nop
mov eax, 0xcccccccd
mul ecx
shr edx, 3
movzx eax, dl
shl al, 2
add dl, al
add dl, dl
movzx eax, cl
sub al, dl
sub al, 0x75
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 4
jl 0x140006990
xorps xmm0, xmm0
movups xmmword [rbp - 0x51], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x41], xmm1
lea rax, [rbp - 0x5d]
nop dword [rax]
inc rsi
cmp byte [rax + rsi], 0
jne 0x1400069d0
mov r8, rsi
lea rdx, [rbp - 0x5d]
lea rcx, [rbp - 0x51]
call fcn.140005990
nop
mov r8d, 0x24
lea rdx, str.Put_back_be_and_remove_eac__sc4mterm
lea rcx, [rbp - 0x51]
call fcn.140025a70
mov rdx, qword [0x14005a120]
test rdx, rdx
jne 0x140006b9c
xor r11d, r11d
mov r10d, 0xa3944dec
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov r12, qword [rax]
mov rsi, r12
movups xmm0, xmmword [rsi + 0x58]
movd eax, xmm0
sub ax, 8
test r11d, r11d
je 0x140006a7d
psrldq xmm0, 8
movq rcx, xmm0
movzx eax, ax
shr rax, 1
lea r8, [rcx + rax*2]
mov edx, 0xd7a33225
cmp rcx, r8
je 0x140006a74
nop
movsx eax, byte [rcx]
xor eax, edx
imul edx, eax, 0xfff5db
add rcx, 2
cmp rcx, r8
jne 0x140006a60
cmp edx, r11d
jne 0x140006b7d
mov r9, qword [rsi + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov rcx, qword [rax + r9 + 0x88]
mov r15, rcx
shr r15, 0x20
mov edi, ecx
add rdi, r9
cmp rdi, r9
je 0x140006b7d
mov r8d, dword [rdi + 0x18]
test r8d, r8d
je 0x140006b7d
mov r14d, dword [rdi + 0x20]
nop dword [rax]
nop word [rax + rax]
dec r8d
lea rax, [r14 + r8*4]
mov eax, dword [rax + r9]
add rax, r9
mov edx, 0xd7a33225
movzx ecx, byte [rax]
inc rax
test cl, cl
je 0x140006af6
nop dword [rax]
movsx ecx, cl
xor ecx, edx
imul edx, ecx, 0xfff5db
movzx ecx, byte [rax]
lea rax, [rax + 1]
test cl, cl
jne 0x140006ae0
cmp edx, r10d
je 0x140006b02
test r8d, r8d
jne 0x140006ac0
jmp 0x140006b7d
mov ecx, dword [rdi + 0x1c]
add rcx, r9
mov eax, dword [rdi + 0x24]
add rax, r9
movzx eax, word [rax + r8*2]
mov edx, dword [rcx + rax*4]
add rdx, r9
cmp rdx, rdi
jbe 0x140006b95
lea rax, [r15 + rdi]
cmp rdx, rax
jae 0x140006b95
mov r11d, 0xd7a33225
mov r10d, r11d
movzx eax, byte [rdx]
cmp al, 0x2e
je 0x140006b57
nop word [rax + rax]
movsx eax, al
xor eax, r11d
imul r11d, eax, 0xfff5db
inc rdx
movzx eax, byte [rdx]
cmp al, 0x2e
jne 0x140006b40
inc rdx
movzx eax, byte [rdx]
test al, al
je 0x140006b79
movsx eax, al
xor eax, r10d
imul r10d, eax, 0xfff5db
lea rdx, [rdx + 1]
movzx eax, byte [rdx]
test al, al
jne 0x140006b61
mov rsi, qword [r12]
mov rax, qword [rsi]
mov rsi, rax
cmp rax, r12
je 0x140006b93
cmp qword [rax + 0x30], 0
jne 0x140006a30
xor edx, edx
mov qword [0x14005a120], rdx
lea rcx, [rbp - 0x51]
cmp qword [rbp - 0x39], 0xf
cmova rcx, qword [rbp - 0x51]
call rdx
nop
mov rdx, qword [rbp - 0x39]
cmp rdx, 0xf
jbe 0x140006beb
inc rdx
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006be6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006be6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14002602c
movdqa xmm0, xmmword [0x14002c540]
movdqu xmmword [rbp - 0x41], xmm0
mov byte [rbp - 0x51], 0
mov rdx, qword [rbp - 0x19]
cmp rdx, 0xf
jbe 0x140006c42
inc rdx
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006c35
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006c35
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14002602c
movdqa xmm0, xmmword [0x14002c540]
movdqu xmmword [rbp - 0x21], xmm0
mov byte [rbp - 0x31], 0
mov rdx, qword [rbp + 7]
cmp rdx, 0xf
jbe 0x140006c8a
inc rdx
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006c84
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006c84
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14002602c
nop
mov rax, qword [rbp - 0x69]
movabs rcx, 0x7a5db90d33787107
xor rax, rcx
lea rcx, [rbp + 0x5f]
mov qword [rcx], rax
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140025fd0
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret