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

Disassembly:
mov r11, rsp
sub rsp, 0x78
mov rax, qword gs:[0x60]
mov r10, qword [rax + 0x10]
mov qword [rsp + 0x38], r10
test r10, r10
je 0x141cb247d
mov qword [r11 - 8], rdi
mov edi, 0x5a4d
cmp word [r10], di
jne 0x141cb2478
movsxd r8, dword [r10 + 0x3c]
add r8, r10
je 0x141cb2478
cmp dword [r8], 0x4550
jne 0x141cb2478
movzx eax, word [r8 + 0x14]
lea rcx, [r8 + 0x18]
add rcx, rax
je 0x141cb2478
movzx r9d, word [r8 + 6]
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
xor ebp, ebp
mov qword [r11 - 0x10], r12
mov ebx, ebp
mov qword [r11 - 0x20], r14
mov eax, ebp
mov qword [r11 - 0x28], r15
mov dword [rsp + 0x28], r9d
test r9d, r9d
je 0x141cb20a6
lea edx, [r9 - 1]
add rcx, 0xc
cmp eax, edx
jne 0x141cb209b
mov ebx, dword [rcx]
add rbx, r10
inc eax
add rcx, 0x28
cmp eax, r9d
jb 0x141cb2092
mov r10d, dword [rbx + 0xc]
lea rcx, [rbx + 0x55]
mov r9d, 2
mov r11d, 0xcd0
nop word [rax + rax]
xor edx, edx
lea rax, [r9 - 2]
div r10
lea rcx, [rcx + 5]
movzx eax, byte [rdx + rbx + 0x10]
xor edx, edx
xor byte [rcx - 6], al
lea rax, [r9 - 1]
div r10
movzx eax, byte [rdx + rbx + 0x10]
xor edx, edx
xor byte [rcx - 5], al
mov rax, r9
div r10
movzx eax, byte [rdx + rbx + 0x10]
xor edx, edx
xor byte [rcx - 4], al
lea rax, [r9 + 1]
div r10
movzx eax, byte [rdx + rbx + 0x10]
xor edx, edx
xor byte [rcx - 3], al
lea rax, [r9 + 2]
div r10
add r9, 5
movzx eax, byte [rdx + rbx + 0x10]
xor byte [rcx - 2], al
sub r11, 1
jne 0x141cb20c0
movzx eax, word [r8 + 0x14]
lea r14, [rbx + 0x4054]
add rax, r8
mov qword [rsp + 0x90], rsi
mov qword [rsp + 0x48], rax
mov rax, qword gs:[0x60]
mov qword [rsp + 0x60], r13
mov r12, qword [rax + 0x18]
add r12, 0x20
mov r15, qword [r12]
cmp r15, r12
je 0x141cb22c5
mov r11, qword [r15 + 0x20]
test r11, r11
je 0x141cb22b3
cmp word [r11], di
jne 0x141cb22b3
movsxd rcx, dword [r11 + 0x3c]
add rcx, r11
je 0x141cb22b3
cmp dword [rcx], 0x4550
jne 0x141cb22b3
lea rax, [rcx + 0x88]
test rax, rax
je 0x141cb22b3
cmp dword [rax + 4], 0
je 0x141cb22b3
mov r8d, dword [rax]
cmp r11, qword [rcx + 0x30]
je 0x141cb2206
movzx eax, word [rcx + 0x14]
lea rdx, [rcx + 0x18]
movzx edi, word [rcx + 6]
add rdx, rax
movzx r10d, bp
cmp bp, di
jae 0x141cb2206
nop dword [rax]
mov eax, dword [rdx + 8]
test eax, eax
jne 0x141cb21da
mov eax, dword [rdx + 0x10]
mov r9d, dword [rdx + 0xc]
cmp r8, r9
jb 0x141cb21ec
lea ecx, [r9 + rax]
cmp r8, rcx
jb 0x141cb21fc
inc r10w
add rdx, 0x28
cmp r10w, di
jb 0x141cb21d0
jmp 0x141cb2206
sub r9d, dword [rdx + 0x14]
mov eax, r9d
sub r8, rax
lea rax, [r8 + r11]
test rax, rax
je 0x141cb22b3
mov esi, dword [rax + 0x1c]
mov rdi, rbp
mov r9d, dword [rax + 0x20]
add rsi, r11
mov r8d, dword [rax + 0x24]
add r9, r11
add r8, r11
cmp r14, 0x10000
jae 0x141cb2252
mov r8d, dword [rax + 0x10]
movzx edx, r14w
cmp edx, r8d
jb 0x141cb22b3
mov ecx, dword [rax + 0x14]
add ecx, r8d
cmp edx, ecx
jae 0x141cb22b3
sub edx, r8d
mov edi, dword [rsi + rdx*4]
jmp 0x141cb22a0
mov ecx, dword [rax + 0x18]
test ecx, ecx
je 0x141cb22b3
movzx ebp, byte [r14]
mov r10d, ecx
mov eax, dword [r9]
mov rcx, r14
lea rdx, [rax + r11]
movzx eax, byte [rax + r11]
cmp al, bpl
jne 0x141cb2290
sub rdx, r14
test al, al
je 0x141cb2289
movzx eax, byte [rdx + rcx + 1]
inc rcx
cmp al, byte [rcx]
je 0x141cb2277
jmp 0x141cb2290
movzx eax, word [r8]
mov edi, dword [rsi + rax*4]
add r9, 4
add r8, 2
sub r10, 1
jne 0x141cb2260
xor ebp, ebp
test rdi, rdi
je 0x141cb22b3
lea r13, [rdi + r11]
mov qword [rsp + 0x40], r13
test r13, r13
jne 0x141cb22cd
mov r15, qword [r15]
cmp r15, r12
je 0x141cb22c5
mov edi, 0x5a4d
jmp 0x141cb2161
mov r13, rbp
mov qword [rsp + 0x40], rbp
mov eax, dword [rsp + 0x28]
add eax, 0xfffffffe
je 0x141cb243a
mov rdi, qword [rsp + 0x48]
add rdi, 0x24
mov qword [rsp + 0x48], rax
nop dword [rax + rax]
test dword [rdi + 0x18], 0x20000000
je 0x141cb2427
mov ebp, dword [rdi + 4]
test ebp, ebp
je 0x141cb2427
mov esi, dword [rdi]
lea r9, [rsp + 0x20]
xor r14d, r14d
mov dword [rsp + 0x28], esi
mov r15d, esi
mov dword [rsp + 0x2c], r14d
add r15, qword [rsp + 0x38]
mov edx, ebp
mov rcx, r15
mov dword [rsp + 0x20], r14d
lea r8d, [r14 + 0x40]
call r13
lea rax, [rbx + 0x54]
lea r12, [rax + 0x4000]
mov r10, rax
cmp rax, r12
je 0x141cb23be
mov r13, qword [rsp + 0x38]
nop dword [rax]
mov r8d, dword [rdi]
mov edx, r8d
mov r9d, dword [r10]
cmp r9d, r8d
jbe 0x141cb23ae
lea eax, [r8 + rbp]
cmp r9d, eax
jae 0x141cb23ae
lea eax, [r14 + rsi]
mov ecx, eax
add rcx, r13
sub r9d, eax
je 0x141cb239f
mov r11d, dword [rbx + 0xc]
mov r8, rcx
sub r8, r15
nop
xor edx, edx
lea rcx, [rcx + 1]
mov rax, r8
inc r8
div r11
movzx eax, byte [rdx + rbx + 0x10]
xor byte [rcx - 1], al
sub r9, 1
jne 0x141cb2380
mov edx, dword [rdi]
mov rax, qword [r10]
mov qword [rsp + 0x28], rax
mov esi, eax
mov r14d, dword [rsp + 0x2c]
add r10, 8
cmp r10, r12
jne 0x141cb2350
mov r13, qword [rsp + 0x40]
jmp 0x141cb23c0
mov edx, dword [rdi]
mov rcx, qword [rsp + 0x28]
shr rcx, 0x20
add ecx, esi
cmp ecx, edx
jbe 0x141cb240f
lea eax, [rdx + rbp]
cmp ecx, eax
jae 0x141cb240f
mov r8d, ecx
sub edx, ecx
add r8, qword [rsp + 0x38]
add edx, ebp
je 0x141cb240f
mov r11d, dword [rbx + 0xc]
mov r9, r8
sub r9, r15
mov r10d, edx
xor edx, edx
lea r8, [r8 + 1]
mov rax, r9
inc r9
div r11
movzx eax, byte [rdx + rbx + 0x10]
xor byte [r8 - 1], al
sub r10, 1
jne 0x141cb23f1
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x30]
mov rdx, rbp
mov rcx, r15
call r13
mov rax, qword [rsp + 0x48]
add rdi, 0x28
sub rax, 1
mov qword [rsp + 0x48], rax
jne 0x141cb22f0
mov eax, dword [rbx + 8]
add rax, qword [rsp + 0x38]
mov r15, qword [rsp + 0x50]
mov r14, qword [rsp + 0x58]
mov r13, qword [rsp + 0x60]
mov r12, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x90]
mov rbp, qword [rsp + 0x88]
mov rbx, qword [rsp + 0x80]
cmp rax, 0x3039
jne 0x141cb2478
mov dword [rax], eax
mov rdi, qword [rsp + 0x70]
add rsp, 0x78
jmp rax