Function at 0x1407e8232
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 [0x1408c3260]
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.1407e5209
mov rcx, qword [rsp + 0xb0]
mov eax, dword [rsp + 0xb8]
cmp rcx, 5
jne 0x1407e8777
mov dword [rsp + 0x4c], eax
test eax, eax
je 0x1407e87aa
mov rcx, qword [r14]
cmp rcx, 3
jbe 0x1407e838b
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x88], rax
lea rax, [0x140817640]
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, [0x1408a9828]
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.1407edd4e
mov eax, dword [rsp + 0x4c]
test eax, eax
js 0x1407e8579
mov dword [rsp + 0x3c], eax
mov rcx, qword [r14]
cmp rcx, 3
jbe 0x1407e8440
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x88], rax
lea rax, [0x140817640]
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.1407edd4e
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.1407ebd2f
cmp rax, 1
je 0x1407e8633
mov rax, qword [r14]
cmp rax, 1
jbe 0x1407e82a2
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x88], rax
lea rax, [fcn.140818470]
mov qword [rsp + 0x90], rax
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x98], rax
lea rax, [0x140817640]
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.1407edd4e
jmp 0x1407e82a2
mov word [rsp + 0x40], ax
mov rcx, qword [r14]
cmp rcx, 3
jbe 0x1407e8628
lea rax, [rsp + 0x40]
mov qword [rsp + 0x88], rax
lea rax, [fcn.1408174e0]
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.1407edd4e
movzx eax, word [rsp + 0x40]
xor ecx, ecx
mov edx, dword [rsp + 0x48]
jmp 0x1407e8733
mov r9, rdx
mov qword [rsp + 0x40], rdx
mov rax, qword [r14]
cmp rax, 3
jbe 0x1407e86e5
lea rax, [rsp + 0x40]
mov qword [rsp + 0x88], rax
lea rax, [fcn.140817780]
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.1407edd4e
mov r9, qword [rsp + 0x40]
mov rcx, r12
mov rdx, rbx
mov r8, rdi
call fcn.1407e817a
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 0x1407e883a
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.1407e2972
jmp 0x1407e82a2
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.140783efa
jmp 0x1407e8823
mov rax, qword [r14]
cmp rax, 3
jbe 0x1407e87fc
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.1407edd4e
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 0x1407e879b