Function at 0x14000aaf0
Capabilities:
Link function at runtime on windows
Parse pe header

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov rax, qword [rcx]
mov rsi, rcx
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000ad3e
movsxd rbp, dword [rax + 0x3c]
add rbp, rax
cmp dword [rbp], 0x4550
jne 0x14000ad3e
mov rax, qword [rbp + 0x30]
mov qword [rsp + 0x60], rax
mov eax, dword [rbp + 0x50]
mov qword [rsp + 0x68], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r14d, 0x3000
mov dword [rsp + 0x28], 0x40
mov rcx, rax
mov dword [rsp + 0x20], r14d
lea r9, [rsp + 0x68]
xor r8d, r8d
lea rdx, [rsp + 0x60]
call fcn.14000b650
xor r15d, r15d
test eax, eax
je 0x14000abab
mov qword [rsp + 0x60], r15
mov eax, dword [rbp + 0x50]
mov qword [rsp + 0x68], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rsp + 0x28], 0x40
lea r9, [rsp + 0x68]
mov rcx, rax
mov dword [rsp + 0x20], r14d
xor r8d, r8d
lea rdx, [rsp + 0x60]
call fcn.14000b650
test eax, eax
jne 0x14000ad3e
mov r8d, dword [rbp + 0x54]
mov rdx, qword [rsi]
mov rcx, qword [rsp + 0x60]
call fcn.14006ee40
movzx ebx, word [rbp + 0x14]
mov edi, r15d
add rbx, 0x2c
cmp r15w, word [rbp + 6]
jae 0x14000abf5
add rbx, rbp
mov edx, dword [rbx]
mov ecx, dword [rbx - 8]
add rdx, qword [rsi]
add rcx, qword [rsp + 0x60]
mov r8d, dword [rbx - 4]
call fcn.14006ee40
movzx eax, word [rbp + 6]
lea rbx, [rbx + 0x28]
inc edi
cmp edi, eax
jl 0x14000abd1
mov rcx, qword [rbp + 0x30]
mov rdx, qword [rsp + 0x60]
cmp rdx, rcx
je 0x14000ac9d
mov r8, qword [rbp + 0xb0]
mov rax, r8
shr rax, 0x20
test eax, eax
je 0x14000ac9d
mov r9d, r8d
mov rbx, rdx
add r9, rdx
sub rbx, rcx
cmp dword [r9], r15d
je 0x14000ac9d
mov edi, 0xf000
nop dword [rax]
nop word [rax + rax]
mov eax, dword [r9 + 4]
mov r8, r15
sub rax, 8
shr rax, 1
movsxd r11, eax
test eax, eax
jle 0x14000ac91
nop word [rax + rax]
movzx r10d, word [r9 + r8*2 + 8]
movzx eax, r10w
and ax, di
cmp ax, r14w
jne 0x14000ac89
mov ecx, dword [r9]
and r10d, 0xfff
lea rax, [rdx + r10]
add dword [rcx + rax], ebx
mov rdx, qword [rsp + 0x60]
inc r8
cmp r8, r11
jl 0x14000ac60
mov eax, dword [r9 + 4]
add r9, rax
cmp dword [r9], r15d
jne 0x14000ac40
mov rcx, qword [rbp + 0x90]
mov rax, rcx
shr rax, 0x20
test eax, eax
je 0x14000ad23
mov esi, ecx
add rsi, 0xc
add rsi, rdx
mov eax, dword [rsi]
test eax, eax
je 0x14000ad23
nop
mov ecx, eax
add rcx, rdx
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rdi, rax
test rax, rax
je 0x14000ad3e
mov ebx, dword [rsi + 4]
mov rdx, qword [rsp + 0x60]
add rbx, rdx
mov rcx, qword [rbx]
test rcx, rcx
je 0x14000ad18
mov r8, rcx
mov rcx, rdi
jns 0x14000acf4
movzx edx, r8w
jmp 0x14000acfb
add r8, 2
add rdx, r8
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx], rax
add rbx, 8
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rbx]
mov r8, rcx
test rcx, rcx
jne 0x14000ace9
mov eax, dword [rsi + 0x14]
add rsi, 0x14
test eax, eax
jne 0x14000acc0
mov eax, dword [rbp + 0x28]
add rax, rdx
call rax
mov al, 1
mov rbx, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov rbx, qword [rsp + 0x70]
xor al, al
add rsp, 0x30
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret