Function at 0x1401d3470
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, 0x388
movaps xmmword [rsp + 0x370], xmm7
movaps xmmword [rsp + 0x360], xmm6
mov qword [rsp + 0x68], r8
mov r12, rdx
mov rbx, rcx
mov rax, qword [0x140516040]
xor rax, rsp
mov qword [rsp + 0x358], rax
mov rdi, qword [rcx]
lea rcx, [rsp + 0x170]
mov r8d, 0x1e8
mov dl, 0xaa
call fcn.1402d9b60
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0xa0], rax
movaps xmm6, xmmword [0x140484a40]
movaps xmmword [rsp + 0x90], xmm6
movaps xmmword [rsp + 0x80], xmm6
mov qword [rsp + 0x120], rax
movaps xmmword [rsp + 0x110], xmm6
movaps xmmword [rsp + 0x100], xmm6
movaps xmmword [rsp + 0xf0], xmm6
mov r14, qword [rbx + 8]
mov r15, qword [rbx + 0x10]
mov rsi, qword [r14 + 0x20]
movsxd rax, dword [r14 + 0x14]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x150], xmm0
movaps xmmword [rsp + 0x140], xmm0
movaps xmmword [rsp + 0x130], xmm0
mov qword [rsp + 0x160], 0
mov rcx, qword [rdi + 8]
movzx edx, byte [r15 + 0x10]
imul rdx, rdx, 0x68
xor r13d, r13d
test byte [rcx + rdx + 0x44], 0x10
jne 0x1401d35a8
mov qword [rsp + 0x78], r12
test eax, eax
jle 0x1401d35a8
imul r12, rax, 0x38
add r12, rsi
add rdx, rcx
add rdx, 8
mov r8d, dword [rdx + 0x44]
lea r9, [r15 + 0x18]
xor ebp, ebp
lea r10, [rsp + 0xf0]
mov r11d, 1
xorps xmm7, xmm7
test byte [rsi + 0x15], 2
jne 0x1401d35e9
xor r13d, r13d
add rsi, 0x38
cmp rsi, r12
jae 0x1401d35a8
test r13d, r13d
je 0x1401d3591
mov rcx, qword [rsp + 0x358]
xor rcx, rsp
cmp rcx, qword [0x140516040]
je 0x1401d35c2
call fcn.14029bbb0
int3
mov eax, r13d
movaps xmm6, xmmword [rsp + 0x360]
movaps xmm7, xmmword [rsp + 0x370]
add rsp, 0x388
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov qword [rsp + 0x48], r9
mov rax, qword [rsi + 0x20]
mov rcx, qword [r15 + 8]
test qword [rax + 0x1e8], rcx
je 0x1401d399a
movsxd rcx, dword [rax + 0x14]
imul r9, rcx, 0x38
add r9, qword [rax + 0x20]
movups xmm0, xmmword [rbx]
movups xmm1, xmmword [rbx + 0x10]
movaps xmmword [rsp + 0x90], xmm1
mov rcx, qword [rbx + 0x20]
mov qword [rsp + 0xa0], rcx
movaps xmmword [rsp + 0x80], xmm0
mov qword [rsp + 0x98], r10
mov rdi, qword [rax + 0x20]
mov qword [rsp + 0x40], r9
cmp rdi, r9
mov qword [rsp + 0x50], rdx
mov dword [rsp + 0x34], r8d
jae 0x1401d3989
xor r13d, r13d
mov dword [rsp + 0x28], 1
test byte [rdi + 0x15], 4
mov rbp, qword [rsp + 0x78]
jne 0x1401d3991
cmp dword [rdi + 0x1c], r8d
jne 0x1401d395d
mov rax, qword [r14]
mov qword [rsp + 0x170], rax
mov qword [rsp + 0x178], r14
mov byte [rsp + 0x180], 0x2a
mov dword [rsp + 0x184], r11d
mov dword [rsp + 0x18c], r11d
mov qword [rsp + 0x190], rdi
lea rax, [rsp + 0x170]
mov qword [rsp + 0x88], rax
mov word [rsp + 0xf0], 0
mov rax, qword [rdx + 0x20]
cmp byte [rax + 0x3f], 1
je 0x1401d39a7
lea rcx, [rsp + 0x80]
mov rdx, rbp
call fcn.1401d2c50
mov r13d, eax
test eax, eax
jne 0x1401d3704
lea rcx, [rsp + 0x80]
mov rdx, rbp
mov r8, qword [rsp + 0x68]
call fcn.1401d3470
mov r13d, eax
movzx ebp, word [rsp + 0xf0]
test rbp, rbp
jne 0x1401d3828
mov word [rsp + 0x130], 0
xor ebp, ebp
mov rdx, qword [rsp + 0x50]
mov r8d, dword [rsp + 0x34]
mov r11d, 1
mov word [r15 + 0x3c], 1
mov rax, qword [r15 + 0x48]
mov qword [rax], rsi
mov dword [r15 + 0x38], 0x2000
mov word [r15 + 0x12], 0
mov byte [r15 + 0x11], 0
mov r9, qword [rsp + 0x48]
movups xmmword [r9 + 0x10], xmm7
movups xmmword [r9], xmm7
test r13d, r13d
sete al
test bp, bp
setne cl
and cl, al
cmp cl, 1
lea r10, [rsp + 0xf0]
jne 0x1401d359a
movzx eax, bp
mov qword [rsp + 0x28], rax
mov eax, 1
mov qword [rsp + 0x40], rax
lea rdi, [rsp + 0x142]
mov eax, dword [rdi - 2]
inc eax
mov word [r15 + 0x14], ax
movzx eax, word [rdi]
mov word [r15 + 0x16], ax
mov rax, qword [rdi - 0xa]
mov qword [r15], rax
mov rcx, rbx
mov rdx, r15
call fcn.1401d39d0
mov r13d, eax
test eax, eax
jne 0x1401d37de
mov rcx, qword [rsp + 0x40]
lea rax, [rcx + 1]
add rdi, 0x10
cmp rcx, qword [rsp + 0x28]
mov qword [rsp + 0x40], rax
jb 0x1401d379a
mov rdx, qword [rsp + 0x50]
mov r8d, dword [rsp + 0x34]
mov r9, qword [rsp + 0x48]
lea r10, [rsp + 0xf0]
mov r11d, 1
jmp 0x1401d359a
mov word [rsp + 0x130], bp
shl ebp, 4
lea rcx, [rsp + 0x138]
lea rdx, [rsp + 0xf8]
mov r8, rbp
call fcn.1402d94c0
jmp 0x1401d3955
cmp dword [rsp + 0x28], 0
jne 0x1401d3800
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0xe0], rax
movaps xmmword [rsp + 0xd0], xmm6
movaps xmmword [rsp + 0xc0], xmm6
movaps xmmword [rsp + 0xb0], xmm6
movzx r8d, word [rsp + 0x130]
mov qword [rsp + 0x60], r8
shl r8d, 4
lea rcx, [rsp + 0xb8]
lea rdx, [rsp + 0x138]
call fcn.1402d94c0
mov word [rsp + 0x130], 0
cmp dword [rsp + 0x60], 0
je 0x1401d3955
shl ebp, 4
mov qword [rsp + 0x58], 0
mov rax, qword [rsp + 0x58]
shl rax, 4
lea rcx, [rsp + 0xb8]
movzx edx, word [rcx + rax + 0xa]
mov word [rsp + 0x3c], dx
movzx edx, word [rcx + rax + 8]
mov word [rsp + 0x3a], dx
mov rax, qword [rcx + rax]
mov qword [rsp + 0x70], rax
xor eax, eax
mov qword [rsp + 0x28], rax
movzx edx, word [rsp + rax + 0x102]
movzx ecx, word [rsp + 0x3c]
call fcn.140421db0
mov word [rsp + 0x3e], ax
mov rax, qword [rsp + 0x28]
movzx edx, word [rsp + rax + 0x100]
movzx ecx, word [rsp + 0x3a]
call fcn.140421db0
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + rcx + 0xf8]
or rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x130]
mov r8d, eax
movzx r9d, word [rsp + 0x3e]
call fcn.140424690
mov rcx, qword [rsp + 0x28]
add rcx, 0x10
mov rax, rcx
cmp rbp, rcx
jne 0x1401d38d1
mov rcx, qword [rsp + 0x58]
inc rcx
mov qword [rsp + 0x58], rcx
cmp rcx, qword [rsp + 0x60]
jne 0x1401d38a1
mov dword [rsp + 0x28], 0
add rdi, 0x38
cmp rdi, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x50]
mov r8d, dword [rsp + 0x34]
mov r11d, 1
jb 0x1401d3661
movzx ebp, word [rsp + 0x130]
jmp 0x1401d3731
xor r13d, r13d
jmp 0x1401d3731
mov rax, qword [rdi + 0x20]
jmp 0x1401d36b5
xor r13d, r13d
mov r9, qword [rsp + 0x48]
jmp 0x1401d359a
lea rcx, [rsp + 0x80]
mov rdx, rbp
mov r8, qword [rsp + 0x68]
call fcn.1404235b0
jmp 0x1401d36e5