Function at 0x14001f450
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x270
mov rax, qword [0x1401970c0]
xor rax, rsp
mov qword [rsp + 0x260], rax
cmp qword [rsp + 0x288], 0
jne 0x14001f48b
xor eax, eax
jmp 0x14001f8fb
lea rax, [rsp + 0x110]
mov rdi, rax
xor eax, eax
mov ecx, 0x40
rep stosb byte [rdi], al
lea rax, [rsp + 0x150]
mov rdi, rax
xor eax, eax
mov ecx, pe_nt_image_headers64
rep stosb byte [rdi], al
mov r9d, 0x40
lea r8, [rsp + 0x110]
mov rdx, qword [rsp + 0x288]
mov rcx, qword [rsp + 0x280]
call fcn.140020f40
movzx eax, al
test eax, eax
je 0x14001f534
movzx eax, word [rsp + 0x110]
cmp eax, 0x5a4d
jne 0x14001f534
movsxd rax, dword [rsp + 0x14c]
mov rcx, qword [rsp + 0x288]
add rcx, rax
mov rax, rcx
mov r9d, pe_nt_image_headers64
lea r8, [rsp + 0x150]
mov rdx, rax
mov rcx, qword [rsp + 0x280]
call fcn.140020f40
movzx eax, al
test eax, eax
je 0x14001f534
cmp dword [rsp + 0x150], 0x4550
je 0x14001f53b
xor eax, eax
jmp 0x14001f8fb
mov eax, 8
imul rax, rax, 0
mov eax, dword [rsp + rax + 0x1d8]
mov dword [rsp + 0x2c], eax
mov eax, 8
imul rax, rax, 0
mov eax, dword [rsp + rax + 0x1dc]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x2c], 0
je 0x14001f571
cmp dword [rsp + 0x38], 0
jne 0x14001f578
xor eax, eax
jmp 0x14001f8fb
mov eax, dword [rsp + 0x38]
mov r9d, 4
mov r8d, 0x3000
mov edx, eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x38]
mov ecx, dword [rsp + 0x2c]
mov rdx, qword [rsp + 0x288]
add rdx, rcx
mov rcx, rdx
mov r9d, eax
mov r8, qword [rsp + 0x30]
mov rdx, rcx
mov rcx, qword [rsp + 0x280]
call fcn.140020f40
movzx eax, al
test eax, eax
jne 0x14001f5e6
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
jmp 0x14001f8fb
mov eax, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x20]
add rax, qword [rsp + 0x48]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x24]
add rax, qword [rsp + 0x48]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x1c]
add rax, qword [rsp + 0x48]
mov qword [rsp + 0x88], rax
mov dword [rsp + 0x28], 0
jmp 0x14001f64d
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x18]
cmp dword [rsp + 0x28], eax
jae 0x14001f8e6
mov eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x90]
mov eax, dword [rcx + rax*4]
add rax, qword [rsp + 0x48]
mov rdx, rax
lea rcx, [rsp + 0xe8]
call fcn.14001af20
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x290]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0x18], 0xf
jbe 0x14001f6bd
mov dword [rsp + 0x3c], 1
jmp 0x14001f6c5
mov dword [rsp + 0x3c], 0
movzx eax, byte [rsp + 0x3c]
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x14001f6f4
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x80], rax
lea rax, [rsp + 0xe8]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x58]
cmp qword [rax + 0x18], 0xf
jbe 0x14001f74b
mov dword [rsp + 0x40], 1
jmp 0x14001f753
mov dword [rsp + 0x40], 0
movzx eax, byte [rsp + 0x40]
mov byte [rsp + 0x21], al
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x14001f782
mov rax, qword [rsp + 0x58]
mov rax, qword [rax]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x80], rax
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
jne 0x14001f8d4
mov eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0xb8]
movzx eax, word [rcx + rax*2]
mov word [rsp + 0x24], ax
movzx eax, word [rsp + 0x24]
mov rcx, qword [rsp + 0x88]
cmp dword [rcx + rax*4], 0x1000
ja 0x14001f80b
mov qword [rsp + 0xc0], 0
lea rcx, [rsp + 0xe8]
call fcn.140022630
mov rax, qword [rsp + 0xc0]
jmp 0x14001f8fb
movzx eax, word [rsp + 0x24]
mov rcx, qword [rsp + 0x88]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x288]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0x288]
add rcx, rax
mov rax, rcx
cmp qword [rsp + 0x60], rax
jb 0x14001f89d
mov eax, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0x288]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x38]
add rax, rcx
cmp qword [rsp + 0x60], rax
ja 0x14001f89d
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov qword [rsp + 0xc8], 0
lea rcx, [rsp + 0xe8]
call fcn.140022630
mov rax, qword [rsp + 0xc8]
jmp 0x14001f8fb
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0xd0], rax
lea rcx, [rsp + 0xe8]
call fcn.140022630
mov rax, qword [rsp + 0xd0]
jmp 0x14001f8fb
lea rcx, [rsp + 0xe8]
call fcn.140022630
jmp 0x14001f643
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140163a00
add rsp, 0x270
pop rdi
ret