Function at 0x1400061d0
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, 0xb0
mov rax, qword [0x140030040]
xor rax, rsp
mov qword [rbp + 0x2f], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x17], xmm0
lea rcx, [rbp + 0x5f]
movabs rdx, 0x7a5db90d33787107
mov qword [rbp + 0x1f], rdx
mov qword [rbp + 0x27], rcx
mov rax, qword [rcx]
xor rax, rdx
mov qword [rbp + 0x17], rax
mov qword [rcx], 0
mov ecx, dword [0x14002a0fc]
mov dword [rbp - 0x51], ecx
mov ebx, dword [0x14002a0fc]
mov dword [rbp - 0x59], ebx
mov eax, dword [0x14002a0fc]
mov dword [rbp - 0x55], eax
mov edi, dword [0x140030010]
cmp byte [0x14002a0ff], 0
je 0x14000630b
xor r8d, r8d
cmp edi, 2
jl 0x1400062d3
movdqa xmm3, xmmword [0x14002c530]
movdqa xmm2, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x14002c5d0]
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x14002c5d0]
shufps xmm2, xmm0, 0xdd
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmmword [0x14002c540]
psubd xmm3, xmm0
andps xmm3, xmmword [0x14002c5b0]
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmmword [0x14002c600]
movd xmm0, ecx
xorps xmm3, xmm0
movd dword [rbp - 0x51], xmm3
jmp 0x14000630b
lea rcx, [rbp - 0x51]
nop word [rax + rax]
mov eax, 0xaaaaaaab
mul r8d
shr edx, 2
movzx eax, dl
add al, al
add dl, al
add dl, dl
movzx eax, r8b
sub al, dl
add al, 0x63
xor byte [rcx], al
inc r8d
lea rcx, [rcx + 1]
cmp r8d, 4
jl 0x1400062e0
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 7], xmm1
lea rax, [rbp - 0x51]
mov r13, 0xffffffffffffffff
mov r8, r13
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140006330
lea rdx, [rbp - 0x51]
lea rcx, [rbp - 9]
call fcn.1400058a0
nop
mov r8d, 0x48
lea rdx, str.to_the_easyanticheat_slave_reversing_this_i_fucking_hate_you__conspiracy
lea rcx, [rbp - 9]
call fcn.140025d10
mov rdx, qword [0x14005a0f8]
test rdx, rdx
jne 0x140006505
xor r11d, r11d
mov r10d, 0xd21a6050
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov r12, qword [rax]
mov rsi, r12
nop
movups xmm0, xmmword [rsi + 0x58]
movd eax, xmm0
sub ax, 8
test r11d, r11d
je 0x1400063dd
psrldq xmm0, 8
movq rcx, xmm0
movzx eax, ax
shr rax, 1
lea r8, [rcx + rax*2]
mov edx, 0xeee2d5c1
cmp rcx, r8
je 0x1400063d4
nop
movsx eax, byte [rcx]
xor eax, edx
imul edx, eax, 0xfff5db
add rcx, 2
cmp rcx, r8
jne 0x1400063c0
cmp edx, r11d
jne 0x1400064dd
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 0x1400064dd
mov r8d, dword [rdi + 0x18]
test r8d, r8d
je 0x1400064dd
mov r14d, dword [rdi + 0x20]
nop dword [rax]
nop word [rax + rax]
dec r8d
lea rax, [r14 + r8*4]
mov ecx, dword [rax + r9]
add rcx, r9
mov edx, 0xeee2d5c1
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x140006456
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 0x140006440
cmp edx, r10d
je 0x140006462
test r8d, r8d
jne 0x140006420
jmp 0x1400064dd
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 0x1400064f5
lea rax, [r15 + rdi]
cmp rdx, rax
jae 0x1400064f5
mov r11d, 0xeee2d5c1
mov r10d, r11d
movzx eax, byte [rdx]
cmp al, 0x2e
je 0x1400064b7
nop word [rax + rax]
movsx eax, al
xor eax, r11d
imul r11d, eax, 0xfff5db
inc rdx
movzx eax, byte [rdx]
cmp al, 0x2e
jne 0x1400064a0
inc rdx
movzx eax, byte [rdx]
test al, al
je 0x1400064d9
movsx eax, al
xor eax, r10d
imul r10d, eax, 0xfff5db
lea rdx, [rdx + 1]
movzx eax, byte [rdx]
test al, al
jne 0x1400064c1
mov rsi, qword [r12]
mov rax, qword [rsi]
mov rsi, rax
cmp rax, r12
je 0x1400064f3
cmp qword [rax + 0x30], 0
jne 0x140006390
xor edx, edx
mov qword [0x14005a0f8], rdx
mov ebx, dword [rbp - 0x59]
mov edi, dword [0x140030010]
lea rcx, [rbp - 9]
cmp qword [rbp + 0xf], 0xf
cmova rcx, qword [rbp - 9]
call rdx
cmp byte [rbp - 0x56], 0
je 0x1400065c8
xor ecx, ecx
cmp edi, 2
jl 0x140006593
movdqa xmm3, xmmword [0x14002c530]
movdqa xmm2, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x14002c5d0]
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x14002c5d0]
shufps xmm2, xmm0, 0xdd
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmmword [0x14002c540]
psubd xmm3, xmm0
andps xmm3, xmmword [0x14002c5b0]
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmmword [0x14002c600]
movd xmm0, ebx
xorps xmm3, xmm0
movd dword [rbp - 0x59], xmm3
jmp 0x1400065c8
lea r8, [rbp - 0x59]
nop word [rax + rax]
mov eax, 0xaaaaaaab
mul ecx
shr edx, 2
movzx eax, dl
add al, al
add dl, al
add dl, dl
movzx eax, cl
sub al, dl
add al, 0x63
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 4
jl 0x1400065a0
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x19], xmm1
lea rax, [rbp - 0x59]
mov r8, r13
nop
inc r8
cmp byte [rax + r8], 0
jne 0x1400065e0
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x29]
call fcn.1400058a0
nop
mov r8d, 0x43
lea rdx, str.also_btw_please_for_the_love_OF_GOD_bring_back_battleye__conspiracy
lea rcx, [rbp - 0x29]
call fcn.140025d10
mov rdx, qword [0x14005a120]
test rdx, rdx
jne 0x1400067ac
xor r11d, r11d
mov r10d, 0x6378c0e9
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov r12, qword [rax]
mov rsi, r12
nop
movups xmm0, xmmword [rsi + 0x58]
movd eax, xmm0
sub ax, 8
test r11d, r11d
je 0x14000668d
psrldq xmm0, 8
movq rcx, xmm0
movzx eax, ax
shr rax, 1
lea r8, [rcx + rax*2]
mov edx, 0x38721948
cmp rcx, r8
je 0x140006684
nop
movsx eax, byte [rcx]
xor eax, edx
imul edx, eax, 0xfff5db
add rcx, 2
cmp rcx, r8
jne 0x140006670
cmp edx, r11d
jne 0x14000678d
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 0x14000678d
mov r8d, dword [rdi + 0x18]
test r8d, r8d
je 0x14000678d
mov r14d, dword [rdi + 0x20]
nop dword [rax]
nop word [rax + rax]
dec r8d
lea rax, [r14 + r8*4]
mov ecx, dword [rax + r9]
add rcx, r9
mov edx, 0x38721948
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x140006706
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 0x1400066f0
cmp edx, r10d
je 0x140006712
test r8d, r8d
jne 0x1400066d0
jmp 0x14000678d
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 0x1400067a5
lea rax, [r15 + rdi]
cmp rdx, rax
jae 0x1400067a5
mov r11d, 0x38721948
mov r10d, r11d
movzx eax, byte [rdx]
cmp al, 0x2e
je 0x140006767
nop word [rax + rax]
movsx eax, al
xor eax, r11d
imul r11d, eax, 0xfff5db
inc rdx
movzx eax, byte [rdx]
cmp al, 0x2e
jne 0x140006750
inc rdx
movzx eax, byte [rdx]
test al, al
je 0x140006789
movsx eax, al
xor eax, r10d
imul r10d, eax, 0xfff5db
lea rdx, [rdx + 1]
movzx eax, byte [rdx]
test al, al
jne 0x140006771
mov rsi, qword [r12]
mov rax, qword [rsi]
mov rsi, rax
cmp rax, r12
je 0x1400067a3
cmp qword [rax + 0x30], 0
jne 0x140006640
xor edx, edx
mov qword [0x14005a120], rdx
lea rcx, [rbp - 0x29]
cmp qword [rbp - 0x11], 0xf
cmova rcx, qword [rbp - 0x29]
call rdx
cmp byte [rbp - 0x52], 0
je 0x140006878
xor ecx, ecx
cmp dword [0x140030010], 2
jl 0x14000683f
movdqa xmm3, xmmword [0x14002c530]
movdqa xmm2, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x14002c5d0]
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x14002c5d0]
shufps xmm2, xmm0, 0xdd
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmmword [0x14002c540]
psubd xmm3, xmm0
andps xmm3, xmmword [0x14002c5b0]
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmmword [0x14002c600]
movd xmm0, dword [rbp - 0x55]
xorps xmm3, xmm0
movd dword [rbp - 0x55], xmm3
jmp 0x140006878
lea r8, [rbp - 0x55]
nop dword [rax]
nop word [rax + rax]
mov eax, 0xaaaaaaab
mul ecx
shr edx, 2
movzx eax, dl
add al, al
add dl, al
add dl, dl
movzx eax, cl
sub al, dl
add al, 0x63
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 4
jl 0x140006850
xorps xmm0, xmm0
movups xmmword [rbp - 0x49], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x39], xmm1
lea rax, [rbp - 0x55]
nop dword [rax + rax]
inc r13
cmp byte [rax + r13], 0
jne 0x140006890
mov r8, r13
lea rdx, [rbp - 0x55]
lea rcx, [rbp - 0x49]
call fcn.1400058a0
nop
mov r8d, 0x24
lea rdx, str.Put_back_be_and_remove_eac__sc4mterm
lea rcx, [rbp - 0x49]
call fcn.140025d10
mov rdx, qword [0x14005a0f0]
test rdx, rdx
jne 0x140006a5c
xor r11d, r11d
mov r10d, 0x3cfd9485
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 0x14000693d
psrldq xmm0, 8
movq rcx, xmm0
movzx eax, ax
shr rax, 1
lea r8, [rcx + rax*2]
mov edx, 0xd79798ac
cmp rcx, r8
je 0x140006934
movsx eax, byte [rcx]
xor eax, edx
imul edx, eax, 0xfff5db
add rcx, 2
cmp rcx, r8
jne 0x140006920
cmp edx, r11d
jne 0x140006a3d
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 0x140006a3d
mov r8d, dword [rdi + 0x18]
test r8d, r8d
je 0x140006a3d
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, 0xd79798ac
movzx ecx, byte [rax]
inc rax
test cl, cl
je 0x1400069b6
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 0x1400069a0
cmp edx, r10d
je 0x1400069c2
test r8d, r8d
jne 0x140006980
jmp 0x140006a3d
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 0x140006a55
lea rax, [r15 + rdi]
cmp rdx, rax
jae 0x140006a55
mov r11d, 0xd79798ac
mov r10d, r11d
movzx eax, byte [rdx]
cmp al, 0x2e
je 0x140006a17
nop word [rax + rax]
movsx eax, al
xor eax, r11d
imul r11d, eax, 0xfff5db
inc rdx
movzx eax, byte [rdx]
cmp al, 0x2e
jne 0x140006a00
inc rdx
movzx eax, byte [rdx]
test al, al
je 0x140006a39
movsx eax, al
xor eax, r10d
imul r10d, eax, 0xfff5db
lea rdx, [rdx + 1]
movzx eax, byte [rdx]
test al, al
jne 0x140006a21
mov rsi, qword [r12]
mov rax, qword [rsi]
mov rsi, rax
cmp rax, r12
je 0x140006a53
cmp qword [rax + 0x30], 0
jne 0x1400068f1
xor edx, edx
mov qword [0x14005a0f0], rdx
lea rcx, [rbp - 0x49]
cmp qword [rbp - 0x31], 0xf
cmova rcx, qword [rbp - 0x49]
call rdx
nop
mov rdx, qword [rbp - 0x31]
cmp rdx, 0xf
jbe 0x140006aab
inc rdx
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006aa6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006aa6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400262cc
movdqa xmm0, xmmword [0x14002c510]
movdqu xmmword [rbp - 0x39], xmm0
mov byte [rbp - 0x49], 0
mov rdx, qword [rbp - 0x11]
cmp rdx, 0xf
jbe 0x140006b02
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006af5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006af5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400262cc
movdqa xmm0, xmmword [0x14002c510]
movdqu xmmword [rbp - 0x19], xmm0
mov byte [rbp - 0x29], 0
mov rdx, qword [rbp + 0xf]
cmp rdx, 0xf
jbe 0x140006b4a
inc rdx
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006b44
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006b44
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400262cc
nop
mov rax, qword [rbp + 0x17]
movabs rcx, 0x7a5db90d33787107
xor rax, rcx
lea rcx, [rbp + 0x5f]
mov qword [rcx], rax
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140026270
lea r11, [rsp + 0xb0]
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