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

Disassembly:
push rbp
push rsi
push r12
push r13
push r15
sub rsp, 0x40
mov rsi, qword [rcx]
mov r13d, edx
mov r15, qword [rcx + 8]
mov r12, rcx
sub r13d, dword [rsi + 0x44]
mov ebp, dword [rsi + 0x28]
cmp ebp, dword [rsi + 0x2c]
jbe 0x1400c4135
mov rax, qword [rsi + 0x48]
lea edx, [rbp - 1]
mov eax, dword [rax + rdx*8]
movzx eax, al
cmp eax, 0x3f
jb 0x1400c4135
cmp eax, 0x40
jbe 0x1400c4159
add eax, 0xffffffbb
cmp eax, 3
jbe 0x1400c4159
mov rax, qword [rsi + 0x18]
test byte [rax + 0xd], 8
je 0x1400c414c
mov edx, 0x80000030
mov rcx, rsi
call fcn.1400c0400
mov edx, 0x10047
mov rcx, rsi
call fcn.1400c0400
mov rax, qword [rsi + 0x18]
mov rcx, rsi
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x38], rdi
or byte [rax + 0xd], 0x10
call fcn.1400c4880
test byte [rsi + 0x58], 0x40
je 0x1400c41fb
mov edi, 1
cmp ebp, edi
jbe 0x1400c41fb
mov ebx, 8
nop dword [rax + rax]
mov rax, qword [rsi + 0x48]
mov edx, dword [rbx + rax]
movzx eax, dl
cmp eax, 0x30
je 0x1400c41fb
cmp eax, 0x3e
jbe 0x1400c41f1
cmp eax, 0x40
jbe 0x1400c41b1
add eax, 0xffffffbb
cmp eax, 3
ja 0x1400c41f1
mov rcx, rsi
call fcn.1400c0400
mov r8, qword [rsi + 0x48]
mov r9d, eax
mov ecx, dword [r8 + rbx + 4]
mov dword [r8 + r9*8 + 4], ecx
mov ecx, 0x7fff
sub ecx, edi
add r9d, ecx
cmp r9d, 0xffff
ja 0x1400c4471
mov rax, qword [rsi + 0x48]
shl r9d, 0x10
or r9d, 0x30
mov dword [rbx + rax], r9d
inc edi
add rbx, 8
cmp edi, ebp
jb 0x1400c4190
mov eax, dword [rsi + 0x3c]
xor ebx, ebx
mov edx, dword [rsi + 0x28]
mov ecx, dword [rsi + 0x40]
add rcx, rdx
mov qword [rsp + 0x30], r14
lea rbp, [rcx*4 + 0x47]
lea rcx, [rax*8]
and rbp, 0xfffffffffffffff8
movzx eax, byte [rsi + 0x5b]
add rcx, rbp
inc rax
mov qword [rsp + 0x70], rcx
and rax, 0xfffffffffffffffe
lea rdi, [rcx + rax*2]
mov ecx, ebx
mov qword [rsp + 0x80], rdi
cmp r13d, 0x100
jl 0x1400c4258
cmp r13d, 0x10000
setge cl
inc ecx
lea eax, [rdx - 1]
mov rdx, rsi
shl eax, cl
lea r8, [rsp + 0x20]
add rdi, rax
mov rcx, r12
mov qword [rsp + 0x88], rdi
call fcn.1400c4630
add edi, eax
mov rcx, r15
mov edx, edi
call fcn.1400a2fd0
mov r14, rax
mov byte [rax + 5], 7
mov dword [rax + 0x20], edi
mov word [rax + 0x26], bx
movzx ecx, byte [rsi + 0x58]
and cl, 0x9f
mov byte [rax + 0x25], cl
movzx ecx, byte [rsi + 0x59]
mov byte [rax + 6], cl
movzx ecx, byte [rsi + 0x5a]
mov byte [rax + 7], cl
mov ecx, dword [r12 + 0x60]
mov dword [rax + 0x28], ecx
mov ecx, dword [rsi + 0x40]
inc ecx
shl rcx, 2
sub rax, rcx
mov ecx, 0x55
mov dword [rax + rbp], ebx
mov eax, 0x58
mov r8d, dword [rsi + 0x28]
mov rdx, qword [rsi + 0x48]
mov dword [r14 + 8], r8d
test byte [rsi + 0x58], 2
cmovne ecx, eax
movzx eax, byte [rsi + 0x5a]
shl eax, 8
or ecx, eax
mov dword [r14 + 0x40], ecx
cmp r8d, 1
jbe 0x1400c4312
add rdx, 8
lea rcx, [r14 + 0x44]
dec r8d
nop dword [rax]
mov eax, dword [rdx]
lea rdx, [rdx + 8]
mov dword [rcx], eax
lea rcx, [rcx + 4]
sub r8, 1
jne 0x1400c4300
lea r8, [r14 + rbp]
mov rdx, r14
mov rcx, rsi
call fcn.1400c4480
mov rcx, qword [rsp + 0x70]
lea rdx, [rsi + 0x264]
add rcx, r14
mov dword [r14 + 0x14], ecx
movzx eax, byte [rsi + 0x5b]
mov byte [r14 + 0x24], al
movzx r8d, byte [rsi + 0x5b]
add r8, r8
call fcn.140125070
mov r8d, dword [rsi + 0x28]
mov rdx, qword [rsi + 0x48]
dec r8d
mov r10d, dword [rsi + 0x44]
mov r9, qword [rsp + 0x80]
add r9, r14
mov dword [r14 + 0x2c], r10d
mov dword [r14 + 0x30], r13d
mov dword [r14 + 0x34], r9d
cmp r13d, 0x100
jge 0x1400c4395
nop dword [rax + rax]
movzx eax, byte [rdx + rbx*8 + 0xc]
sub al, r10b
mov byte [rbx + r9], al
inc ebx
cmp ebx, r8d
jb 0x1400c4380
jmp 0x1400c43d2
cmp r13d, 0x10000
jge 0x1400c43c0
nop
movzx eax, word [rdx + rbx*8 + 0xc]
sub ax, r10w
mov word [r9 + rbx*2], ax
inc ebx
cmp ebx, r8d
jb 0x1400c43a0
jmp 0x1400c43d2
mov eax, dword [rdx + rbx*8 + 0xc]
sub eax, r10d
mov dword [r9 + rbx*4], eax
inc ebx
cmp ebx, r8d
jb 0x1400c43c0
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x88]
add rcx, r14
add edx, ecx
mov dword [r14 + 0x38], ecx
mov dword [r14 + 0x3c], edx
mov r8d, dword [r12 + 0x40]
mov rdx, qword [r12 + 0x38]
call fcn.140125070
mov eax, dword [r15 + 8]
test byte [rax + 0x93], 1
je 0x1400c443a
mov edx, 0x1c418
mov rcx, r15
call fcn.1400dd820
test rax, rax
je 0x1400c443a
mov rdx, qword [r15 + 0x18]
lea rcx, [rdx + 8]
mov qword [r15 + 0x18], rcx
mov rcx, r15
mov dword [rdx], r14d
mov dword [rdx + 4], 0xfffffff8
mov rdx, rax
call fcn.1400dd730
add qword [r15 + 0x18], 0xfffffffffffffff8
mov eax, dword [rsi + 0x54]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x78]
mov dword [r12 + 0x84], eax
mov rax, qword [rsi + 0x20]
mov qword [r12], rax
mov rax, r14
mov r14, qword [rsp + 0x30]
add rsp, 0x40
pop r15
pop r13
pop r12
pop rsi
pop rbp
ret
mov rcx, qword [rsi + 8]
mov edx, 0xace
call fcn.1400c1290
int3