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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
push rbx
push rsi
push r15
sub rsp, 0x90
cmp dword [rcx + 0x30], 0
mov rbx, rcx
mov rsi, qword [rcx + 0x10]
mov r15, qword [rcx]
jne 0x140066330
cmp byte [r15 + 0x55], 0
jne 0x140066330
mov qword [rax - 0x20], rbp
mov ebp, 0xfff0bdc0
mov qword [rax - 0x28], rdi
xor edi, edi
mov qword [rax - 0x30], r12
mov r12, qword [rcx + 0x208]
mov qword [rax - 0x38], r13
mov qword [rax - 0x40], r14
mov qword [rsp + 0xc8], r12
mov rcx, qword [r12 + 0x68]
test rcx, rcx
je 0x140065d66
mov edx, dword [r15 + 0x28]
mov ebp, edi
test edx, edx
jle 0x140065d66
mov rax, qword [r15 + 0x20]
add rax, 0x18
cmp qword [rax], rcx
je 0x140065d66
inc ebp
add rax, 0x20
cmp ebp, edx
jl 0x140065d57
mov rax, qword [r15 + 0x20]
movsx r13, word [r12 + 0x3e]
mov rdx, qword [r12]
add rdx, 0x10
movsxd rcx, ebp
shl rcx, 5
mov qword [rsp + 0x48], rcx
shl r13, 5
add r13, qword [r12 + 8]
mov r8, qword [rcx + rax]
mov rcx, r15
mov qword [rsp + 0xc0], r8
mov qword [rsp + 0x40], rdx
mov r14, qword [r13 - 0x18]
call fcn.14006af40
mov r8, qword [rsp + 0xc0]
mov edx, 0x1a
mov rcx, rbx
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x20], rdi
mov r9, qword [rax]
call fcn.14006a3d0
test eax, eax
jne 0x140066311
test r14, r14
je 0x140065de4
mov rcx, qword [r14 + 0x10]
cmp byte [rcx], 0x65
cmove r14, rdi
test byte [r13 - 5], 1
je 0x140065dff
lea rdx, [0x14018e130]
mov rcx, rbx
call fcn.140021040
jmp 0x140066311
cmp qword [r12 + 0x10], rdi
je 0x140065e1a
lea rdx, [0x14018e150]
mov rcx, rbx
call fcn.140021040
jmp 0x140066311
test dword [r15 + 0x2c], 0x80000
je 0x140065e44
cmp qword [r12 + 0x20], rdi
je 0x140065e44
test r14, r14
je 0x140065e44
lea rdx, [0x14018e170]
mov rcx, rbx
call fcn.140021040
jmp 0x140066311
cmp byte [r13 - 8], dil
je 0x140065e63
test r14, r14
jne 0x140065e6c
lea rdx, [0x14018e1b0]
mov rcx, rbx
call fcn.140021040
jmp 0x140066311
test r14, r14
je 0x140065f7e
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x28], rdi
mov r9b, 0x41
mov qword [rsp + 0x20], rax
mov r8b, 1
mov qword [rsp + 0xb0], rdi
mov rdx, r14
mov rcx, r15
call fcn.140042280
test eax, eax
jne 0x140066311
mov r14, qword [rsp + 0xb0]
test r14, r14
jne 0x140065ec0
lea rdx, [0x14018e1e8]
mov rcx, rbx
call fcn.140021040
jmp 0x140066311
mov eax, 0x2460
test word [r14 + 8], ax
jne 0x140065ed2
cmp dword [r14 + 0x20], edi
je 0x140065eda
mov rcx, r14
call fcn.140041500
mov rcx, qword [r14 + 0x28]
test rcx, rcx
je 0x140065f24
cmp qword [rcx + 0x298], rdi
je 0x140065ef9
mov rdx, r14
call fcn.14001de40
jmp 0x140065f7e
cmp r14, qword [rcx + 0x180]
jb 0x140065f24
cmp r14, qword [rcx + 0x188]
jae 0x140065f24
mov rax, qword [rcx + 0x178]
mov qword [r14], rax
dec dword [rcx + 0x160]
mov qword [rcx + 0x178], r14
jmp 0x140065f7e
cmp dword [0x1401b4410], edi
je 0x140065f75
mov rcx, qword [0x1401bae88]
test rcx, rcx
je 0x140065f3e
call qword [0x1401b4498]
mov rcx, r14
call qword [0x1401b4450]
dec qword [0x1401bac38]
movsxd rcx, eax
sub qword [0x1401babf0], rcx
mov rcx, r14
call qword [0x1401b4440]
mov rcx, qword [0x1401bae88]
test rcx, rcx
je 0x140065f7e
call qword [0x1401b44a8]
jmp 0x140065f7e
mov rcx, r14
call qword [0x1401b4440]
mov rax, qword [rsp + 0xb8]
mov r12, qword [rax]
test r12, r12
je 0x1400660f4
mov r13d, dword [rax + 8]
mov rcx, r15
lea rdx, [r13 + 1]
call fcn.14001e2a0
mov r14, rax
test rax, rax
je 0x1400660f4
mov r8d, r13d
mov rdx, r12
mov rcx, rax
call fcn.140132db0
mov rdx, qword [rsp + 0xb8]
mov byte [r14 + r13], dil
mov r12d, dword [r15 + 0x2c]
mov edx, dword [rdx + 8]
dec edx
add rdx, r14
cmp rdx, r14
jbe 0x140065ff8
lea rcx, [0x1401923d0]
movzx eax, byte [rdx]
cmp al, 0x3b
je 0x140065fed
test byte [rax + rcx], 1
je 0x140065ff8
mov byte [rdx], dil
dec rdx
cmp rdx, r14
ja 0x140065fe0
or dword [r15 + 0x2c], 0x200000
lea rdx, [0x14018d610]
mov rcx, qword [rsp + 0xc8]
lea r9, [0x14018d5f8]
mov r8, qword [rsp + 0xc0]
cmp ebp, 1
cmovne r9, rdx
mov rdx, qword [rsp + 0x40]
mov ecx, dword [rcx + 0x48]
mov qword [rsp + 0x38], rdx
lea rdx, [0x14018e220]
lea eax, [rcx + 1]
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], ecx
mov rcx, rbx
call fcn.14006ac00
cmp qword [r15 + 0x298], rdi
je 0x14006606a
mov rdx, r14
mov rcx, r15
call fcn.14001de40
jmp 0x1400660f0
cmp r14, qword [r15 + 0x180]
jb 0x140066096
cmp r14, qword [r15 + 0x188]
jae 0x140066096
mov rax, qword [r15 + 0x178]
mov qword [r14], rax
dec dword [r15 + 0x160]
mov qword [r15 + 0x178], r14
jmp 0x1400660f0
cmp dword [0x1401b4410], edi
je 0x1400660e7
mov rcx, qword [0x1401bae88]
test rcx, rcx
je 0x1400660b0
call qword [0x1401b4498]
mov rcx, r14
call qword [0x1401b4450]
dec qword [0x1401bac38]
movsxd rcx, eax
sub qword [0x1401babf0], rcx
mov rcx, r14
call qword [0x1401b4440]
mov rcx, qword [0x1401bae88]
test rcx, rcx
je 0x1400660f0
call qword [0x1401b44a8]
jmp 0x1400660f0
mov rcx, r14
call qword [0x1401b4440]
mov dword [r15 + 0x2c], r12d
movzx eax, byte [rbx + 0x1f]
test al, al
jne 0x140066105
inc dword [rbx + 0x38]
mov r14d, dword [rbx + 0x38]
jmp 0x140066115
dec al
movzx eax, al
mov byte [rbx + 0x1f], al
mov r14d, dword [rbx + rax*4 + 0x18c]
mov rax, qword [rsi + 0x18]
movsxd rcx, dword [rsi + 0xb8]
cmp dword [rax + 0x3c], ecx
jg 0x140066142
mov r9d, r14d
mov dword [rsp + 0x20], 2
mov r8d, ebp
mov edx, 0x65
mov rcx, rsi
call fcn.140042bc0
jmp 0x140066174
lea eax, [rcx + 1]
mov dword [rsi + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rsi + 0x68]
mov word [rax + rcx*8], 0x65
mov byte [rax + rcx*8 + 3], dil
mov dword [rax + rcx*8 + 4], ebp
mov dword [rax + rcx*8 + 8], r14d
mov dword [rax + rcx*8 + 0xc], 2
mov qword [rax + rcx*8 + 0x10], rdi
mov eax, dword [rsi + 0xc4]
bts eax, ebp
mov dword [rsi + 0xc4], eax
cmp ebp, 1
je 0x1400661ae
mov rax, qword [rsi]
mov rcx, qword [rax + 0x20]
mov rax, qword [rsp + 0x48]
mov rax, qword [rcx + rax + 8]
cmp byte [rax + 0x11], dil
je 0x1400661ae
mov eax, dword [rsi + 0xc8]
bts eax, ebp
mov dword [rsi + 0xc8], eax
mov rax, qword [rsi + 0x18]
movsxd rcx, dword [rsi + 0xb8]
cmp dword [rax + 0x3c], ecx
jg 0x1400661d9
mov r9d, 0xfffffffe
mov dword [rsp + 0x20], edi
mov r8d, r14d
mov rcx, rsi
lea edx, [r9 + 0x5d]
call fcn.140042bc0
jmp 0x14006620b
lea eax, [rcx + 1]
mov dword [rsi + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rsi + 0x68]
mov word [rax + rcx*8], 0x5b
mov byte [rax + rcx*8 + 3], dil
mov dword [rax + rcx*8 + 4], r14d
mov dword [rax + rcx*8 + 8], 0xfffffffe
mov dword [rax + rcx*8 + 0xc], edi
mov qword [rax + rcx*8 + 0x10], rdi
movsxd rcx, dword [rsi + 0xb8]
mov rax, qword [rsi + 0x18]
lea edx, [rcx + 2]
cmp dword [rax + 0x3c], ecx
jg 0x140066237
mov r9d, edx
mov dword [rsp + 0x20], edi
mov edx, 0x42
mov r8d, r14d
mov rcx, rsi
call fcn.140042bc0
jmp 0x140066265
lea eax, [rcx + 1]
mov dword [rsi + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rsi + 0x68]
mov word [rax + rcx*8], 0x42
mov byte [rax + rcx*8 + 3], dil
mov dword [rax + rcx*8 + 4], r14d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], edi
mov qword [rax + rcx*8 + 0x10], rdi
mov rax, qword [rsi + 0x18]
movsxd rcx, dword [rsi + 0xb8]
cmp dword [rax + 0x3c], ecx
jg 0x140066294
mov r9d, 2
mov dword [rsp + 0x20], 3
mov r8d, ebp
mov rcx, rsi
lea edx, [r9 + 0x64]
call fcn.140042bc0
jmp 0x1400662c9
lea eax, [rcx + 1]
mov dword [rsi + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rsi + 0x68]
mov word [rax + rcx*8], 0x66
mov byte [rax + rcx*8 + 3], dil
mov dword [rax + rcx*8 + 4], ebp
mov dword [rax + rcx*8 + 8], 2
mov dword [rax + rcx*8 + 0xc], 3
mov qword [rax + rcx*8 + 0x10], rdi
test r14d, r14d
je 0x140066301
movzx edx, byte [rbx + 0x1f]
cmp dl, 8
jae 0x140066301
movzx ecx, byte [rbx + 0x25]
lea rax, [rbx + 0xc4]
test ecx, ecx
je 0x1400662f6
cmp dword [rax + 0xc], r14d
je 0x14006633c
inc edi
add rax, 0x14
cmp edi, ecx
jl 0x1400662e6
mov dword [rbx + rdx*4 + 0x18c], r14d
inc byte [rbx + 0x1f]
mov rdx, qword [rsp + 0x50]
mov rcx, rbx
mov r8, qword [rdx]
call fcn.140064f40
mov r13, qword [rsp + 0x70]
mov r12, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x88]
mov r14, qword [rsp + 0x68]
add rsp, 0x90
pop r15
pop rsi
pop rbx
ret
mov byte [rax + 6], 1
jmp 0x140066301