Function at 0x4faefb
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, 0x358
mov r15, rdx
mov rbx, rcx
lea r12, [rsp + 0x30]
mov rcx, r12
call fcn.004fc724
mov r8d, dword [r12]
cmp r8d, 0x1f
jne 0x4faf93
lea rsi, [rsp + 0x38]
lea rax, [rsp + 0x264]
mov ecx, 0x1c
mov rdi, rax
rep movsd dword [rdi], dword [rsi]
lea r13, [rsp + 0x160]
mov ecx, 0x1c
mov rdi, r13
mov rsi, rax
rep movsd dword [rdi], dword [rsi]
mov rcx, r15
call fcn.004f7561
mov rax, qword [r15]
mov r14, qword [r15 + 0x10]
cmp qword [rax + 0xa0], r14
jne 0x4fafe4
mov rcx, rbx
mov rdx, r15
call fcn.004fae1f
mov dword [rbx + 0x98], 0x110008
lea rcx, [rsp + 0x160]
call fcn.004fc903
jmp 0x4fafd0
lea rax, [rsp + 0x34]
lea rdx, [rsp + 0x260]
mov ecx, 0x1d
mov rdi, rdx
mov rsi, rax
rep movsd dword [rdi], dword [rsi]
mov rax, qword [rax + 0x74]
lea rdi, [rbx + 4]
mov ecx, 0x1d
mov rsi, rdx
rep movsd dword [rdi], dword [rsi]
mov dword [rbx], r8d
mov qword [rbx + 0x78], rax
mov dword [rbx + 0x98], 0x110008
add rsp, 0x358
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, r15
call fcn.004f7719
cmp eax, 0x2d
jne 0x4fb00f
mov rcx, r15
call fcn.004fc787
cmp eax, 0x5d
je 0x4fb00f
mov rcx, r15
call fcn.004fc787
cmp eax, 0x2d
jne 0x4fb176
mov al, byte [rsp + 0x1c8]
lea edx, [rax - 2]
movzx r8d, dl
cmp r8b, 4
mov ecx, 4
cmovb ecx, r8d
test cl, cl
je 0x4fb0bb
movzx ecx, cl
cmp ecx, 3
je 0x4fb07d
lea r8, [rsp + 0x1c9]
lea rsi, [rsp + 0x160]
cmp ecx, 4
jne 0x4fb0f9
mov ecx, 0xd
mov rdi, rbx
rep movsq qword [rdi], qword [rsi]
mov byte [rbx + 0x68], al
mov eax, dword [r8]
mov ecx, dword [r8 + 3]
mov dword [rbx + 0x69], eax
mov dword [rbx + 0x6c], ecx
mov dword [rbx + 0x98], 0x110004
jmp 0x4fafd0
mov rax, qword [rsp + 0x190]
mov qword [rbx + 0x30], rax
movups xmm0, xmmword [rsp + 0x160]
movups xmm1, xmmword [rsp + 0x170]
movups xmm2, xmmword [rsp + 0x180]
movups xmmword [rbx + 0x20], xmm2
movups xmmword [rbx + 0x10], xmm1
movups xmmword [rbx], xmm0
mov dword [rbx + 0x98], 0x110005
jmp 0x4fafd0
mov rax, qword [rsp + 0x190]
mov qword [rbx + 0x30], rax
movups xmm0, xmmword [rsp + 0x160]
movups xmm1, xmmword [rsp + 0x170]
movups xmm2, xmmword [rsp + 0x180]
movups xmmword [rbx + 0x20], xmm2
movups xmmword [rbx + 0x10], xmm1
movups xmmword [rbx], xmm0
mov dword [rbx + 0x98], 0x110001
jmp 0x4fafd0
mov ecx, 0xd
mov rdi, r12
rep movsq qword [rdi], qword [rsi]
lea rcx, [rsp + 0x68]
mov byte [rcx + 0x30], al
mov eax, dword [r8]
mov r8d, dword [r8 + 3]
mov dword [rcx + 0x31], eax
mov dword [rcx + 0x34], r8d
cmp dl, 4
cmovb rcx, r12
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
movups xmm2, xmmword [rcx + 0x20]
lea r9, [rsp + 0x2e0]
movaps xmmword [r9 + 0x20], xmm2
movaps xmmword [r9 + 0x10], xmm1
movaps xmmword [r9], xmm0
lea rax, [rsp + 0x260]
mov dword [rax], 1
mov rdx, qword [r15 + 8]
mov qword [rsp + 0x20], rax
mov rcx, rbx
mov r8, r14
call fcn.004fa9af
mov dword [rbx + 0x98], 0x110008
mov rcx, r12
jmp 0x4faf8c
mov rcx, r15
call fcn.004faa49
test al, al
je 0x4faf6f
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov rdx, r15
call fcn.004fc724
mov r8d, dword [rsi]
cmp r8d, 0x1f
jne 0x4fb3c5
lea rsi, [rsp + 0x38]
lea rax, [rsp + 0x264]
mov ecx, 0x1c
mov rdi, rax
rep movsd dword [rdi], dword [rsi]
lea rdx, [rsp + 0x2e0]
mov ecx, 0x1c
mov rdi, rdx
mov rsi, rax
rep movsd dword [rdi], dword [rsi]
lea rax, [rsp + 0x198]
mov cl, byte [rax + 0x30]
add cl, 0xfe
cmp cl, 4
cmovb rax, r13
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x130], xmm0
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x140], rax
mov al, byte [rdx + 0x68]
add al, 0xfe
cmp al, 4
lea rax, [rsp + 0x318]
cmovb rax, rdx
movups xmm0, xmmword [rax + 0x18]
movups xmmword [rsp + 0x148], xmm0
mov rax, qword [rax + 0x28]
mov qword [rsp + 0x158], rax
lea rdx, [rsp + 0x260]
mov ecx, 0xe
mov rdi, rdx
mov rsi, r13
rep movsq qword [rdi], qword [rsi]
mov r15, qword [r15 + 8]
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8, r15
mov r9, r14
call fcn.004fc911
mov eax, dword [rsi]
cmp eax, 0x1f
jne 0x4fb3fd
lea r12, [rsp + 0x30]
movups xmm0, xmmword [r12 + 8]
movups xmm1, xmmword [r12 + 0x18]
movups xmm2, xmmword [r12 + 0x28]
movups xmmword [rsp + 0xd4], xmm2
movups xmmword [rsp + 0xc4], xmm1
movups xmmword [rsp + 0xb4], xmm0
mov ebp, dword [r12 + 0x38]
mov r13d, dword [r12 + 0x3c]
lea rdx, [rsp + 0x260]
lea rsi, [rsp + 0x2e0]
mov ecx, 0xe
mov rdi, rdx
rep movsq qword [rdi], qword [rsi]
mov rcx, r12
mov r8, r15
mov r9, r14
call fcn.004fc911
mov eax, dword [r12]
cmp eax, 0x1f
jne 0x4fb4ac
lea rcx, [rsp + 0xb4]
movups xmm0, xmmword [rsp + 0x38]
movups xmm1, xmmword [rsp + 0x48]
movups xmm2, xmmword [rsp + 0x58]
movups xmmword [rsp + 0x114], xmm2
movups xmmword [rsp + 0x104], xmm1
movups xmmword [rsp + 0xf4], xmm0
mov eax, dword [rsp + 0x68]
mov edx, dword [rsp + 0x6c]
movaps xmmword [rsp + 0x1d0], xmm0
movaps xmmword [rsp + 0x1e0], xmm1
movaps xmmword [rsp + 0x1f0], xmm2
movaps xmm0, xmmword [rsp + 0x130]
movaps xmm1, xmmword [rsp + 0x140]
movaps xmm2, xmmword [rsp + 0x150]
movaps xmmword [rsp + 0x220], xmm2
movaps xmmword [rsp + 0x210], xmm1
movaps xmmword [rsp + 0x200], xmm0
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
movups xmm2, xmmword [rcx + 0x20]
movaps xmmword [rsp + 0x250], xmm2
movaps xmmword [rsp + 0x240], xmm1
movaps xmmword [rsp + 0x230], xmm0
cmp ebp, eax
jbe 0x4fb549
movaps xmm0, xmmword [rsp + 0x200]
movaps xmm1, xmmword [rsp + 0x210]
movaps xmm2, xmmword [rsp + 0x220]
lea r9, [rsp + 0x260]
movaps xmmword [r9 + 0x20], xmm2
movaps xmmword [r9 + 0x10], xmm1
movaps xmmword [r9], xmm0
mov dword [rsp + 0x30], 2
mov qword [rsp + 0x20], r12
mov rcx, rbx
mov rdx, r15
mov r8, r14
call fcn.004fa9af
jmp 0x4fafc6
lea rax, [rsp + 0x34]
lea rdx, [rsp + 0x260]
mov ecx, 0x1d
mov rdi, rdx
mov rsi, rax
rep movsd dword [rdi], dword [rsi]
mov rax, qword [rax + 0x74]
lea rdi, [rbx + 4]
mov ecx, 0x1d
mov rsi, rdx
rep movsd dword [rdi], dword [rsi]
mov dword [rbx], r8d
mov qword [rbx + 0x78], rax
jmp 0x4faf7a
mov ecx, dword [rsp + 0x64]
mov dword [rsp + 0xe0], ecx
movups xmm0, xmmword [rsp + 0x34]
movups xmm1, xmmword [rsp + 0x44]
movups xmm2, xmmword [rsp + 0x54]
movaps xmmword [rsp + 0xd0], xmm2
movaps xmmword [rsp + 0xc0], xmm1
movaps xmmword [rsp + 0xb0], xmm0
mov rcx, qword [rsp + 0x68]
movups xmm0, xmmword [rsp + 0xa0]
movups xmmword [rbx + 0x70], xmm0
movups xmm0, xmmword [rsp + 0x90]
movups xmmword [rbx + 0x60], xmm0
movups xmm0, xmmword [rsp + 0x80]
movups xmmword [rbx + 0x50], xmm0
movups xmm0, xmmword [rsp + 0x70]
movups xmmword [rbx + 0x40], xmm0
mov edx, dword [rsp + 0xe0]
mov dword [rbx + 0x34], edx
movaps xmm0, xmmword [rsp + 0xb0]
movaps xmm1, xmmword [rsp + 0xc0]
movaps xmm2, xmmword [rsp + 0xd0]
movups xmmword [rbx + 0x24], xmm2
movups xmmword [rbx + 0x14], xmm1
movups xmmword [rbx + 4], xmm0
mov dword [rbx], eax
mov qword [rbx + 0x38], rcx
mov dword [rbx + 0x98], 0x110008
lea rcx, [rsp + 0x2e0]
jmp 0x4faf8c
mov ecx, dword [rsp + 0x64]
mov dword [rsp + 0x120], ecx
movups xmm0, xmmword [rsp + 0x34]
movups xmm1, xmmword [rsp + 0x44]
movups xmm2, xmmword [rsp + 0x54]
movaps xmmword [rsp + 0x110], xmm2
movaps xmmword [rsp + 0x100], xmm1
movaps xmmword [rsp + 0xf0], xmm0
mov rcx, qword [rsp + 0x68]
movups xmm0, xmmword [rsp + 0xa0]
movups xmmword [rbx + 0x70], xmm0
movups xmm0, xmmword [rsp + 0x90]
movups xmmword [rbx + 0x60], xmm0
movups xmm0, xmmword [rsp + 0x80]
movups xmmword [rbx + 0x50], xmm0
movups xmm0, xmmword [rsp + 0x70]
movups xmmword [rbx + 0x40], xmm0
mov edx, dword [rsp + 0x120]
mov dword [rbx + 0x34], edx
movaps xmm0, xmmword [rsp + 0xf0]
movaps xmm1, xmmword [rsp + 0x100]
movaps xmm2, xmmword [rsp + 0x110]
movups xmmword [rbx + 0x24], xmm2
movups xmmword [rbx + 0x14], xmm1
movups xmmword [rbx + 4], xmm0
mov dword [rbx], eax
mov qword [rbx + 0x38], rcx
jmp 0x4fafc6
lea rsi, [rsp + 0x200]
mov ecx, 0xc
mov rdi, rbx
rep movsq qword [rdi], qword [rsi]
movaps xmm0, xmmword [rsp + 0x1d0]
movaps xmm1, xmmword [rsp + 0x1e0]
movaps xmm2, xmmword [rsp + 0x1f0]
movups xmmword [rbx + 0x88], xmm2
movups xmmword [rbx + 0x78], xmm1
movups xmmword [rbx + 0x68], xmm0
mov dword [rbx + 0x60], ebp
mov dword [rbx + 0x64], r13d
mov dword [rbx + 0x98], eax
mov dword [rbx + 0x9c], edx
jmp 0x4fafd0