Function at 0x1400bbf40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov r11, rsp
push rbx
push r12
sub rsp, 0x288
mov rax, qword [0x1401cd5c0]
xor rax, rsp
mov qword [rsp + 0x250], rax
lea rax, [rcx + 0x660]
mov qword [rsp + 0x90], rdx
mov qword [rsp + 0xa8], rax
mov rbx, rdx
mov rax, qword [rcx]
mov r10, rcx
mov qword [rsp + 0x58], rcx
movsxd r8, dword [rax + 0xc]
lea rax, [0x14016d440]
lea r12, [rax + r8*8]
mov eax, dword [rax + r8*8]
mov qword [rsp + 0x48], r12
cmp eax, 0x2f7
je 0x1400bc853
mov qword [r11 + 0x18], rbp
lea rcx, [0x14016d140]
mov qword [r11 - 0x18], rsi
mov qword [r11 - 0x20], rdi
mov qword [r11 - 0x28], r13
mov qword [r11 - 0x30], r14
mov qword [r11 - 0x38], r15
mov r15d, 2
nop dword [rax]
xor esi, esi
movsxd r9, eax
add r9, rcx
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x30], esi
movzx eax, byte [r9]
test al, al
je 0x1400bc80a
nop dword [rax]
inc r9
movzx edx, al
mov qword [rsp + 0xa0], r9
cmp edx, 0x80
jb 0x1400bc053
cmp edx, 0xe0
jae 0x1400bc019
mov r8d, 1
and edx, 0x1f
jmp 0x1400bc032
cmp edx, 0xf0
jae 0x1400bc029
mov r8d, r15d
and edx, 0xf
jmp 0x1400bc032
mov r8d, 3
and edx, 7
movsx ecx, byte [r9]
mov eax, edx
and ecx, 0x3f
shl eax, 6
mov edx, ecx
inc r9
or edx, eax
add r8d, 0xffffffff
jne 0x1400bc032
mov qword [rsp + 0xa0], r9
mov rax, qword [r10 + 0x30]
mov rcx, qword [rax]
call fcn.1400afdf0
test eax, eax
je 0x1400bc640
mov r8d, 1
mov edx, eax
mov rcx, rbx
call fcn.1400b09f0
mov rcx, qword [rbx + 0x78]
movups xmm0, xmmword [rcx + 0x98]
movups xmm1, xmmword [rcx + 0xa8]
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm1
test eax, eax
jne 0x1400bc640
mov rax, qword [rsp + 0x60]
shr rax, 0x10
cmp ax, 2
jle 0x1400bc640
movsx rsi, word [rsp + 0x60]
xor edx, edx
or r8d, 0xffffffff
mov dword [rsp + 0x24], edx
xor edi, edi
xor r15d, r15d
xor r10d, r10d
xor r11d, r11d
test rsi, rsi
jle 0x1400bc621
mov rbp, qword [rsp + 0x78]
mov r14, qword [rsp + 0x68]
nop dword [rax]
movsx r9d, word [rbp + r11*2]
mov ebx, r8d
cmp r9d, r10d
jle 0x1400bc17e
test byte [r12 + 4], 1
je 0x1400bc136
mov edx, r10d
cmp r10d, r9d
jg 0x1400bc17a
mov rcx, qword [rsp + 0x68]
movsxd rax, r10d
lea rcx, [rcx + rax*8]
add rcx, 4
test r8d, r8d
js 0x1400bc11b
cmp dword [rcx], edi
jle 0x1400bc120
mov edi, dword [rcx]
mov r8d, edx
inc edx
add rcx, 8
cmp edx, r9d
jle 0x1400bc112
mov r14, qword [rsp + 0x68]
mov edx, dword [rsp + 0x24]
jmp 0x1400bc169
mov ecx, r10d
cmp r10d, r9d
jg 0x1400bc17e
movsxd rax, r10d
lea rax, [rax*8 + 4]
add rax, r14
nop dword [rax]
test r8d, r8d
js 0x1400bc159
cmp dword [rax], edi
jge 0x1400bc15e
mov edi, dword [rax]
mov r8d, ecx
inc ecx
add rax, 8
cmp ecx, r9d
jle 0x1400bc150
cmp r8d, ebx
je 0x1400bc17e
mov edx, r10d
mov r15d, r9d
mov dword [rsp + 0x24], edx
jmp 0x1400bc17e
mov edx, dword [rsp + 0x24]
inc r11
lea r10d, [r9 + 1]
cmp r11, rsi
jl 0x1400bc0e0
mov dword [rsp + 0x3c], r15d
test r8d, r8d
js 0x1400bc621
mov rax, qword [rsp + 0x68]
mov r12, qword [rsp + 0x70]
movsxd r14, r8d
mov dword [rsp + 0x20], r8d
mov ebx, dword [rax + r14*8]
movzx eax, byte [r14 + r12]
and al, 3
cmp al, 1
jne 0x1400bc1c5
mov esi, r8d
mov ebp, r8d
jmp 0x1400bc1ca
or esi, 0xffffffff
or ebp, esi
mov r13, qword [rsp + 0x68]
mov r10, r14
mov r14d, dword [rsp + 0x3c]
mov ecx, r8d
movsxd r15, r15d
mov r11d, r8d
mov qword [rsp + 0x88], r15
cmp ecx, edx
jle 0x1400bc1f3
dec ecx
dec r10
jmp 0x1400bc1f9
mov ecx, r14d
mov r10, r15
mov edx, dword [r13 + r10*8 + 4]
mov eax, edx
sub eax, edi
jns 0x1400bc208
mov eax, edi
sub eax, edx
cmp eax, 5
jle 0x1400bc228
mov r9d, dword [r13 + r10*8]
mov edx, r9d
sub edx, ebx
jns 0x1400bc21e
mov edx, ebx
sub edx, r9d
lea eax, [rax + rax*4]
shl eax, 2
cmp edx, eax
jle 0x1400bc247
movzx eax, byte [r10 + r12]
and al, 3
mov dword [rsp + 0x20], ecx
cmp al, 1
jne 0x1400bc23e
test ebp, ebp
mov esi, ecx
cmovs ebp, ecx
mov edx, dword [rsp + 0x24]
cmp ecx, r8d
jne 0x1400bc1e8
movsxd r10, dword [rsp + 0x24]
mov r14d, dword [rsp + 0x24]
mov dword [rsp + 0x38], ebp
mov ebp, r8d
mov qword [rsp + 0x98], r10
movsxd rdx, r8d
cmp rdx, r15
jge 0x1400bc270
inc r11d
inc rdx
jmp 0x1400bc276
mov r11d, r14d
mov rdx, r10
mov ecx, dword [r13 + rdx*8 + 4]
mov eax, ecx
sub eax, edi
jns 0x1400bc285
mov eax, edi
sub eax, ecx
cmp eax, 5
jle 0x1400bc2a5
mov r9d, dword [r13 + rdx*8]
mov ecx, r9d
sub ecx, ebx
jns 0x1400bc29b
mov ecx, ebx
sub ecx, r9d
lea eax, [rax + rax*4]
shl eax, 2
cmp ecx, eax
jle 0x1400bc2c3
movzx eax, byte [rdx + r12]
mov ebp, r11d
and al, 3
cmp al, 1
jne 0x1400bc2be
test esi, esi
mov dword [rsp + 0x38], r11d
cmovs esi, r11d
cmp r11d, r8d
jne 0x1400bc263
mov rax, qword [rsp + 0x48]
mov dword [rsp + 0x2c], ebp
mov dword [rsp + 0x34], esi
mov dword [rsp + 0x50], r11d
movzx r9d, word [rax + 4]
mov word [rsp + 0x28], r9w
movsxd r14, r8d
test r9b, 8
je 0x1400bc57c
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x68]
movsxd r11, ebp
mov r13d, dword [rax + 0x38]
mov eax, 0x51eb851f
mul r13d
mov r9d, dword [rcx + r11*8]
mov eax, r9d
mov r12d, edx
movsxd rdx, dword [rsp + 0x20]
shr r12d, 3
mov dword [rsp + 0x44], r12d
mov ecx, dword [rcx + rdx*8]
sub eax, ecx
jns 0x1400bc32a
sub ecx, r9d
jmp 0x1400bc32c
mov ecx, eax
cmp ecx, r12d
jge 0x1400bc58b
mov eax, dword [rsp + 0x3c]
mov ecx, ebp
sub eax, dword [rsp + 0x24]
sub ecx, edx
add ecx, 2
cmp ecx, eax
jg 0x1400bc58b
mov r9, qword [rsp + 0x88]
xor esi, esi
mov r12, qword [rsp + 0x68]
mov ecx, r8d
mov ebp, dword [rsp + 0x3c]
mov rax, r14
shr r13d, 2
xor r15d, r15d
nop dword [rax]
cmp rax, r10
jle 0x1400bc37c
dec ecx
dec rax
jmp 0x1400bc381
mov ecx, ebp
mov rax, r9
mov edx, dword [r12 + rax*8]
cmp edx, ebx
jne 0x1400bc38e
cmp rax, r14
jne 0x1400bc370
mov r12d, dword [rsp + 0x44]
mov ebp, dword [rsp + 0x2c]
cmp ecx, r8d
je 0x1400bc636
cmp edx, ebx
mov dword [rsp + 0x44], ebp
mov edx, dword [rsp + 0x20]
mov r8d, ebp
setl r14b
mov rbp, r11
xor bl, bl
mov r9, qword [rsp + 0x70]
test bl, bl
jne 0x1400bc3e2
movzx eax, byte [r11 + r9]
mov rbp, r11
and al, 3
mov dword [rsp + 0x44], r8d
cmp al, 1
jne 0x1400bc3da
mov esi, r8d
mov r15d, r8d
jmp 0x1400bc3e0
or esi, 0xffffffff
or r15d, esi
mov bl, 1
cmp r11, qword [rsp + 0x88]
jge 0x1400bc3f4
inc r8d
inc r11
jmp 0x1400bc3fc
mov r8d, dword [rsp + 0x24]
mov r11, r10
mov rax, qword [rsp + 0x68]
mov r10d, dword [rax + rbp*8 + 4]
mov eax, edi
sub eax, r10d
jns 0x1400bc412
mov eax, r10d
sub eax, edi
cmp eax, r13d
jle 0x1400bc41e
xor bl, bl
jmp 0x1400bc4a4
mov rdx, qword [rsp + 0x68]
mov ecx, dword [rdx + r11*8 + 4]
mov eax, ecx
sub eax, r10d
jns 0x1400bc434
sub r10d, ecx
jmp 0x1400bc437
mov r10d, eax
cmp r10d, 5
jle 0x1400bc469
mov rax, qword [rsp + 0x68]
mov edx, dword [rdx + r11*8]
mov ecx, dword [rax + rbp*8]
mov eax, edx
sub eax, ecx
jns 0x1400bc453
sub ecx, edx
jmp 0x1400bc455
mov ecx, eax
lea eax, [r10 + r10*4]
shl eax, 2
cmp ecx, eax
jg 0x1400bc464
xor bl, bl
jmp 0x1400bc4a0
mov rdx, qword [rsp + 0x68]
movzx eax, byte [r11 + r9]
and al, 3
cmp al, 1
jne 0x1400bc47d
test esi, esi
mov r15d, r8d
cmovs esi, r8d
mov eax, dword [rdx + rbp*8]
mov edx, dword [rdx + r11*8]
cmp eax, edx
mov ecx, edx
setl r9b
sub ecx, eax
jns 0x1400bc494
sub eax, edx
jmp 0x1400bc496
mov eax, ecx
cmp r9b, r14b
jne 0x1400bc4a0
cmp eax, r12d
jge 0x1400bc4ba
mov edx, dword [rsp + 0x20]
cmp r8d, edx
je 0x1400bc571
mov r10, qword [rsp + 0x98]
jmp 0x1400bc3b6
mov rcx, qword [rsp + 0x68]
movsxd rbp, dword [rsp + 0x44]
movsxd rax, dword [rsp + 0x50]
lea r9, [rcx + rbp*8]
mov edi, dword [r9 + 4]
mov r14, qword [rsp + 0x98]
mov r12, qword [rsp + 0x70]
mov r13d, dword [rsp + 0x20]
lea rbx, [rcx + rax*8]
nop word [rax + rax]
cmp r11, qword [rsp + 0x88]
jge 0x1400bc502
inc r8d
inc r11
jmp 0x1400bc50a
mov r8d, dword [rsp + 0x24]
mov r11, r14
mov ecx, dword [rcx + r11*8 + 4]
mov eax, ecx
sub eax, edi
jns 0x1400bc519
mov eax, edi
sub eax, ecx
cmp eax, 5
jle 0x1400bc53a
mov edx, dword [rbx]
mov eax, edx
mov ecx, dword [r9]
sub eax, ecx
jns 0x1400bc52d
sub ecx, edx
jmp 0x1400bc52f
mov ecx, eax
lea eax, [r10 + r10*4]
shl eax, 2
cmp ecx, eax
jle 0x1400bc55a
movzx eax, byte [r11 + r12]
mov r15d, r8d
and al, 3
cmp al, 1
jne 0x1400bc54e
test esi, esi
cmovs esi, r8d
cmp r8d, r13d
je 0x1400bc56c
mov rcx, qword [rsp + 0x68]
jmp 0x1400bc4f0
cmp r8d, dword [rsp + 0x24]
lea eax, [r8 - 1]
mov r8d, dword [rsp + 0x3c]
cmovg r8d, eax
mov r13d, ebp
jmp 0x1400bc59d
mov esi, dword [rsp + 0x34]
mov r8d, dword [rsp + 0x2c]
jmp 0x1400bc58e
mov r15d, dword [rsp + 0x38]
mov r13d, dword [rsp + 0x20]
mov r8d, ebp
jmp 0x1400bc5a3
mov r8d, ebp
mov r15d, dword [rsp + 0x38]
mov r12, qword [rsp + 0x70]
mov r13d, dword [rsp + 0x20]
movzx r9d, word [rsp + 0x28]
test esi, esi
js 0x1400bc5d8
test r15d, r15d
js 0x1400bc5d8
mov rcx, qword [rsp + 0x68]
movsxd rax, r15d
mov edx, dword [rcx + rax*8]
movsxd rax, esi
mov ecx, dword [rcx + rax*8]
mov eax, edx
sub eax, ecx
jns 0x1400bc5c7
sub ecx, edx
jmp 0x1400bc5c9
mov ecx, eax
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x38]
shr eax, 3
cmp ecx, eax
ja 0x1400bc621
movsxd rax, r13d
movzx ecx, byte [rax + r12]
and cl, 3
cmp cl, 1
jne 0x1400bc5f8
movsxd rax, r8d
movzx ecx, byte [rax + r12]
and cl, 3
cmp cl, 1
je 0x1400bc621
mov esi, dword [rsp + 0x40]
mov r15d, 2
test r15b, r9b
jne 0x1400bc640
mov r11d, dword [rsp + 0x30]
mov eax, r11d
mov dword [rsp + r11*4 + 0x180], edi
inc r11d
mov dword [rsp + 0x30], r11d
jmp 0x1400bc645
mov esi, dword [rsp + 0x40]
mov eax, esi
mov dword [rsp + rsi*4 + 0xb0], edi
inc esi
mov dword [rsp + 0x40], esi
jmp 0x1400bc63a
mov esi, dword [rsp + 0x40]
mov r15d, 2
mov r11d, dword [rsp + 0x30]
mov r9, qword [rsp + 0xa0]
mov r12, qword [rsp + 0x48]
mov r10, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x90]
movzx eax, byte [r9]
test al, al
jne 0x1400bbff0
test esi, esi
jne 0x1400bc678
test r11d, r11d
je 0x1400bc803
mov r10d, 1
cmp r11d, r10d
jbe 0x1400bc6cd
mov edx, r10d
test r10d, r10d
je 0x1400bc6c5
mov eax, r10d
lea rcx, [rsp + 0x180]
lea rcx, [rcx + rax*4]
nop word [rax + rax]
mov r8d, dword [rcx]
dec edx
mov r9d, dword [rsp + rdx*4 + 0x180]
cmp r8d, r9d
jge 0x1400bc6c5
mov dword [rcx], r9d
sub rcx, 4
mov dword [rsp + rdx*4 + 0x180], r8d
test edx, edx
jne 0x1400bc6a0
inc r10d
cmp r10d, r11d
jb 0x1400bc683
mov r10d, 1
cmp esi, r10d
jbe 0x1400bc71d
mov edx, r10d
test r10d, r10d
je 0x1400bc715
mov eax, r10d
lea rcx, [rsp + 0xb0]
lea rcx, [rcx + rax*4]
nop
mov r8d, dword [rcx]
dec edx
mov r9d, dword [rsp + rdx*4 + 0xb0]
cmp r8d, r9d
jge 0x1400bc715
mov dword [rcx], r9d
sub rcx, 4
mov dword [rsp + rdx*4 + 0xb0], r8d
test edx, edx
jne 0x1400bc6f0
inc r10d
cmp r10d, esi
jb 0x1400bc6d8
mov rdi, qword [rsp + 0xa8]
mov ecx, dword [rdi + 0xd8]
lea r8, [rdi + 0xdc]
imul rax, rcx, 0x1c
add r8, rax
lea eax, [rcx + 1]
mov dword [rdi + 0xd8], eax
test esi, esi
jne 0x1400bc75c
mov eax, r11d
shr rax, 1
mov ecx, dword [rsp + rax*4 + 0x180]
mov dword [r8 + 0xc], ecx
mov dword [r8], ecx
jmp 0x1400bc791
mov eax, esi
shr rax, 1
test r11d, r11d
jne 0x1400bc776
mov ecx, dword [rsp + rax*4 + 0xb0]
mov dword [r8 + 0xc], ecx
mov dword [r8], ecx
jmp 0x1400bc791
mov eax, dword [rsp + rax*4 + 0xb0]
mov dword [r8], eax
mov eax, r11d
shr rax, 1
mov eax, dword [rsp + rax*4 + 0x180]
mov dword [r8 + 0xc], eax
mov edx, dword [r8]
cmp dword [r8 + 0xc], edx
je 0x1400bc7c6
mov r9d, dword [r8 + 0xc]
cmp r9d, edx
setg al
movzx ecx, al
movzx eax, word [r12 + 4]
and ax, 1
xor cx, ax
je 0x1400bc7c6
lea eax, [r9 + rdx]
cdq
sub eax, edx
sar eax, 1
mov dword [r8 + 0xc], eax
mov dword [r8], eax
mov dword [r8 + 0x18], 0
movzx eax, byte [r12 + 4]
mov ecx, dword [r8 + 0x18]
and al, 1
cmovne ecx, r15d
mov dword [r8 + 0x18], ecx
test byte [r12 + 4], 2
je 0x1400bc7ef
or dword [r8 + 0x18], 4
test byte [r12 + 4], 4
je 0x1400bc7fc
or dword [r8 + 0x18], 8
mov r10, qword [rsp + 0x58]
jmp 0x1400bc803
lea rcx, [0x14016d140]
mov eax, dword [r12 + 8]
add r12, 8
mov qword [rsp + 0x48], r12
cmp eax, 0x2f7
jne 0x1400bbfd0
mov r15, qword [rsp + 0x260]
mov r14, qword [rsp + 0x268]
mov r13, qword [rsp + 0x270]
mov rdi, qword [rsp + 0x278]
mov rsi, qword [rsp + 0x280]
mov rbp, qword [rsp + 0x2b0]
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.14015b1d0
add rsp, 0x288
pop r12
pop rbx
ret