Function at 0x1400019e0
Capabilities:
Access peb ldr_data
Encode data using xor
Get ntdll base address
Resolve function by parsing pe exports

Disassembly:
push r15
sub rsp, 0x50
cmp dword [0x140070a30], 0
jne 0x140001c74
mov rax, qword gs:[0x60]
xor edx, edx
mov rcx, qword [rax + 0x18]
mov r8, qword [rcx + 0x10]
mov rax, qword [r8 + 0x30]
test rax, rax
je 0x140001c80
nop dword [rax]
nop word [rax + rax]
mov r15, rax
movsxd rax, dword [rax + 0x3c]
mov ecx, dword [rax + r15 + 0x88]
test ecx, ecx
je 0x140001a5d
lea rdx, [r15 + rcx]
mov ecx, dword [r15 + rcx + 0xc]
mov eax, dword [rcx + r15]
or eax, 0x20202020
cmp eax, 0x6c64746e
jne 0x140001a5d
mov eax, dword [rcx + r15 + 4]
or eax, 0x20202020
cmp eax, 0x6c642e6c
je 0x140001a6b
mov r8, qword [r8]
mov rax, qword [r8 + 0x30]
test rax, rax
jne 0x140001a20
jmp 0x140001a72
mov qword [0x140070a28], r15
test rdx, rdx
je 0x140001c80
mov eax, dword [rdx + 0x1c]
mov qword [rsp + 0x78], rbx
add rax, r15
mov qword [rsp + 0x48], rbp
lea rbp, [0x140070a30]
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], r12
mov r12d, dword [rdx + 0x20]
mov qword [rsp + 0x70], rax
add r12, r15
mov eax, dword [rdx + 0x24]
add rax, r15
mov qword [rsp + 0x28], r13
mov r13d, dword [rdx + 0x18]
xor edi, edi
mov qword [rsp + 0x68], rax
mov edx, 0x775a
mov qword [rsp + 0x20], r14
nop dword [rax]
lea eax, [r13 - 1]
mov r14d, dword [r12 + rax*4]
add r14, r15
cmp word [r14], dx
jne 0x140001bb6
xor ebp, ebp
mov esi, 0x9327c3c6
mov rax, r14
nop
movzx ebx, word [rax]
inc ebp
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, esi
mov eax, ebp
ror ecx, 8
add rax, r14
add ecx, ebx
xor esi, ecx
cmp byte [rax], 0
jne 0x140001af0
mov rax, qword [rsp + 0x68]
lea rbp, [0x140070a30]
lea ecx, [r13 - 1]
mov edx, edi
add rdx, rdx
mov word [rsp + 0x60], 0x50f
movzx r9d, word [rsp + 0x60]
mov r10b, 0xc3
mov dword [rbp + rdx*8 + 8], esi
movzx eax, word [rax + rcx*2]
mov rcx, qword [rsp + 0x70]
mov ecx, dword [rcx + rax*4]
mov dword [rbp + rdx*8 + 0xc], ecx
lea r8, [r15 + rcx]
cmp r9w, word [r8 + 0x12]
lea rax, [r8 + 0x12]
jne 0x140001b5c
cmp r10b, byte [rax + 2]
je 0x140001b9d
mov ecx, 1
mov eax, ecx
shl eax, 5
mov edx, eax
add rax, 0x12
add rax, r8
cmp r9w, word [rax]
jne 0x140001b7b
cmp r10b, byte [rax + 2]
je 0x140001b9d
mov rax, r8
sub rax, rdx
add rax, 0x12
cmp r9w, word [rax]
jne 0x140001b91
cmp r10b, byte [rax + 2]
je 0x140001b9d
inc ecx
cmp ecx, 0x200
jb 0x140001b61
xor eax, eax
mov ecx, edi
inc edi
add rcx, rcx
mov qword [rbp + rcx*8 + 0x10], rax
cmp edi, 0x258
je 0x140001bc0
mov edx, 0x775a
add r13d, 0xffffffff
jne 0x140001ad0
mov r14, qword [rsp + 0x20]
lea eax, [rdi - 1]
mov r13, qword [rsp + 0x28]
xor r10d, r10d
mov r12, qword [rsp + 0x30]
mov dword [0x140070a30], edi
test eax, eax
je 0x140001c60
mov eax, edi
xor ecx, ecx
sub eax, r10d
cmp eax, 1
je 0x140001c55
nop
lea r11d, [rcx + 1]
mov r9d, ecx
add r9, r9
mov r8d, r11d
add r8, r8
mov esi, dword [rbp + r9*8 + 0xc]
mov ebx, dword [rbp + r8*8 + 0xc]
cmp esi, ebx
jbe 0x140001c46
mov eax, dword [rbp + r8*8 + 8]
mov edx, dword [rbp + r9*8 + 8]
mov rcx, qword [rbp + r9*8 + 0x10]
mov dword [rbp + r9*8 + 8], eax
mov rax, qword [rbp + r8*8 + 0x10]
mov qword [rbp + r9*8 + 0x10], rax
mov dword [rbp + r9*8 + 0xc], ebx
mov dword [rbp + r8*8 + 8], edx
mov dword [rbp + r8*8 + 0xc], esi
mov qword [rbp + r8*8 + 0x10], rcx
mov edi, dword [0x140070a30]
mov eax, edi
mov ecx, r11d
sub eax, r10d
dec eax
cmp r11d, eax
jb 0x140001bf0
inc r10d
lea eax, [rdi - 1]
cmp r10d, eax
jb 0x140001be3
mov rsi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x38]
mov eax, 1
add rsp, 0x50
pop r15
ret
xor eax, eax
add rsp, 0x50
pop r15
ret