Function at 0x1402d0260
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, 0x398
movaps xmmword [rsp + 0x380], xmm7
movaps xmmword [rsp + 0x370], xmm6
mov qword [rsp + 0x58], r8
mov qword [rsp + 0x40], rdx
mov rdi, rcx
mov rax, qword [0x1403e4018]
xor rax, rsp
mov qword [rsp + 0x368], rax
mov rsi, qword [rcx]
lea rcx, [rsp + 0x180]
mov r8d, 0x1e8
mov dl, 0xaa
call fcn.14031b780
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0xb0], rax
movaps xmm6, xmmword [0x1403bc150]
movaps xmmword [rsp + 0xa0], xmm6
movaps xmmword [rsp + 0x90], xmm6
mov qword [rsp + 0x130], rax
movaps xmmword [rsp + 0x120], xmm6
movaps xmmword [rsp + 0x110], xmm6
movaps xmmword [rsp + 0x100], xmm6
mov rax, qword [rdi + 8]
mov qword [rsp + 0x68], rdi
mov rdx, qword [rdi + 0x10]
mov r8, qword [rax + 0x20]
mov qword [rsp + 0x78], rax
movsxd rcx, dword [rax + 0x14]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x160], xmm0
movaps xmmword [rsp + 0x150], xmm0
movaps xmmword [rsp + 0x140], xmm0
mov qword [rsp + 0x170], 0
mov rax, qword [rsi + 8]
mov qword [rsp + 0x38], rdx
movzx edx, byte [rdx + 0x10]
imul rdx, rdx, 0x68
test byte [rax + rdx + 0x44], 0x10
jne 0x1402d08d0
test ecx, ecx
mov esi, 0
jle 0x1402d08d6
imul r9, rcx, 0x38
add r9, r8
mov ecx, dword [rax + rdx + 0x4c]
mov dword [rsp + 0x4c], ecx
add rax, 8
add rax, rdx
add rax, 0x20
mov qword [rsp + 0x80], rax
lea r12, [rsp + 0x148]
mov rax, qword [rsp + 0x38]
add rax, 0x18
mov qword [rsp + 0x70], rax
xor r14d, r14d
lea rbp, str._n_n_t_t_b_b_a_a_a
xorps xmm7, xmm7
mov qword [rsp + 0x30], r9
test byte [r8 + 0x15], 2
je 0x1402d0802
mov rax, qword [r8 + 0x20]
mov rcx, qword [rsp + 0x38]
mov rcx, qword [rcx + 8]
test qword [rax + 0x1e8], rcx
je 0x1402d0802
movsxd rcx, dword [rax + 0x14]
imul rdx, rcx, 0x38
add rdx, qword [rax + 0x20]
mov rcx, qword [rsp + 0x68]
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
movaps xmmword [rsp + 0xa0], xmm1
mov rcx, qword [rcx + 0x20]
mov qword [rsp + 0xb0], rcx
movaps xmmword [rsp + 0x90], xmm0
lea rcx, [rsp + 0x100]
mov qword [rsp + 0xa8], rcx
mov r10, qword [rax + 0x20]
xor ecx, ecx
mov qword [rsp + 0x88], rdx
cmp r10, rdx
jae 0x1402d0837
mov rax, r10
mov qword [rsp + 0x50], r8
xor ecx, ecx
mov ebx, 1
mov rdx, r10
test byte [rdx + 0x15], 4
jne 0x1402d04a1
mov eax, dword [rsp + 0x4c]
cmp dword [rdx + 0x1c], eax
jne 0x1402d07e5
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
mov qword [rsp + 0x180], rax
mov qword [rsp + 0x188], rcx
mov byte [rsp + 0x190], 0x2a
mov eax, 1
mov dword [rsp + 0x194], eax
mov dword [rsp + 0x19c], eax
mov qword [rsp + 0x1a0], rdx
lea rax, [rsp + 0x180]
jmp 0x1402d04a5
mov rax, qword [rdx + 0x20]
mov qword [rsp + 0x60], rdx
mov qword [rsp + 0x98], rax
mov word [rsp + 0x100], 0
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
cmp byte [rax + 0x3f], 1
jne 0x1402d04e6
lea rcx, [rsp + 0x90]
mov rdx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x58]
call fcn.1402ceff0
jmp 0x1402d04f8
lea rcx, [rsp + 0x90]
mov rdx, qword [rsp + 0x40]
call fcn.1402cfad0
mov ecx, eax
test eax, eax
jne 0x1402d0517
lea rcx, [rsp + 0x90]
mov rdx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x58]
call fcn.1402d0260
mov ecx, eax
movzx r8d, word [rsp + 0x100]
test r8, r8
je 0x1402d0820
mov dword [rsp + 0x2c], ecx
test ebx, ebx
jne 0x1402d07bd
movaps xmmword [rsp + 0xc0], xmm6
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0xf0], rax
movaps xmmword [rsp + 0xe0], xmm6
movaps xmmword [rsp + 0xd0], xmm6
movzx ebx, word [rsp + 0x140]
mov word [rsp + 0xc0], bx
mov r8, rbx
shl r8, 4
lea rcx, [rsp + 0xc8]
mov rdx, r12
call fcn.14031b320
mov word [rsp + 0x140], 0
test rbx, rbx
je 0x1402d07da
mov r8w, 1
xor eax, eax
test r8w, r8w
je 0x1402d07a9
mov rcx, rax
shl rcx, 4
add rcx, rsp
add rcx, 0xc8
xor edx, edx
mov r9, rdx
shl r9, 4
movzx ebx, word [rsp + r9 + 0x112]
movzx r8d, word [rcx + 0xa]
movsx r10d, r8w
movsx r11d, bx
cmp r10w, r11w
jge 0x1402d05f9
lea r8d, [r10 + 0x31]
cmp r8d, r11d
jl 0x1402d05f4
lea r8d, [r10 + 0x1f]
cmp r8d, r11d
jge 0x1402d0610
inc ebx
mov r8d, ebx
jmp 0x1402d063a
lea esi, [r11 + 0x31]
cmp esi, r10d
jl 0x1402d063a
lea esi, [r11 + 0x1f]
cmp esi, r10d
jge 0x1402d0626
inc r8d
jmp 0x1402d063a
mov r8d, r11d
sub r8d, r10d
movsxd r8, r8d
movzx r8d, byte [r8 + rbp]
add r11d, r8d
mov r8d, r11d
jmp 0x1402d063a
mov r8d, r10d
sub r8d, r11d
movsxd r8, r8d
movzx r8d, byte [r8 + rbp]
add r10d, r8d
mov r8d, r10d
movzx r15d, word [rsp + r9 + 0x110]
movzx r10d, word [rcx + 8]
movsx r11d, r10w
movsx ebx, r15w
cmp r11w, bx
jge 0x1402d0670
lea r10d, [r11 + 0x31]
cmp r10d, ebx
jl 0x1402d066b
lea r10d, [r11 + 0x1f]
cmp r10d, ebx
jge 0x1402d0685
inc r15d
mov r10d, r15d
jmp 0x1402d06af
lea esi, [rbx + 0x31]
cmp esi, r11d
jl 0x1402d06af
lea esi, [rbx + 0x1f]
cmp esi, r11d
jge 0x1402d069b
inc r10d
jmp 0x1402d06af
mov r10d, ebx
sub r10d, r11d
movsxd r10, r10d
movzx r10d, byte [r10 + rbp]
add ebx, r10d
mov r10d, ebx
jmp 0x1402d06af
mov r10d, r11d
sub r10d, ebx
movsxd r10, r10d
movzx r10d, byte [r10 + rbp]
add r11d, r10d
mov r10d, r11d
add r9, rsp
add r9, 0x108
mov r9, qword [r9]
or r9, qword [rcx]
movzx r11d, word [rsp + 0x140]
test r11, r11
je 0x1402d070a
mov rbx, r12
mov r13d, r11d
movzx esi, word [rbx + 8]
cmp si, r10w
jl 0x1402d06e8
mov rdi, qword [rbx]
not rdi
test r9, rdi
je 0x1402d072a
cmp si, r10w
jg 0x1402d06f9
mov rsi, r9
not rsi
test qword [rbx], rsi
je 0x1402d073e
add rbx, 0x10
dec r13w
jne 0x1402d06d3
cmp r11w, 3
jae 0x1402d0755
lea esi, [r11 + 1]
mov word [rsp + 0x140], si
shl r11, 4
lea rbx, [rsp + r11]
add rbx, 0x148
mov word [rbx + 0xa], r8w
mov qword [rbx], r9
mov word [rbx + 8], r10w
cmp word [rbx + 0xa], r8w
jle 0x1402d073e
mov word [rbx + 0xa], r8w
inc rdx
movzx r8d, word [rsp + 0x100]
cmp rdx, r8
jb 0x1402d05bd
jmp 0x1402d079f
lea r15, [r11 - 1]
lea rsi, [rsp + 0x158]
mov rbx, r12
mov r13, rbx
movzx edi, word [rbx + 8]
movzx r14d, word [rsi + 8]
mov rbx, rsi
cmp di, r14w
jg 0x1402d077c
mov rbx, r13
add rsi, 0x10
dec r15
jne 0x1402d0764
shl r11, 4
cmp di, r14w
lea r11, [r11 + r12 - 0x10]
cmovg r13, r11
cmp word [r13 + 8], r10w
jg 0x1402d072a
jmp 0x1402d073e
movzx ebx, word [rsp + 0xc0]
jmp 0x1402d07ac
xor r8d, r8d
inc rax
movzx ecx, bx
cmp rax, rcx
jb 0x1402d05a0
jmp 0x1402d07da
mov word [rsp + 0x140], r8w
shl r8, 4
mov rcx, r12
lea rdx, [rsp + 0x108]
call fcn.14031b320
xor ebx, ebx
mov ecx, dword [rsp + 0x2c]
mov rdx, qword [rsp + 0x60]
add rdx, 0x38
cmp rdx, qword [rsp + 0x88]
jb 0x1402d0449
movzx r14d, word [rsp + 0x140]
jmp 0x1402d082d
xor eax, eax
add r8, 0x38
cmp r8, r9
jae 0x1402d08d4
test eax, eax
mov esi, eax
je 0x1402d03b7
jmp 0x1402d08d6
mov word [rsp + 0x140], 0
xor r14d, r14d
mov r8, qword [rsp + 0x50]
mov r9, qword [rsp + 0x30]
mov edx, ecx
mov rcx, qword [rsp + 0x38]
mov word [rcx + 0x3c], 1
mov rax, qword [rcx + 0x48]
mov qword [rax], r8
mov dword [rcx + 0x38], 0x2000
mov word [rcx + 0x12], 0
mov byte [rcx + 0x11], 0
mov eax, edx
mov rcx, qword [rsp + 0x70]
movups xmmword [rcx + 0x10], xmm7
movups xmmword [rcx], xmm7
test edx, edx
jne 0x1402d0804
test r14w, r14w
je 0x1402d0804
mov rsi, r8
movzx edi, r14w
mov r13d, 1
lea rbx, [rsp + 0x152]
mov eax, dword [rbx - 2]
inc eax
mov rdx, qword [rsp + 0x38]
mov word [rdx + 0x14], ax
movzx eax, word [rbx]
mov word [rdx + 0x16], ax
mov rax, qword [rbx - 0xa]
mov qword [rdx], rax
mov rcx, qword [rsp + 0x68]
call fcn.1402d1190
test eax, eax
jne 0x1402d08c3
lea rcx, [r13 + 1]
add rbx, 0x10
cmp r13, rdi
mov r13, rcx
jb 0x1402d0889
mov r8, rsi
mov r9, qword [rsp + 0x30]
jmp 0x1402d0804
xor esi, esi
jmp 0x1402d08d6
mov esi, eax
mov rcx, qword [rsp + 0x368]
xor rcx, rsp
call fcn.140319a10
mov eax, esi
movaps xmm6, xmmword [rsp + 0x370]
movaps xmm7, xmmword [rsp + 0x380]
add rsp, 0x398
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret