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

Disassembly:
mov dword [rsp + 0x20], r9d
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x38
mov r14, qword [rcx + 0x10]
xor eax, eax
mov ebp, eax
mov r10d, r9d
mov rbx, r8
mov rdi, rdx
mov r15, rcx
mov rsi, qword [r14 + 0x18]
movsxd r13, dword [rsi + 0x54]
lea eax, [r13 + 1]
mov dword [rsi + 0x54], eax
lea eax, [r13 - 1]
test r13d, eax
jne 0x140064348
mov rdx, qword [rsi + 0x58]
lea eax, [r13*2 + 1]
mov rcx, qword [rsi]
movsxd r8, eax
shl r8, 2
call fcn.1400159c0
mov r10d, dword [rsp + 0x98]
mov qword [rsi + 0x58], rax
mov rcx, qword [rsi + 0x58]
test rcx, rcx
je 0x140064359
mov dword [rcx + r13*4], 0xffffffff
mov ecx, dword [rdi + 0x40]
not r13d
and ecx, 0x20
mov dword [rsp + 0x80], r13d
mov r8d, 0x21
mov dword [rsp + 0x88], ecx
cmp byte [rsp + 0xc8], bpl
jne 0x1400643b1
movsx eax, word [rsp + 0xb0]
test ecx, ecx
mov dword [rsp + 0x28], eax
mov edx, 0x1e
mov eax, dword [rsp + 0xa8]
cmove edx, r8d
mov r8d, r10d
mov dword [rsp + 0x20], eax
mov r9d, r13d
mov rcx, r14
call fcn.140037810
mov rax, qword [r15]
movzx r12d, byte [rsp + 0xc0]
test dword [rax + 0x2c], 0x80000
je 0x1400643ef
mov rcx, qword [rdi + 0x70]
lea r8, [rsp + 0x90]
mov rdx, qword [rdi]
add rcx, 0x50
call fcn.140019b10
test rax, rax
je 0x1400643e9
cmp qword [rax + 0x10], rbp
jne 0x1400643f8
cmp qword [rdi + 0x20], rbp
jne 0x1400643f8
test rbx, rbx
je 0x1400645d9
xor eax, eax
mov rsi, rbx
test rbx, rbx
je 0x140064431
cmp byte [rsi + 0x10], 0x6d
jne 0x140064428
test byte [rsi + 0x11], 3
je 0x140064428
movzx r9d, r12b
mov r8, rdi
mov rdx, rsi
mov rcx, r15
call fcn.140084010
test rax, rax
je 0x140064428
or ebp, dword [rax + 0x1c]
mov rsi, qword [rsi + 0x40]
test rsi, rsi
jne 0x140064402
mov rdx, rdi
mov rcx, r15
call fcn.14006a700
mov edx, dword [r15 + 0x38]
mov r12d, eax
movsx ecx, word [rdi + 0x46]
or r12d, ebp
inc ecx
lea ebp, [rdx + 1]
add edx, ecx
mov dword [r15 + 0x38], edx
mov rcx, qword [r14 + 0x18]
movsxd rdx, dword [r14 + 0xb8]
cmp dword [rcx + 0x3c], edx
jg 0x140064486
mov r8d, dword [rsp + 0xa8]
xor eax, eax
mov r9d, ebp
mov dword [rsp + 0x20], eax
mov rcx, r14
lea edx, [rax + 0x55]
call fcn.140036ff0
xor r8d, r8d
jmp 0x1400644bb
lea rcx, [rdx + rdx*2]
xor r8d, r8d
lea eax, [rdx + 1]
mov edx, dword [rsp + 0xa8]
mov dword [r14 + 0xb8], eax
mov rax, qword [r14 + 0x68]
mov dword [rax + rcx*8], 0x55
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], ebp
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], r8
mov esi, r8d
cmp r8w, word [rdi + 0x46]
jge 0x14006450d
mov r13d, dword [rsp + 0x98]
nop dword [rax]
cmp r12d, 0xffffffff
je 0x1400644e1
cmp esi, 0x1f
jg 0x1400644fb
bt r12d, esi
jae 0x1400644fb
lea eax, [rbp + 1]
mov r9d, esi
add eax, esi
mov r8d, r13d
mov rdx, rdi
mov dword [rsp + 0x20], eax
mov rcx, r14
call fcn.140052420
movsx eax, word [rdi + 0x46]
inc esi
cmp esi, eax
jl 0x1400644d0
mov r13d, dword [rsp + 0x80]
mov r12d, dword [r14 + 0xb8]
mov eax, r12d
mov rsi, rbx
test rbx, rbx
je 0x14006455e
nop
cmp byte [rsi + 0x10], 0x6d
jne 0x14006454e
cmp byte [rsi + 0x11], 1
jne 0x14006454e
movzx eax, byte [rsp + 0xc0]
mov r9d, ebp
mov dword [rsp + 0x28], r13d
mov r8, rdi
mov rdx, rsi
mov dword [rsp + 0x20], eax
mov rcx, r15
call fcn.140084050
mov rsi, qword [rsi + 0x40]
test rsi, rsi
jne 0x140064520
mov eax, dword [r14 + 0xb8]
cmp r12d, eax
jge 0x1400645ab
movsx eax, word [rsp + 0xb0]
mov edx, 0x21
cmp dword [rsp + 0x88], 0
mov ecx, 0x1e
mov r8d, dword [rsp + 0x98]
mov r9d, r13d
cmove ecx, edx
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0xa8]
mov edx, ecx
mov rcx, r14
mov dword [rsp + 0x20], eax
call fcn.140037810
mov esi, 0xffffffff
jmp 0x1400645b2
mov esi, dword [rsp + 0xd0]
xor eax, eax
xor r9d, r9d
mov dword [rsp + 0x28], eax
mov r8d, ebp
mov rdx, rdi
mov qword [rsp + 0x20], rax
mov rcx, r15
call fcn.140069ee0
movzx r12d, byte [rsp + 0xc0]
jmp 0x1400645e0
mov esi, dword [rsp + 0xd0]
cmp qword [rdi + 0x18], 0
jne 0x140064749
mov r9d, dword [rsp + 0xa0]
xor eax, eax
mov r8d, dword [rsp + 0x98]
mov rdx, rdi
mov dword [rsp + 0x28], esi
mov rcx, r15
mov qword [rsp + 0x20], rax
call fcn.140064860
mov rax, qword [r14 + 0x18]
xor r9d, r9d
cmp byte [rsp + 0xb8], r9b
mov edx, r9d
movsxd rcx, dword [r14 + 0xb8]
mov r8d, dword [rsp + 0x98]
setne dl
cmp dword [rax + 0x3c], ecx
jg 0x140064651
mov dword [rsp + 0x20], r9d
mov rcx, r14
mov r9d, edx
mov edx, 0x76
call fcn.140036ff0
jmp 0x14006467d
lea eax, [rcx + 1]
mov dword [r14 + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [r14 + 0x68]
mov dword [rax + rcx*8], 0x76
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r9d
mov qword [rax + rcx*8 + 0x10], r9
cmp byte [r15 + 0x1e], 0
jne 0x1400646b5
mov rcx, qword [r14]
cmp byte [rcx + 0x55], 0
je 0x14006469c
mov r8, rdi
mov edx, 0xfffffff1
call fcn.140037e90
jmp 0x1400646b5
movsxd rax, dword [r14 + 0xb8]
lea rcx, [rax + rax*2]
mov rax, qword [r14 + 0x68]
mov byte [rax + rcx*8 - 0x17], 0xf1
mov qword [rax + rcx*8 - 8], rdi
movzx r8d, byte [rsp + 0xc8]
test r8b, r8b
je 0x1400646e0
movsxd rax, dword [r14 + 0xb8]
test eax, eax
jle 0x1400646e0
lea rcx, [rax + rax*2]
mov edx, 4
mov rax, qword [r14 + 0x68]
mov word [rax + rcx*8 - 0x16], dx
test esi, esi
js 0x140064721
cmp esi, dword [rsp + 0x98]
je 0x140064721
mov rax, qword [r14 + 0x18]
movsxd rcx, dword [r14 + 0xb8]
cmp dword [rax + 0x3c], ecx
jg 0x140064826
xor eax, eax
xor r9d, r9d
mov r8d, esi
mov dword [rsp + 0x20], eax
mov rcx, r14
lea edx, [rax + 0x76]
call fcn.140036ff0
movzx r8d, byte [rsp + 0xc8]
xor r9d, r9d
movsxd rax, dword [r14 + 0xb8]
test eax, eax
jle 0x140064749
mov edx, 2
lea rcx, [rax + rax*2]
mov rax, qword [r14 + 0x68]
cmp r8b, dl
cmovne dx, r9w
mov word [rax + rcx*8 - 0x16], dx
mov rax, qword [r15]
test dword [rax + 0x2c], 0x80000
je 0x1400647c0
mov rcx, qword [rdi + 0x70]
lea r8, [rsp + 0xc8]
mov rdx, qword [rdi]
add rcx, 0x50
call fcn.140019b10
test rax, rax
je 0x1400647c0
mov rsi, qword [rax + 0x10]
test rsi, rsi
je 0x1400647c0
nop dword [rax + rax]
xor r9d, r9d
mov r8, rsi
mov rdx, rdi
mov rcx, r15
call fcn.14006a950
test rax, rax
je 0x1400647b7
mov dword [rsp + 0x28], 0
mov r9d, ebp
mov r8, rdi
mov dword [rsp + 0x20], 2
mov rdx, rax
mov rcx, r15
call fcn.140084050
mov rsi, qword [rsi + 0x18]
test rsi, rsi
jne 0x140064780
test rbx, rbx
je 0x1400647f8
cmp byte [rbx + 0x10], 0x6d
jne 0x1400647ef
cmp byte [rbx + 0x11], 2
jne 0x1400647ef
movzx eax, r12b
mov r9d, ebp
mov dword [rsp + 0x28], r13d
mov r8, rdi
mov rdx, rbx
mov dword [rsp + 0x20], eax
mov rcx, r15
call fcn.140084050
mov rbx, qword [rbx + 0x40]
test rbx, rbx
jne 0x1400647c5
mov rax, qword [r14 + 0x18]
mov rdx, qword [rax + 0x58]
test rdx, rdx
je 0x140064815
mov eax, dword [r14 + 0xb8]
not r13d
movsxd rcx, r13d
mov dword [rdx + rcx*4], eax
add rsp, 0x38
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
lea eax, [rcx + 1]
xor r9d, r9d
mov dword [r14 + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [r14 + 0x68]
mov dword [rax + rcx*8], 0x76
mov dword [rax + rcx*8 + 4], esi
mov qword [rax + rcx*8 + 8], r9
mov qword [rax + rcx*8 + 0x10], r9
jmp 0x140064724