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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r15
sub rsp, 0x20
mov r10, qword [0x14007fbe0]
mov r15, rdx
and byte [rcx + 0x445], 0xf8
mov rdi, rcx
mov rsi, r10
mov rbx, 0xffffffffffffffff
cmp byte [r10 + 0x5a], 0
jne 0x14003c0e1
cmp byte [rcx + 0x3c], 0
je 0x14003c191
test dword [rcx + 0x14], 0x1080001
jne 0x14003c191
cmp byte [rcx + 0x108], 0
jne 0x14003c191
cmp dword [rcx + 0x470], 0
jne 0x14003c1cc
movsxd rbp, dword [r10 + 0x6148]
mov r9d, 1
mov r11, qword [r10 + 0x6150]
mov qword [rsp + 0x40], r14
mov r14, rbp
shl r14, 4
add r14, r11
nop dword [rax + rax]
mov r8, r11
mov rcx, rbp
test rbp, rbp
je 0x14003c16d
nop dword [rax + rax]
mov rdx, rcx
shr rdx, 1
mov rax, rdx
add rax, rax
cmp dword [r8 + rax*8], r9d
jae 0x14003c165
lea r8, [r8 + rax*8]
mov rax, rbx
sub rax, rdx
add r8, 0x10
add rcx, rax
jmp 0x14003c168
mov rcx, rdx
test rcx, rcx
jne 0x14003c140
cmp r8, r14
je 0x14003c183
cmp dword [r8], r9d
jne 0x14003c183
cmp qword [r8 + 8], 0
je 0x14003c183
inc r9d
jmp 0x14003c130
mov r14, qword [rsp + 0x40]
mov dword [rdi + 0x470], r9d
jmp 0x14003c1cc
mov ecx, dword [rcx + 0x14]
shr ecx, 0x13
and cl, 1
test byte [r10 + 0x4b58], 1
je 0x14003c1c2
movsx eax, byte [rdi + 0x124]
test dword [r10 + 0x4b5c], eax
je 0x14003c1c2
cmp byte [r10 + 0x4b98], 0
je 0x14003c1c2
mov al, 1
jmp 0x14003c1c4
xor al, al
or al, cl
jne 0x14003c4dc
cmp dword [rdi + 0x470], 0
mov r8, qword [rdi + 0x460]
je 0x14003c1ff
test r8, r8
jne 0x14003c1ff
mov rdx, rdi
mov rcx, rsi
call fcn.14003bed0
mov r8, rax
test rax, rax
je 0x14003c4ea
mov r10, qword [0x14007fbe0]
mov ecx, dword [rsi + 0x40a8]
cmp dword [r8 + 0xac], ecx
jge 0x14003c245
mov rax, qword [r8 + 0x18]
test rax, rax
je 0x14003c22c
nop word [rax + rax]
mov r8, rax
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x14003c220
cmp dword [r8 + 0xac], ecx
jl 0x14003c4dc
or byte [rdi + 0x445], 1
jmp 0x14003c4ea
lea rcx, [r10 + 0x3ae8]
call fcn.1400168b0
lea rcx, [r10 + 0x3cf8]
mov dword [rdi + 0x448], eax
call fcn.1400168b0
lea rcx, [r10 + 0x3d08]
mov dword [rdi + 0x44c], eax
call fcn.1400168b0
lea rcx, [r10 + 0x3d18]
mov dword [rdi + 0x450], eax
call fcn.1400168b0
lea rcx, [r10 + 0x3d28]
mov dword [rdi + 0x454], eax
call fcn.1400168b0
lea rcx, [r10 + 0x3d38]
mov dword [rdi + 0x458], eax
call fcn.1400168b0
mov dword [rdi + 0x45c], eax
mov rax, qword [r8 + 0x88]
test rax, rax
jne 0x14003c301
cmp dword [r8 + 0x14], 2
jne 0x14003c2cb
or byte [rdi + 0x445], 1
cmp dword [r8 + 0x30], 1
jle 0x14003c4ea
cmp byte [rdi + 0x106], 0
je 0x14003c4ea
cmp byte [rdi + 0xff], 0
mov byte [rdi + 0x107], 1
sete al
inc al
mov byte [rdi + 0x120], al
jmp 0x14003c4ea
test byte [r8 + 0x10], 1
mov dword [r8 + 0x14], 3
jne 0x14003c324
movzx eax, word [rax + 0x114]
cmp word [rdi + 0x114], ax
jl 0x14003c4dc
mov eax, dword [r10 + 0x4b58]
xor r9d, r9d
or eax, 1
mov dword [r10 + 0x4b58], eax
or eax, 2
movsd xmm0, qword [r8 + 0x48]
mov dword [r10 + 0x4b58], eax
movsd qword [r10 + 0x4b6c], xmm0
mov qword [r10 + 0x4b74], r9
mov dword [r10 + 0x4b5c], 1
mov byte [r10 + 0x4b98], 1
movsd xmm0, qword [r8 + 0x50]
movsd qword [r10 + 0x4b7c], xmm0
mov dword [r10 + 0x4b60], 1
mov byte [rsi + 0x4b98], r9b
movzx eax, byte [rdi + 0x445]
or al, 3
and al, 0xfb
mov byte [rdi + 0x445], al
test byte [r8 + 0x10], 1
jne 0x14003c4ea
cmp qword [r8 + 0x90], rdi
jne 0x14003c3b9
or al, 4
mov byte [rdi + 0x445], al
mov edx, dword [rdi + 0x14]
or dword [rdi + 0x1c], 2
or edx, 0x1000002
mov dword [rdi + 0x14], edx
mov eax, edx
or eax, 1
and edx, 0xfffffffe
test dword [r8 + 0x10], 0x3000
cmovne edx, eax
mov dword [rdi + 0x14], edx
cmp qword [r8 + 0x40], r9
je 0x14003c467
cmp byte [rdi + 0x100], r9b
je 0x14003c467
mov rax, qword [rdi + 0x460]
mov r10, qword [rax + 0x40]
test r10, r10
je 0x14003c460
mov edx, dword [rdi + 0xc0]
test edx, edx
je 0x14003c460
movsxd rax, dword [r10]
test eax, eax
jle 0x14003c460
mov r11, rax
mov rcx, r9
mov rax, qword [r10 + 8]
nop dword [rax]
cmp dword [rax], edx
je 0x14003c435
inc r9d
inc rcx
add rax, 0x38
cmp rcx, r11
jl 0x14003c420
jmp 0x14003c460
mov rcx, qword [r10 + 8]
movsxd rax, r9d
imul rdx, rax, 0x38
add rcx, rdx
je 0x14003c460
movabs rax, 0x4924924924924925
imul rdx
sar rdx, 4
mov rbx, rdx
shr rbx, 0x3f
add rbx, rdx
mov word [rdi + 0x446], bx
test byte [r8 + 0xcc], 0x40
jne 0x14003c480
mov eax, dword [rdi + 0xc0]
cmp dword [r8 + 0xc0], eax
jne 0x14003c489
test r15, r15
je 0x14003c489
mov byte [r15], 0
mov rax, qword [rdi + 0x460]
xor edx, edx
mov rbp, qword [rdi + 8]
mov rcx, rbp
mov rbx, qword [rax + 0x88]
movsxd rax, dword [rbx + 0x138]
mov r8, qword [rbx + 0x140]
mov r8d, dword [r8 + rax*4 - 4]
call fcn.140016250
mov rcx, qword [rbx]
mov esi, eax
cmp dword [rcx + 0x419c], eax
jne 0x14003c4d4
mov r8, rbp
mov edx, 0xb
mov ecx, eax
call fcn.14003de60
mov dword [rdi + 0xc4], esi
jmp 0x14003c4ea
mov r8b, 1
mov rdx, rdi
mov rcx, rsi
call fcn.140035810
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop rdi
pop rsi
ret