Function at 0x170036300
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, 0x198
movaps xmmword [rsp + 0x180], xmm9
movaps xmmword [rsp + 0x170], xmm8
movaps xmmword [rsp + 0x160], xmm7
movaps xmmword [rsp + 0x150], xmm6
mov r14, rdx
mov rdi, rcx
xorps xmm0, xmm0
movaps xmmword [rsp + 0x140], xmm0
movaps xmmword [rsp + 0x130], xmm0
movaps xmmword [rsp + 0x120], xmm0
movaps xmmword [rsp + 0x110], xmm0
movaps xmmword [rsp + 0x100], xmm0
movaps xmmword [rsp + 0xf0], xmm0
movaps xmmword [rsp + 0xe0], xmm0
movaps xmmword [rsp + 0xd0], xmm0
movaps xmmword [rsp + 0xc0], xmm0
movaps xmmword [rsp + 0xb0], xmm0
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x60], 0
call sym.ntdll.dll_RtlImageNtHeader
mov rsi, rax
movzx eax, word [rax + 0x14]
cmp eax, 0xe0
mov ebx, 0xe0
cmovb ebx, eax
mov eax, dword [rsi + 0x50]
mov ecx, dword [rsi + 0x54]
cmp ecx, eax
cmovb eax, ecx
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x40], rdi
movzx eax, word [rsi + 0x18]
mov ebp, 1
cmp eax, 0x10b
jne 0x17003640d
mov rax, qword gs:[0x30]
cmp dword [rax + 0x180c], 0
je 0x170036445
mov eax, ebp
movaps xmm6, xmmword [rsp + 0x150]
movaps xmm7, xmmword [rsp + 0x160]
movaps xmm8, xmmword [rsp + 0x170]
movaps xmm9, xmmword [rsp + 0x180]
add rsp, 0x198
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
cmp byte [r14 + 0x32], 0
je 0x17003640d
test byte [0x17008d458], 8
je 0x170036479
mov qword [rsp + 0x20], rdi
lea rdx, [0x17008d458]
lea r8, str.convert_to_pe64
lea r9, [0x170073112]
mov ecx, 3
call fcn.17002dd80
lea r15, [rsp + 0x3c]
mov qword [rsp + 0x20], r15
lea rdx, [rsp + 0x40]
lea r8, [rsp + 0x30]
mov rcx, 0xffffffffffffffff
mov r9d, 4
call sym.ntdll.dll_NtProtectVirtualMemory
xor ebp, ebp
test eax, eax
jne 0x17003640d
add rdi, qword [rsp + 0x30]
movzx eax, word [rsi + 6]
shl rax, 3
lea r14, [rax + rax*4]
lea rax, [rsi + r14]
add rax, 0x108
xor ebp, ebp
cmp rdi, rax
jb 0x170036638
lea rdx, [rsi + 0x18]
lea rdi, [rsi + rbx]
add rdi, 0x18
mov rbp, rsi
add rbp, 0x108
lea rcx, [rsp + 0x70]
mov r8, rbx
call sym.ntdll.dll_memcpy
mov ebx, dword [rsp + 0x84]
mov r13d, dword [rsp + 0x8c]
movsd xmm7, qword [rsp + 0xb8]
xorps xmm8, xmm8
unpcklps xmm7, xmm8
movsd xmm6, qword [rsp + 0xc0]
unpcklps xmm6, xmm8
mov r12, qword [rsp + 0xc8]
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x48], rax
movaps xmm9, xmmword [rsp + 0xf0]
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0x58], rax
mov rcx, rbp
mov rdx, rdi
mov r8, r14
call sym.ntdll.dll_memmove
mov word [rsi + 0x14], 0xf0
mov word [rsi + 0x18], 0x20b
mov rax, qword [rsp + 0x72]
mov rcx, qword [rsp + 0x78]
mov qword [rsi + 0x1a], rax
mov qword [rsi + 0x20], rcx
mov dword [rsi + 0x28], 0
mov dword [rsi + 0x2c], ebx
mov qword [rsi + 0x30], r13
movaps xmm0, xmmword [rsp + 0x90]
movaps xmm1, xmmword [rsp + 0xa0]
movups xmmword [rsi + 0x38], xmm0
movups xmmword [rsi + 0x48], xmm1
mov rax, qword [rsp + 0xb0]
mov qword [rsi + 0x58], rax
movups xmmword [rsi + 0x60], xmm7
movups xmmword [rsi + 0x70], xmm6
mov qword [rsi + 0x80], r12
movups xmmword [rsi + 0x88], xmm8
mov rax, qword [rsp + 0x48]
mov qword [rsi + 0x98], rax
mov rax, qword [rsp + 0x68]
mov qword [rsi + 0xa0], rax
movups xmmword [rsi + 0xa8], xmm9
mov rax, qword [rsp + 0x50]
mov qword [rsi + 0xb8], rax
movups xmmword [rsi + 0xc0], xmm8
movups xmmword [rsi + 0xd0], xmm8
movups xmmword [rsi + 0xe0], xmm8
mov qword [rsi + 0xf0], 0
mov rax, qword [rsp + 0x58]
mov qword [rsi + 0xf8], rax
mov rax, qword [rsp + 0x60]
mov qword [rsi + 0x100], rax
mov ebp, 1
mov r9d, dword [rsp + 0x3c]
mov qword [rsp + 0x20], r15
lea rdx, [rsp + 0x40]
lea r8, [rsp + 0x30]
mov rcx, 0xffffffffffffffff
call sym.ntdll.dll_NtProtectVirtualMemory
jmp 0x17003640d