Function at 0x14002a640
Capabilities:
Access peb ldr_data
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x68]
sub rsp, 0x140
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
mov rax, qword [0x1401e56c8]
xor rax, rsp
mov qword [rbp], rax
mov r12, rcx
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x38], rcx
xor r13d, r13d
mov edi, r13d
mov dword [rsp + 0x60], r13d
mov ebx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rbx + rcx]
cmp dword [0x1401eca48], eax
jle 0x14002a6df
lea rcx, [0x1401eca48]
call fcn.14015c240
cmp dword [0x1401eca48], 0xffffffff
jne 0x14002a6df
lea rcx, [0x1401676a0]
call fcn.14015c074
lea rcx, [0x1401eca48]
call fcn.14015c1d4
mov rax, qword gs:[0x58]
mov rax, qword [rax]
mov eax, dword [rbx + rax]
cmp dword [0x1401eca4c], eax
jle 0x14002a757
lea rcx, [0x1401eca4c]
call fcn.14015c240
cmp dword [0x1401eca4c], 0xffffffff
jne 0x14002a757
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rbx, 0x989680
jne 0x14002a729
imul rax, rax, 0x64
jmp 0x14002a744
cqo
idiv rbx
imul r8, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
add rax, r8
mov qword [0x1401eca50], rax
lea rcx, [0x1401eca4c]
call fcn.14015c1d4
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rbx, 0x989680
jne 0x14002a775
imul rax, rax, 0x64
jmp 0x14002a790
cqo
idiv rbx
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
add rax, rcx
sub rax, qword [0x1401eca50]
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
divsd xmm0, qword [0x1401c49e8]
comisd xmm0, xmmword [0x1401c49c8]
jb 0x14002ae5a
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rbx, 0x989680
jne 0x14002a7d3
imul rax, rax, 0x64
jmp 0x14002a7ee
cqo
idiv rbx
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
add rax, rcx
mov qword [0x1401eca50], rax
call fcn.140012a00
mov r14, rax
test rax, rax
je 0x14002ae5a
mov rbx, qword [0x1401ea220]
mov rsi, qword [0x1401ea228]
cmp rbx, rsi
je 0x14002a84c
add rbx, 8
nop dword [rax]
lea rcx, [rbx + 0x20]
call fcn.140013d10
mov rcx, rbx
call fcn.140010730
add rbx, 0x48
lea rax, [rbx - 8]
cmp rax, rsi
jne 0x14002a820
mov rax, qword [0x1401ea220]
mov qword [0x1401ea228], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x70], r13
mov qword [rbp - 0x68], r13
mov qword [rbp - 0x60], r13
mov ecx, 0x5dc
call fcn.14015be00
mov qword [rbp - 0x70], rax
lea rbx, [rax + 0x5dc]
mov qword [rbp - 0x60], rbx
xor edx, edx
mov r8d, 0x5dc
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rbp - 0x68], rbx
mov rbx, qword [rbp - 0x70]
mov rsi, qword [0x1401ea128]
cmp byte [0x1401ec478], 0
jne 0x14002a8a5
call fcn.1400c9300
mov rax, qword [0x1401ec358]
mov qword [rsp + 0x20], r13
mov r9d, 0x5dc
mov r8, rbx
mov rdx, r14
mov rcx, rsi
test rax, rax
je 0x14002a8c9
call rax
jmp 0x14002a8cf
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x78], xmm1
mov qword [rbp - 0x78], r13
mov edx, reloc.WS2_32.dll_recv
mov rax, qword [rbp - 0x68]
mov rcx, qword [rbp - 0x70]
sub rax, rcx
add rax, 0xfffffffffffffff8
mov rbx, qword [rbp - 0x80]
cmp rdx, rax
jae 0x14002ab08
nop dword [rax]
cmp byte [0x1401ea1e8], 0
je 0x14002aea1
mov rax, qword [rbp - 0x68]
sub rax, rcx
lea r15, [rdx + 4]
cmp r15, rax
mov esi, r13d
ja 0x14002a923
mov esi, dword [rcx + rdx]
mov dword [rsp + 0x38], esi
cmp rax, 4
mov eax, r13d
jb 0x14002a932
mov eax, dword [rcx]
cmp esi, eax
je 0x14002ab08
test esi, esi
je 0x14002aaf1
cmp esi, 0x20000000
jb 0x14002ab08
jbe 0x14002aaf1
cmp rbx, qword [rbp - 0x78]
je 0x14002a963
mov dword [rbx], esi
add qword [rbp - 0x80], 4
jmp 0x14002a975
lea r8, [rsp + 0x38]
mov rdx, rbx
lea rcx, [rsp + 0x78]
call fcn.14002dbb0
mov dword [rsp + 0x70], r13d
mov r14d, esi
movzx ebx, word [0x1401ea110]
imul rbx, r14
add rbx, qword [0x1401eca38]
mov rsi, qword [0x1401ea128]
cmp byte [0x1401ec478], 0
jne 0x14002a9a4
call fcn.1400c9300
mov rax, qword [0x1401ec358]
mov qword [rsp + 0x20], r13
mov r9d, 4
lea r8, [rsp + 0x70]
lea rdx, [rbx + 0x14]
mov rcx, rsi
test rax, rax
je 0x14002a9cb
call rax
jmp 0x14002a9d1
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov eax, dword [rsp + 0x70]
cmp eax, 0x20000000
jbe 0x14002a9fe
mov rdx, qword [rbp - 0x80]
cmp rdx, qword [rbp - 0x78]
je 0x14002a9ef
mov dword [rdx], eax
add qword [rbp - 0x80], 4
jmp 0x14002a9fe
lea r8, [rsp + 0x70]
lea rcx, [rsp + 0x78]
call fcn.14002dbb0
movzx ebx, word [0x1401ea110]
imul rbx, r14
add rbx, qword [0x1401eca38]
mov rsi, qword [0x1401ea128]
cmp byte [0x1401ec478], 0
jne 0x14002aa25
call fcn.1400c9300
mov rax, qword [0x1401ec358]
mov qword [rsp + 0x20], r13
mov r9d, 4
lea r8, [rsp + 0x70]
lea rdx, [rbx + 0x18]
mov rcx, rsi
test rax, rax
je 0x14002aa4c
call rax
jmp 0x14002aa52
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov eax, dword [rsp + 0x70]
cmp eax, 0x20000000
jbe 0x14002aae9
movzx ebx, word [0x1401ea110]
imul rbx, rax
add rbx, qword [0x1401eca38]
mov rsi, qword [0x1401ea128]
cmp byte [0x1401ec478], 0
jne 0x14002aa88
call fcn.1400c9300
mov rax, qword [0x1401ec358]
mov qword [rsp + 0x20], r13
mov r9d, 4
lea r8, [rsp + 0x70]
lea rdx, [rbx + 0x14]
mov rcx, rsi
test rax, rax
je 0x14002aaaf
call rax
jmp 0x14002aab5
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov eax, dword [rsp + 0x70]
cmp eax, 0x20000000
jbe 0x14002aae9
mov rdx, qword [rbp - 0x80]
cmp rdx, qword [rbp - 0x78]
je 0x14002aada
mov dword [rdx], eax
mov rbx, qword [rbp - 0x80]
add rbx, 4
mov qword [rbp - 0x80], rbx
jmp 0x14002aaed
lea r8, [rsp + 0x70]
lea rcx, [rsp + 0x78]
call fcn.14002dbb0
mov rbx, qword [rbp - 0x80]
mov rcx, qword [rbp - 0x70]
mov rdx, r15
mov rax, qword [rbp - 0x68]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp r15, rax
jb 0x14002a900
mov rsi, qword [rsp + 0x78]
cmp rsi, rbx
je 0x14002adc8
mov byte [rsp + 0x30], 1
mov byte [rsp + 0x31], 1
mov byte [rsp + 0x32], 1
mov r14, qword [rbp + 0x90]
mov r15d, dword [reloc.WS2_32.dll_accept]
mov r12d, 5
nop dword [rax]
mov eax, dword [rsi]
mov dword [rsp + 0x38], eax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x31]
lea r8, [rsp + 0x32]
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x50]
call fcn.140027990
nop
mov rax, qword [str.cYSWULRF_Y__I_]
mov qword [rsp + 0x38], rax
cmp byte [0x1401ba64f], 0
je 0x14002acd3
cmp r15d, 2
jl 0x14002ac94
movdqa xmm4, xmmword [0x1401c4ea0]
movd xmm6, r12d
mov eax, Ordinal_35
movd xmm5, eax
movdqa xmm2, xmmword [0x1401c4b30]
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 [0x1401c4c20]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1401c4d00]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1401c4db0]
movd xmm0, dword [rsp + 0x38]
xorps xmm2, xmm0
movd dword [rsp + 0x38], xmm2
movdqa xmm3, xmmword [0x1401c4b40]
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 [0x1401c4c20]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1401c4d00]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1401c4db0]
movd xmm0, dword [rsp + 0x3c]
xorps xmm2, xmm0
movd dword [rsp + 0x3c], xmm2
jmp 0x14002acd3
lea r9, [rsp + 0x38]
mov r8d, r13d
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, 0x36
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 8
jl 0x14002aca0
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], r13
lea rax, [rsp + 0x38]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x14002acf1
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x40]
call fcn.140010900
or edi, 2
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rdx, qword [rsp + 0x40]
lea rcx, [rbp - 0x48]
cmp qword [rbp - 0x30], 0x10
cmovae rcx, qword [rbp - 0x48]
mov r8, qword [rbp - 0x38]
cmp r8, qword [rsp + 0x50]
jne 0x14002ad40
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14002ad4c
cmp byte [r14], 0
je 0x14002ad5b
cmp dword [rbp - 0x10], 0
jne 0x14002ad5b
lea rcx, [rsp + 0x40]
call fcn.140010730
and edi, 0xfffffffd
jmp 0x14002ad9b
lea rcx, [rsp + 0x40]
call fcn.140010730
and edi, 0xfffffffd
mov rax, qword [0x1401ea228]
cmp rax, qword [0x1401ea230]
je 0x14002ad8e
lea rdx, [rbp - 0x50]
mov rcx, rax
call fcn.14002c930
add qword [0x1401ea228], 0x48
jmp 0x14002ad9b
lea r8, [rbp - 0x50]
mov rdx, rax
call fcn.14002d320
nop
lea rcx, [rbp - 0x28]
call fcn.140013d10
lea rcx, [rbp - 0x48]
call fcn.140010730
add rsi, 4
cmp rsi, rbx
jne 0x14002ab40
mov rcx, qword [rbp - 0x70]
mov rsi, qword [rsp + 0x78]
mov r12, qword [rsp + 0x68]
test rsi, rsi
je 0x14002ae21
mov rax, qword [rbp - 0x78]
sub rax, rsi
sar rax, 2
lea rdx, [rax*4]
mov rax, rsi
cmp rdx, 0x1000
jb 0x14002ae08
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002ae08
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.14015c094
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], r13
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x14002ae5a
mov rdx, qword [rbp - 0x60]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002ae55
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002ae55
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14015c094
mov rcx, r12
call fcn.14002cc90
mov rax, r12
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.14015bde0
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
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 rbp
ret
movss xmm0, dword [0x1401c4720]
call fcn.1400cdb40
int3