Function at 0x140193aa4
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
push r15
lea rbp, [rsp - 8]
sub rsp, 0x108
mov rbx, qword [rcx + 0x18]
or eax, 0xffffffff
mov r9, qword [rcx]
xor r11d, r11d
mov r10, qword [rcx + 8]
mov r15, rcx
mov word [rbp + 0x60], ax
mov edi, r11d
lea r12d, [rax + 2]
mov qword [rsp + 0x50], rbx
movzx eax, byte [rbx + 0x10]
mov r13, qword [r9 + 8]
imul r8, rax, 0x70
add r13, 8
mov dword [rsp + 0x20], r12d
add r13, r8
mov qword [rsp + 0x28], r9
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x38], r10
mov r14, qword [r13 + 0x68]
mov rsi, qword [r13 + 0x20]
mov qword [rsp + 0x40], rsi
test r14, r14
jne 0x140193ba7
test byte [rsi + 0x40], 0x80
je 0x140193b33
mov r14, qword [rsi + 0x10]
jmp 0x140193ba7
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0x98
call sub.VCRUNTIME140.dll_memset
mov dword [rbp - 0x42], 0x10001
lea rax, [rbp + 0x60]
mov qword [rsp + 0x68], rax
xor r11d, r11d
mov byte [rbp - 0x3e], 5
lea rax, [rsp + 0x30]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rsi
movzx eax, word [rsi + 0x4c]
or dword [rbp - 0x3c], 3
mov word [rbp - 0x44], ax
movzx eax, word [rsi + 0x4a]
mov word [rsp + 0x30], ax
mov word [rsp + 0x32], r11w
test byte [r13 + 0x40], r12b
jne 0x140193b98
mov rax, qword [r13 + 0x20]
mov rcx, qword [rax + 0x10]
mov qword [rbp - 0x78], rcx
mov r9, qword [rsp + 0x28]
lea r14, [rsp + 0x60]
mov r10, qword [rsp + 0x38]
movsx rax, word [rsi + 0x4a]
mov word [rbp + 0x68], ax
cmp eax, 0xa
jg 0x140193bbb
movzx r12d, r11w
jmp 0x140193bc7
mov rcx, rax
call fcn.140169424
lea r12d, [rax - 0x21]
cmp qword [r15 + 0x20], r11
jne 0x140193d02
test byte [r9 + 0x3c], 0x20
jne 0x140193d02
mov rax, qword [r9]
mov rcx, qword [rax]
mov eax, dword [rcx + 0x30]
bt rax, 0xf
mov eax, 1
jae 0x140193d07
cmp qword [r13 + 0x68], r11
jne 0x140193d07
test byte [r13 + 0x40], al
jne 0x140193d07
test byte [rsi + 0x40], 0x80
jne 0x140193d07
test byte [r13 + 0x40], 0x28
jne 0x140193d07
movsxd r15, dword [r10 + 0x14]
mov rsi, qword [r10 + 0x20]
shl r15, 6
add r15, rsi
cmp rsi, r15
jae 0x140193cf4
mov rax, qword [rbx + 8]
test qword [rsi + 0x30], rax
jne 0x140193ce3
xor r8d, r8d
mov rdx, r13
mov rcx, rsi
call fcn.14018bd50
xor r11d, r11d
test eax, eax
je 0x140193ce3
mov rcx, qword [rsp + 0x40]
lea eax, [r11 + 1]
mov word [rbx + 0x18], ax
mov dword [rbx + 0x2c], eax
mov rax, qword [rbx + 0x38]
mov qword [rbx + 0x20], r11
mov qword [rax], rsi
movzx eax, r12w
add ax, word [rbp + 0x68]
mov word [rbx + 0x12], ax
cmp qword [rcx + 0x18], r11
jne 0x140193c96
test byte [rcx + 0x40], 2
jne 0x140193c96
add ax, 0x1c
jmp 0x140193c9a
sub ax, 0xa
mov word [rbx + 0x12], ax
test ax, ax
jns 0x140193ca8
mov word [rbx + 0x12], r11w
mov eax, 0x2b
movzx ecx, r12w
mov edx, eax
mov word [rbx + 0x16], ax
call fcn.140169488
mov rcx, qword [rbp + 0x50]
mov rdx, rbx
mov word [rbx + 0x14], ax
mov dword [rbx + 0x28], 0x4000
mov rax, qword [rsi + 0x30]
or rax, qword [rbp + 0x58]
mov qword [rbx], rax
call fcn.140195784
mov edi, eax
xor r11d, r11d
add rsi, 0x40
test edi, edi
je 0x140193c2d
jmp 0x14019402b
mov rsi, qword [rsp + 0x40]
mov r15, qword [rbp + 0x50]
mov r10, qword [rsp + 0x38]
mov eax, 1
test r14, r14
je 0x14019402b
movzx edx, byte [r13 + 0x3c]
mov r9, qword [r14 + 0x48]
shr edx, 5
and edx, eax
test r9, r9
je 0x140193d3a
mov ecx, dword [r13 + 0x44]
mov r8, r10
call fcn.140197a10
xor r11d, r11d
test eax, eax
je 0x140194001
test dword [r14 + 0x64], 0x100
jne 0x140194001
mov rax, qword [r14 + 0x10]
mov rdx, r14
mov rcx, r15
movzx r12d, word [rax]
mov rax, qword [rbp + 0x58]
and dword [rbx + 0x18], 0
and dword [rbx + 0x2c], 0
mov qword [rbx], rax
mov word [rbx + 0x1c], r11w
mov byte [rbx + 0x11], r11b
mov word [rbx + 0x12], r11w
mov word [rbx + 0x16], r12w
mov qword [rbx + 0x20], r14
mov r8d, dword [r13 + 0x44]
mov word [rbp + 0x68], r12w
call fcn.140132d14
mov ecx, dword [r14 + 0x64]
mov edx, eax
and ecx, 3
cmp cl, 3
jne 0x140193db4
neg edx
mov dword [rbx + 0x28], 0x100
sbb al, al
and al, byte [rsp + 0x20]
mov byte [rbx + 0x11], al
lea eax, [r12 + 0x10]
jmp 0x140193f0b
test byte [r14 + 0x64], 0x20
je 0x140193dc7
xor edi, edi
mov eax, 0x240
mov r8d, edi
jmp 0x140193de4
mov r8, qword [r14 + 0x90]
and r8, qword [r13 + 0x58]
mov rax, r8
neg rax
sbb eax, eax
and eax, 0xffffffc0
add eax, 0x240
xor edi, edi
mov dword [rbx + 0x28], eax
test edx, edx
jne 0x140193e50
test byte [rsi + 0x40], 0x80
jne 0x140193e50
cmp qword [r14 + 0x48], rdi
jne 0x140193e50
test byte [r13 + 0x40], 2
jne 0x140193e50
test r8, r8
jne 0x140193f3c
test byte [r14 + 0x64], 4
jne 0x140193f3c
movzx eax, word [rsi + 0x4c]
cmp word [r14 + 0x5c], ax
jge 0x140193f3c
mov r9, qword [rsp + 0x28]
test byte [r9 + 0x3c], 4
jne 0x140193f3c
cmp byte [0x14024c207], dil
je 0x140193f3c
mov rax, qword [r9]
mov rcx, qword [rax]
test byte [rcx + 0x5c], 0x20
jne 0x140193f3c
jmp 0x140193e55
mov r9, qword [rsp + 0x28]
neg edx
sbb al, al
and al, byte [rsp + 0x20]
mov byte [rbx + 0x11], al
movsx ecx, word [rsi + 0x4c]
movsx eax, word [r14 + 0x5c]
imul eax, eax, 0xf
cdq
idiv ecx
xor ecx, ecx
inc ax
add ax, r12w
mov word [rbx + 0x14], ax
test r8, r8
je 0x140193f0f
lea edi, [r12 + 0x10]
mov eax, dword [r13 + 0x44]
mov r12d, ecx
cmp dword [r9 + 0x7c], ecx
jle 0x140193efa
mov rbx, qword [rsp + 0x28]
mov esi, ecx
mov r13d, eax
mov r15, qword [rbx + 0x88]
mov r8, r14
mov edx, r13d
mov rcx, qword [rsi + r15]
call fcn.140157010
test eax, eax
je 0x140193ee7
movzx eax, word [rsi + r15 + 0x10]
test ax, ax
jg 0x140193ecb
add di, ax
jmp 0x140193eda
dec di
test byte [rsi + r15 + 0x14], 0x82
je 0x140193eda
add di, 0xffed
inc r12d
add rsi, 0x40
cmp r12d, dword [rbx + 0x7c]
jl 0x140193ea1
mov rbx, qword [rsp + 0x50]
mov r13, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x40]
mov r15, qword [rbp + 0x50]
movzx ecx, word [rbx + 0x14]
movzx edx, di
call fcn.140169488
movzx r12d, word [rbp + 0x68]
mov word [rbx + 0x14], ax
mov rcx, qword [rsp + 0x38]
movzx r8d, r12w
mov rdx, rbx
call fcn.1401959cc
mov rdx, rbx
mov rcx, r15
call fcn.140195784
mov word [rbx + 0x16], r12w
mov edi, eax
test eax, eax
jne 0x14019402b
xor edi, edi
xor r9d, r9d
mov byte [r15 + 0x34], dil
mov r8, r14
mov rdx, r13
mov rcx, r15
call fcn.140194044
mov edi, eax
mov eax, 1
cmp byte [r15 + 0x34], al
jne 0x140193f63
bts dword [rsi + 0x40], 8
mov r15, qword [r15 + 0x28]
xor r11d, r11d
test r15, r15
je 0x140193ff5
mov rsi, qword [r15 + 8]
mov r12d, r11d
mov rcx, qword [r15]
mov rax, qword [rsi + 0x28]
mov qword [rsp + 0x48], rax
movzx eax, word [rcx + 8]
mov qword [rbp + 0x68], rax
test rax, rax
je 0x140193fcf
add rsi, 0x20
lea ebx, [r11 + 1]
mov ecx, 0x2400
test word [rsi - 0x18], cx
jne 0x140193fab
cmp dword [rsi], r11d
je 0x140193fbb
lea rcx, [rsi - 0x20]
call fcn.14018e7bc
mov rax, qword [rbp + 0x68]
xor r11d, r11d
add r12, rbx
add rsi, 0x38
cmp r12, rax
jl 0x140193f9b
mov rcx, qword [r15]
mov rbx, qword [rsp + 0x50]
test rcx, rcx
je 0x140193fe5
add dword [rcx], 0xffffffff
jne 0x140193fe5
mov rdx, rcx
mov rcx, qword [rcx + 0x10]
call fcn.140152380
mov rcx, qword [rsp + 0x48]
mov rdx, r15
call fcn.140152380
xor r11d, r11d
mov r15, qword [rbp + 0x50]
mov dword [r15 + 0x30], r11d
mov qword [r15 + 0x28], r11
cmp qword [r13 + 0x68], r11
je 0x14019400c
mov r14, r11
jmp 0x140194010
mov r14, qword [r14 + 0x28]
mov rsi, qword [rsp + 0x40]
mov eax, 1
add dword [rsp + 0x20], eax
mov r10, qword [rsp + 0x38]
test edi, edi
je 0x140193d07
mov eax, edi
add rsp, 0x108
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret