Function at 0x14015c7a5
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x158
mov rdi, r8
mov rbx, rdx
mov qword [rsp + 0xa8], rcx
lea rax, [rsp + 0x128]
and qword [rax], 0
mov qword [rax + 8], 8
and qword [rax + 0x10], 0
lea rax, [rsp + 0x120]
mov qword [rax], r9
lea r12, [rsp + 0xb0]
mov r14, qword [0x1402a22a0]
mov r13d, 2
mov r15d, 1
lea rsi, str.goblin::pe::import
lea rbp, [rsp + 0x50]
mov dword [rsp + 0x48], eax
mov byte [rsp + 0x20], 0
mov rcx, r12
mov rdx, rbx
mov r8, rdi
lea r9, [rsp + 0x120]
call fcn.14015977c
mov rcx, qword [rsp + 0xb0]
mov eax, dword [rsp + 0xb8]
cmp rcx, 5
jne 0x14015ccea
mov dword [rsp + 0x4c], eax
test eax, eax
je 0x14015cd1d
mov rcx, qword [r14]
cmp rcx, 3
jbe 0x14015c8fe
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x88], rax
lea rax, [0x14018c210]
mov qword [rsp + 0x90], rax
mov qword [rsp + 0xb0], r13
mov qword [rsp + 0xc0], r13
and qword [rsp + 0xd0], 0
movabs rax, 0x400000020
mov qword [rsp + 0xd8], rax
mov byte [rsp + 0xe0], 3
lea rax, [0x140288148]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], r15
lea rax, [rsp + 0x88]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], r15
and qword [rsp + 0x20], 0
mov edx, 4
mov rcx, rbp
mov r8, rsi
mov r9d, 0x80
call fcn.1401622c2
mov eax, dword [rsp + 0x4c]
test eax, eax
js 0x14015caec
mov dword [rsp + 0x3c], eax
mov rcx, qword [r14]
cmp rcx, 3
jbe 0x14015c9b3
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x88], rax
lea rax, [0x14018c210]
mov qword [rsp + 0x90], rax
mov qword [rsp + 0xb0], r13
mov qword [rsp + 0xc0], r13
and qword [rsp + 0xd0], 0
movabs rax, 0x400000020
mov qword [rsp + 0xd8], rax
mov byte [rsp + 0xe0], 3
lea rax, str.searching_for_RVA
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], r15
lea rax, [rsp + 0x88]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], r15
and qword [rsp + 0x20], 0
mov edx, 4
mov rcx, rbp
mov r8, rsi
mov r9d, 0x89
call fcn.1401622c2
mov eax, dword [rsp + 0x3c]
mov ecx, eax
mov rax, qword [rsp + 0x1d8]
mov qword [rsp + 0x20], rax
mov rdx, qword [rsp + 0x1c0]
mov r8, qword [rsp + 0x1c8]
mov r9d, dword [rsp + 0x1d0]
call fcn.1401602a2
cmp rax, 1
je 0x14015cba6
mov rax, qword [r14]
cmp rax, 1
jbe 0x14015c815
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x88], rax
lea rax, [fcn.14018d040]
mov qword [rsp + 0x90], rax
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x98], rax
lea rax, [0x14018c210]
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0xb0], r13
mov qword [rsp + 0xc0], r13
and qword [rsp + 0xd0], 0
mov qword [rsp + 0xd8], 0x20
mov al, 3
mov byte [rsp + 0xe0], al
mov qword [rsp + 0xe8], r13
mov qword [rsp + 0xf8], r13
mov qword [rsp + 0x108], 1
movabs rcx, 0x400000020
mov qword [rsp + 0x110], rcx
mov byte [rsp + 0x118], al
lea rax, str.Entry__has_bad_RVA:
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], r13
lea rax, [rsp + 0x88]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], r13
and qword [rsp + 0x20], 0
mov edx, 2
mov rcx, rbp
mov r8, rsi
mov r9d, 0x90
call fcn.1401622c2
jmp 0x14015c815
mov word [rsp + 0x40], ax
mov rcx, qword [r14]
cmp rcx, 3
jbe 0x14015cb9b
lea rax, [rsp + 0x40]
mov qword [rsp + 0x88], rax
lea rax, [fcn.14018c0b0]
mov qword [rsp + 0x90], rax
mov qword [rsp + 0xb0], r13
mov qword [rsp + 0xc0], r13
and qword [rsp + 0xd0], 0
movabs rax, 0x400000020
mov qword [rsp + 0xd8], rax
mov byte [rsp + 0xe0], 3
lea rax, str.importing_by_ordinal
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], r15
lea rax, [rsp + 0x88]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], r15
and qword [rsp + 0x20], 0
mov edx, 4
mov rcx, rbp
mov r8, rsi
mov r9d, 0x84
call fcn.1401622c2
movzx eax, word [rsp + 0x40]
xor ecx, ecx
mov edx, dword [rsp + 0x48]
jmp 0x14015cca6
mov r9, rdx
mov qword [rsp + 0x40], rdx
mov rax, qword [r14]
cmp rax, 3
jbe 0x14015cc58
lea rax, [rsp + 0x40]
mov qword [rsp + 0x88], rax
lea rax, [fcn.14018c350]
mov qword [rsp + 0x90], rax
mov qword [rsp + 0xb0], r13
mov qword [rsp + 0xc0], r13
and qword [rsp + 0xd0], 0
movabs rax, 0x400000020
mov qword [rsp + 0xd8], rax
mov byte [rsp + 0xe0], 3
lea rax, str.offset
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], r15
lea rax, [rsp + 0x88]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], r15
and qword [rsp + 0x20], 0
mov edx, 4
mov rcx, rbp
mov r8, rsi
mov r9d, 0x8d
call fcn.1401622c2
mov r9, qword [rsp + 0x40]
mov rcx, r12
mov rdx, rbx
mov r8, rdi
call fcn.14015c6ed
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0xb8]
lea rdx, [rsp + 0xc0]
movups xmm0, xmmword [rdx]
movaps xmmword [rsp + 0x50], xmm0
cmp rax, 0xa
jne 0x14015cdad
movaps xmm0, xmmword [rsp + 0x50]
movaps xmmword [rsp + 0x140], xmm0
mov eax, dword [rsp + 0x3c]
mov edx, eax
shr edx, 0x10
mov word [rsp + 0xb0], ax
mov dword [rsp + 0x48], edx
mov word [rsp + 0xb2], dx
mov qword [rsp + 0xb8], rcx
movaps xmm0, xmmword [rsp + 0x140]
lea rax, [rsp + 0xc0]
movups xmmword [rax], xmm0
lea rcx, [rsp + 0x128]
mov rdx, r12
call fcn.14013dda5
jmp 0x14015c815
mov edx, dword [rsp + 0xcc]
mov rsi, qword [rsp + 0xa8]
mov dword [rsi + 0x1c], edx
movups xmm0, xmmword [rsp + 0xbc]
movups xmmword [rsi + 0xc], xmm0
mov qword [rsi], rcx
mov dword [rsi + 8], eax
lea rcx, [rsp + 0x128]
call fcn.140065d8c
jmp 0x14015cd96
mov rax, qword [r14]
cmp rax, 3
jbe 0x14015cd6f
lea rax, str.imports_done
lea rcx, [rsp + 0xb0]
mov qword [rcx], rax
mov qword [rcx + 8], 1
lea rax, str.Index_out_of_bounds
mov qword [rcx + 0x10], rax
xorps xmm0, xmm0
movups xmmword [rcx + 0x18], xmm0
and qword [rsp + 0x20], 0
lea r8, str.goblin::pe::import
mov edx, 4
mov r9d, 0x7c
call fcn.1401622c2
mov rax, qword [rsp + 0x138]
mov rsi, qword [rsp + 0xa8]
mov qword [rsi + 0x18], rax
movups xmm0, xmmword [rsp + 0x128]
movups xmmword [rsi + 8], xmm0
mov qword [rsi], 0xa
mov rax, rsi
add rsp, 0x158
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
movaps xmm0, xmmword [rsp + 0x50]
mov rsi, qword [rsp + 0xa8]
movups xmmword [rsi + 0x10], xmm0
mov qword [rsi], rax
mov qword [rsi + 8], rcx
jmp 0x14015cd0e