Function at 0x14015af9b
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 [0x14029e2a0]
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.140157f72
mov rcx, qword [rsp + 0xb0]
mov eax, dword [rsp + 0xb8]
cmp rcx, 5
jne 0x14015b4e0
mov dword [rsp + 0x4c], eax
test eax, eax
je 0x14015b513
mov rcx, qword [r14]
cmp rcx, 3
jbe 0x14015b0f4
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x88], rax
lea rax, [0x140188ac0]
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, [0x140283da0]
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.140160aba
mov eax, dword [rsp + 0x4c]
test eax, eax
js 0x14015b2e2
mov dword [rsp + 0x3c], eax
mov rcx, qword [r14]
cmp rcx, 3
jbe 0x14015b1a9
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x88], rax
lea rax, [0x140188ac0]
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.140160aba
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.14015ea98
cmp rax, 1
je 0x14015b39c
mov rax, qword [r14]
cmp rax, 1
jbe 0x14015b00b
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x88], rax
lea rax, [fcn.1401898f0]
mov qword [rsp + 0x90], rax
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x98], rax
lea rax, [0x140188ac0]
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.140160aba
jmp 0x14015b00b
mov word [rsp + 0x40], ax
mov rcx, qword [r14]
cmp rcx, 3
jbe 0x14015b391
lea rax, [rsp + 0x40]
mov qword [rsp + 0x88], rax
lea rax, [fcn.140188960]
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.140160aba
movzx eax, word [rsp + 0x40]
xor ecx, ecx
mov edx, dword [rsp + 0x48]
jmp 0x14015b49c
mov r9, rdx
mov qword [rsp + 0x40], rdx
mov rax, qword [r14]
cmp rax, 3
jbe 0x14015b44e
lea rax, [rsp + 0x40]
mov qword [rsp + 0x88], rax
lea rax, [fcn.140188c00]
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.140160aba
mov r9, qword [rsp + 0x40]
mov rcx, r12
mov rdx, rbx
mov r8, rdi
call fcn.14015aee3
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 0x14015b5a3
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.14013c6c5
jmp 0x14015b00b
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.1400644ca
jmp 0x14015b58c
mov rax, qword [r14]
cmp rax, 3
jbe 0x14015b565
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.140160aba
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 0x14015b504