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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov r10, rcx
mov eax, 0xffffffff
mov word [rbp + 0x60], ax
xor ecx, ecx
mov r11, rdx
mov esi, ecx
mov edx, 1
mov rdi, qword [r10 + 0x18]
mov r9, qword [r10]
mov dword [rsp + 0x20], edx
mov qword [rsp + 0x48], rdi
movzx eax, byte [rdi + 0x10]
mov r12, qword [r9 + 8]
imul r8, rax, 0x70
add r12, 8
mov qword [rsp + 0x28], r9
add r12, r8
mov r8, qword [r10 + 8]
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r8
mov r14, qword [r12 + 0x68]
mov rbx, qword [r12 + 0x20]
mov qword [rsp + 0x40], rbx
test r14, r14
jne 0x14013b28b
test byte [rbx + 0x40], 0x80
je 0x14013b212
mov r14, qword [rbx + 0x10]
jmp 0x14013b28b
xorps xmm0, xmm0
lea rax, [rbp + 0x60]
movups xmmword [rbp - 0x40], xmm0
mov byte [rbp - 0x3e], 5
movups xmmword [rsp + 0x70], xmm0
mov qword [rsp + 0x78], rbx
movups xmmword [rbp - 0x50], xmm0
mov dword [rbp - 0x42], 0x10001
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x24]
mov qword [rsp + 0x70], rax
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movzx eax, word [rbx + 0x4c]
or dword [rbp - 0x3c], 3
mov word [rbp - 0x44], ax
movzx eax, word [rbx + 0x4a]
mov word [rsp + 0x24], ax
mov word [rsp + 0x26], cx
test byte [r12 + 0x40], dl
jne 0x14013b286
mov rax, qword [r12 + 0x20]
mov rcx, qword [rax + 0x10]
mov qword [rbp - 0x78], rcx
xor ecx, ecx
lea r14, [rsp + 0x60]
movsx r13, word [rbx + 0x4a]
mov qword [rsp + 0x108], r15
cmp r13d, 0xa
jg 0x14013b2a4
movzx r15d, cx
jmp 0x14013b2b0
mov rcx, r13
call fcn.1400a6620
lea r15d, [rax - 0x21]
cmp qword [r10 + 0x20], rsi
jne 0x14013b3fd
test byte [r9 + 0x3c], 0x20
jne 0x14013b3fd
mov rax, qword [r9]
mov rcx, qword [rax]
mov eax, dword [rcx + 0x30]
bt rax, 0xf
jae 0x14013b3fd
cmp qword [r12 + 0x68], rsi
jne 0x14013b3fd
mov eax, dword [r12 + 0x40]
test al, 1
jne 0x14013b3fd
test byte [rbx + 0x40], 0x80
jne 0x14013b3fd
test al, 0x28
jne 0x14013b3fd
movsxd r12, dword [r8 + 0x14]
mov rbx, qword [r8 + 0x20]
shl r12, 6
add r12, rbx
cmp rbx, r12
jae 0x14013b3ea
mov rax, qword [rdi + 8]
test qword [rbx + 0x30], rax
jne 0x14013b3c2
mov rdx, qword [rsp + 0x38]
xor r8d, r8d
mov rcx, rbx
call fcn.140138700
test eax, eax
je 0x14013b3c2
mov rcx, qword [rsp + 0x40]
mov eax, 1
mov word [rdi + 0x18], ax
xor edx, edx
mov dword [rdi + 0x2c], eax
mov rax, qword [rdi + 0x38]
mov qword [rdi + 0x20], rdx
mov qword [rax], rbx
lea eax, [r15 + r13]
mov word [rdi + 0x12], ax
cmp qword [rcx + 0x18], rdx
jne 0x14013b379
test byte [rcx + 0x40], 2
jne 0x14013b379
add ax, 0x1c
jmp 0x14013b37d
sub ax, 0xa
mov word [rdi + 0x12], ax
test ax, ax
jns 0x14013b38a
mov word [rdi + 0x12], dx
mov eax, 0x2b
movzx ecx, r15w
mov edx, eax
mov word [rdi + 0x16], ax
call fcn.1400a65a0
mov rcx, qword [rbp + 0x50]
mov rdx, rdi
mov word [rdi + 0x14], ax
mov rax, qword [rbp + 0x58]
mov dword [rdi + 0x28], 0x4000
or rax, qword [rbx + 0x30]
mov qword [rdi], rax
call fcn.140139fb0
mov esi, eax
add rbx, 0x40
test esi, esi
je 0x14013b312
mov eax, esi
mov r15, qword [rsp + 0x108]
add rsp, 0x110
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov r12, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x30]
mov r11, qword [rbp + 0x58]
xor r15d, r15d
test r14, r14
je 0x14013b3ce
movzx edx, byte [r12 + 0x3c]
mov r9, qword [r14 + 0x48]
shr edx, 5
and edx, 1
test r9, r9
je 0x14013b430
mov ecx, dword [r12 + 0x44]
call fcn.14013b040
test eax, eax
je 0x14013b693
mov r11, qword [rbp + 0x58]
test dword [r14 + 0x64], 0x100
jne 0x14013b693
mov rax, qword [r14 + 0x10]
xor r13d, r13d
mov r15, qword [rbp + 0x50]
mov rdx, r14
mov rcx, r15
movzx esi, word [rax]
mov word [rdi + 0x16], si
mov dword [rdi + 0x18], r13d
mov word [rdi + 0x1c], r13w
mov dword [rdi + 0x2c], r13d
mov byte [rdi + 0x11], r13b
mov word [rdi + 0x12], r13w
mov qword [rdi], r11
mov qword [rdi + 0x20], r14
mov r8d, dword [r12 + 0x44]
mov word [rbp + 0x68], si
call fcn.14013ae80
mov edx, dword [r14 + 0x64]
mov r9d, eax
mov ecx, edx
and ecx, 3
cmp cl, 3
jne 0x14013b4b1
movzx ecx, byte [rsp + 0x20]
test eax, eax
mov edx, r13d
mov dword [rdi + 0x28], 0x100
cmovne edx, ecx
lea eax, [rsi + 0x10]
mov byte [rdi + 0x11], dl
jmp 0x14013b63e
test dl, 0x20
je 0x14013b4c3
xor r11d, r11d
mov eax, 0x240
mov r8d, r11d
jmp 0x14013b4dc
mov r8, qword [r14 + 0x68]
mov eax, 0x200
and r8, qword [r12 + 0x58]
mov ecx, 0x240
cmove eax, ecx
xor r11d, r11d
mov dword [rdi + 0x28], eax
test r9d, r9d
jne 0x14013b542
test byte [rbx + 0x40], 0x80
jne 0x14013b542
cmp qword [r14 + 0x48], r13
jne 0x14013b542
test r8, r8
jne 0x14013b66a
test byte [r14 + 0x64], 4
jne 0x14013b66a
movzx eax, word [rbx + 0x4c]
cmp word [r14 + 0x5c], ax
jge 0x14013b66a
mov r10, qword [rsp + 0x28]
test byte [r10 + 0x3c], 4
jne 0x14013b66a
cmp byte [0x14024cfd7], r13b
je 0x14013b66a
mov rax, qword [r10]
mov rcx, qword [rax]
test byte [rcx + 0x5c], 0x20
jne 0x14013b66a
jmp 0x14013b547
mov r10, qword [rsp + 0x28]
movzx eax, byte [rsp + 0x20]
test r9d, r9d
mov ecx, r11d
cmovne ecx, eax
mov byte [rdi + 0x11], cl
movsx eax, word [r14 + 0x5c]
movsx ecx, word [rbx + 0x4c]
imul eax, eax, 0xf
cdq
idiv ecx
inc ax
add ax, si
mov word [rdi + 0x14], ax
test r8, r8
je 0x14013b642
cmp dword [r10 + 0x7c], 0
lea ebx, [rsi + 0x10]
mov r13d, dword [r12 + 0x44]
mov r15d, r11d
jle 0x14013b629
mov r12, r11
lea rdi, [0x1400ead20]
nop word [rax + rax]
mov rsi, qword [r10 + 0x88]
lea rax, [rsp + 0x50]
xorps xmm0, xmm0
mov qword [rbp - 0x30], r11
movdqu xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], r11
mov rdx, qword [rsi + r12]
mov dword [rsp + 0x58], r13d
mov qword [rsp + 0x50], r14
mov qword [rbp - 0x28], rdi
mov qword [rbp - 8], rax
test rdx, rdx
je 0x14013b5e8
lea rcx, [rbp - 0x30]
call fcn.1400dd630
mov r10, qword [rsp + 0x28]
xor r11d, r11d
cmp word [rbp - 0xc], 0
jne 0x14013b61b
movzx eax, word [rsi + r12 + 0x10]
test ax, ax
jg 0x14013b5ff
add bx, ax
jmp 0x14013b60e
dec bx
test byte [rsi + r12 + 0x14], 0x82
je 0x14013b60e
add bx, 0xffed
inc r15d
add r12, 0x40
cmp r15d, dword [r10 + 0x7c]
jl 0x14013b5a0
mov rdi, qword [rsp + 0x48]
mov r12, qword [rsp + 0x38]
movzx esi, word [rbp + 0x68]
movzx ecx, word [rdi + 0x14]
movzx edx, bx
call fcn.1400a65a0
mov rbx, qword [rsp + 0x40]
mov r15, qword [rbp + 0x50]
mov word [rdi + 0x14], ax
mov rcx, qword [rsp + 0x30]
movzx r8d, si
mov rdx, rdi
call fcn.14013a240
mov rdx, rdi
mov rcx, r15
call fcn.140139fb0
mov word [rdi + 0x16], si
test eax, eax
jne 0x14013b3d0
xor r9d, r9d
mov byte [r15 + 0x28], 0
mov r8, r14
mov rdx, r12
mov rcx, r15
call fcn.14013a690
cmp byte [r15 + 0x28], 1
mov esi, eax
jne 0x14013b690
or dword [rbx + 0x40], 0x100
xor r15d, r15d
cmp qword [r12 + 0x68], 0
je 0x14013b6a0
mov r14, r15
jmp 0x14013b6a4
mov r14, qword [r14 + 0x28]
inc dword [rsp + 0x20]
test esi, esi
jne 0x14013b3ce
mov r8, qword [rsp + 0x30]
mov r11, qword [rbp + 0x58]
jmp 0x14013b400