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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x98
mov rdi, qword [rcx + 0x10]
xor eax, eax
mov rsi, rdx
mov qword [rsp + 0x58], rax
mov rbx, rcx
mov dword [rsp + 0x64], eax
xor r9d, r9d
mov dword [rsp + 0x68], eax
lea edx, [rax + 0xe]
mov qword [rsp + 0x80], rdi
xor r8d, r8d
mov dword [rsp + 0x20], eax
mov rcx, rdi
mov r12b, al
mov r15d, eax
call fcn.1403821ec
mov r14, qword [rsi + 0x20]
lea r10d, [r15 + 1]
mov r8, qword [rsp + 0xf0]
xor r11d, r11d
mov dword [rsp + 0x6c], eax
mov r13d, r11d
movsxd rax, dword [rsi + 0x14]
mov r9d, r11d
imul rcx, rax, 0x38
mov rax, qword [rsp + 0x100]
mov rbp, qword [r8 + 0x20]
add rcx, r14
mov dword [rsp + 0xe0], r11d
mov qword [rsp + 0x40], rbp
mov rdx, qword [rax + 0x60]
movabs rax, 0x8000000000000000
mov qword [rsp + 0x78], rcx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], r11
cmp r14, rcx
jae 0x140304d45
test byte [r14 + 0x12], 2
mov rsi, qword [r14]
jne 0x140304c47
test byte [r8 + 0x3c], 0x40
jne 0x140304c47
mov eax, dword [rsi + 4]
and eax, r10d
test byte [r8 + 0x3c], 8
je 0x140304b70
test eax, eax
je 0x140304c47
mov eax, dword [r8 + 0x44]
cmp dword [rsi + 0x34], eax
jmp 0x140304b72
test eax, eax
jne 0x140304c47
mov r8d, dword [r8 + 0x44]
mov edx, 3
mov rcx, rsi
call fcn.140309e74
xor ecx, ecx
test eax, eax
je 0x140304c47
test rsi, rsi
je 0x140304bae
mov rcx, qword [rbx]
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
call fcn.140309898
mov rsi, rax
jmp 0x140304bb1
mov rsi, rcx
mov rbp, qword [rbx]
test r15, r15
jne 0x140304bc3
mov r15, rsi
mov qword [rsp + 0x58], rsi
jmp 0x140304c42
test rsi, rsi
je 0x140304c42
mov eax, dword [r15 + 4]
mov ecx, 0x20000001
and eax, ecx
lea edx, [rcx - 1]
cmp eax, edx
je 0x140304be3
mov eax, dword [rsi + 4]
and eax, ecx
cmp eax, edx
jne 0x140304c27
cmp byte [rbx + 0x124], 2
jae 0x140304c27
mov rdx, qword [rbx + 0x58]
mov r8, r15
mov rcx, rbx
call fcn.14035d484
mov r8, rsi
mov qword [rbx + 0x58], rax
mov rdx, rax
mov rcx, rbx
call fcn.14035d484
lea r8, [0x140501c24]
mov qword [rbx + 0x58], rax
mov edx, 0x9b
mov rcx, rbp
call fcn.140359bcc
jmp 0x140304c3a
mov r9, rsi
mov r8, r15
mov edx, 0x2c
mov rcx, rbx
call fcn.140372c00
mov qword [rsp + 0x58], rax
mov r15, rax
mov rbp, qword [rsp + 0x40]
mov r8, qword [rsp + 0xf8]
mov rcx, r14
mov rdx, qword [rsp + 0xf0]
call fcn.140397490
xor r11d, r11d
test eax, eax
je 0x140304d07
movsxd rcx, dword [r14 + 0x20]
lea esi, [r11 + 1]
shl rsi, cl
movabs rax, 0x8000000000000000
cmp ecx, 0x40
cmovge rsi, rax
test r12b, r12b
jne 0x140304cb5
mov r9, qword [rbp + 8]
lea rcx, [rcx + rcx*2]
mov r8, qword [rbp]
lea rdx, str.automatic_index_on__s__s_
mov r9, qword [r9 + rcx*8]
mov ecx, 0x11c
call fcn.1402e3db0
xor r11d, r11d
mov r12d, 1
mov r9, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
test r9, rsi
jne 0x140304d11
mov rcx, qword [rbx]
lea ebp, [r13 + 1]
mov r8d, ebp
call fcn.1403a1e18
xor r11d, r11d
test eax, eax
jne 0x1403052a3
mov r9, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
or r9, rsi
movsxd rcx, r13d
mov r13d, ebp
mov dword [rsp + 0xe0], ebp
mov qword [rsp + 0x50], r9
mov rax, qword [rdx + 0x48]
mov qword [rax + rcx*8], r14
jmp 0x140304d11
mov r9, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
mov r8, qword [rsp + 0xf0]
add r14, 0x38
mov r10d, 1
mov rbp, qword [rsp + 0x40]
cmp r14, qword [rsp + 0x78]
jb 0x140304b39
mov rsi, qword [rsp + 0xe8]
movabs rax, 0x8000000000000000
mov word [rdx + 0x3c], r13w
not r9
mov word [rdx + 0x18], r13w
or r9, rax
mov dword [rdx + 0x38], 0x4241
mov r14d, 0x3f
and r9, qword [r8 + 0x50]
mov edx, r11d
movsx r8d, word [rbp + 0x36]
mov qword [rsp + 0x50], r9
cmp r14w, r8w
jge 0x140304d7e
mov ebp, r14d
jmp 0x140304d8c
mov dword [rsp + 0x60], r8d
mov ebp, r8d
cmp r11w, r8w
jge 0x140304daf
mov ecx, r13d
mov eax, edx
inc r13d
bt r9, rax
cmovae r13d, ecx
add edx, r10d
cmp edx, ebp
jl 0x140304d8c
mov dword [rsp + 0xe0], r13d
mov dword [rsp + 0x60], ebp
mov rax, qword [rsp + 0xf0]
cmp qword [rax + 0x50], r11
jge 0x140304dcc
add r13d, 0xffffffc1
add r13d, r8d
mov dword [rsp + 0xe0], r13d
mov rcx, qword [rbx]
lea edx, [r10 + r13]
lea r9, [rsp + 0x70]
xor r8d, r8d
call fcn.14034d8e4
xor r11d, r11d
mov r15, rax
test rax, rax
je 0x1403052a3
mov rax, qword [rsp + 0x48]
mov r12d, r11d
mov r10, qword [rsp + 0x40]
mov qword [rax + 0x20], r15
lea rax, str.auto_index
mov qword [r15], rax
mov qword [r15 + 0x18], r10
mov rsi, qword [rsi + 0x20]
cmp rsi, qword [rsp + 0x78]
jae 0x140304efa
mov rbp, qword [rsp + 0xf0]
mov r14d, r11d
mov r13d, r11d
mov edi, r11d
mov r8, qword [rsp + 0xf8]
mov rdx, rbp
mov rcx, rsi
call fcn.140397490
xor r11d, r11d
test eax, eax
je 0x140304ecc
mov ecx, dword [rsi + 0x20]
lea eax, [r11 + 1]
shl rax, cl
cmp ecx, 0x40
movabs rcx, 0x8000000000000000
cmovge rax, rcx
test rdi, rax
jne 0x140304ecc
mov rdx, qword [rsi]
or rdi, rax
mov rcx, qword [r15 + 8]
movzx eax, word [rsi + 0x20]
mov word [rcx + r13], ax
test dword [rdx + 4], 0x400
je 0x140304e92
mov rax, qword [rdx + 0x18]
mov r8, qword [rdx + 0x10]
jmp 0x140304e9a
mov rax, qword [rdx + 0x10]
mov r8, qword [rdx + 0x18]
mov rdx, rax
mov rcx, rbx
call fcn.140350080
xor r11d, r11d
test rax, rax
je 0x140304eb2
mov rcx, qword [rax]
jmp 0x140304eb9
lea rcx, [0x1404fa2a4]
mov rax, qword [r15 + 0x40]
inc r12d
add r13, 2
mov qword [r14 + rax], rcx
add r14, 8
add rsi, 0x38
cmp rsi, qword [rsp + 0x78]
jb 0x140304e2e
mov rdi, qword [rsp + 0x80]
mov r14d, 0x3f
mov ebp, dword [rsp + 0x60]
mov r13d, dword [rsp + 0xe0]
mov r10, qword [rsp + 0x40]
lea rsi, [0x1404fa2a4]
mov ecx, r11d
test ebp, ebp
jle 0x140304f55
mov r9, qword [rsp + 0x50]
mov r13d, 1
movsxd rax, r12d
lea rdx, [rax*8]
lea r8, [rax + rax]
mov eax, ecx
bt r9, rax
jae 0x140304f46
mov rax, qword [r15 + 8]
add r12d, r13d
mov word [r8 + rax], cx
add r8, 2
mov rax, qword [r15 + 0x40]
mov qword [rdx + rax], rsi
add rdx, 8
add ecx, r13d
cmp ecx, ebp
jl 0x140304f22
mov r13d, dword [rsp + 0xe0]
mov rax, qword [rsp + 0xf0]
cmp qword [rax + 0x50], r11
jge 0x140304faf
cmp r14w, word [r10 + 0x36]
jge 0x140304faf
movsxd rax, r12d
mov edi, 1
lea rcx, [rax*8]
lea rdx, [rax + rax]
mov rax, qword [r15 + 8]
add r12d, edi
mov word [rdx + rax], r14w
add r14d, edi
mov rax, qword [r15 + 0x40]
lea rdx, [rdx + 2]
mov qword [rcx + rax], rsi
lea rcx, [rcx + 8]
movsx eax, word [r10 + 0x36]
cmp r14d, eax
jl 0x140304f7e
mov rdi, qword [rsp + 0x80]
mov rax, qword [r15 + 8]
lea r9d, [r13 + 1]
or edx, 0xffffffff
movsxd rcx, r12d
mov dword [rsp + 0x20], r11d
mov word [rax + rcx*2], dx
mov rax, qword [r15 + 0x40]
mov qword [rax + rcx*8], rsi
mov rcx, rdi
mov eax, dword [rbx + 0x34]
mov rsi, qword [rsp + 0x100]
mov dword [rsi + 8], eax
lea eax, [rdx + 2]
add dword [rbx + 0x34], eax
lea edx, [rax + 0x73]
mov r8d, dword [rsi + 8]
call fcn.1403821ec
mov rdx, r15
mov rcx, rbx
call fcn.14038cb8c
mov rax, qword [rbx]
test dword [rax + 0x60], 0x80000
jne 0x14030502f
mov r9d, dword [rbx + 0x38]
mov edx, 0x4d
and dword [rsp + 0x20], 0
inc r9d
mov dword [rbx + 0x38], r9d
mov r8d, 0x2710
mov rcx, rdi
mov dword [rsi + 0x34], r9d
call fcn.1403821ec
movzx eax, byte [rsi + 0x40]
imul rbp, rax, 0x68
mov rax, qword [rsp + 0xe8]
mov rax, qword [rax]
mov r14, qword [rax + 8]
test byte [r14 + rbp + 0x48], 0x20
je 0x140305090
mov esi, dword [r14 + rbp + 0x3c]
xor r9d, r9d
and dword [rsp + 0x20], 0
xor r8d, r8d
mov rcx, rdi
lea edx, [r9 + 0x47]
call fcn.1403821ec
mov ecx, dword [r14 + rbp + 0x38]
xor r9d, r9d
mov dword [rsp + 0x20], ecx
mov r8d, esi
mov rcx, rdi
mov dword [rsp + 0x68], eax
lea edx, [r9 + 0xa]
call fcn.1403821ec
mov edx, 0xb
jmp 0x140305098
mov esi, dword [rsi + 4]
mov edx, 0x23
and dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, esi
mov rcx, rdi
call fcn.1403821ec
mov r13d, eax
xor ecx, ecx
mov rax, qword [rsp + 0x58]
mov edx, 0x10
test rax, rax
je 0x1403050e6
dec dword [rbx + 0x44]
mov r9d, edx
mov ecx, dword [rbx + 0x44]
mov rdx, rax
mov dword [rsp + 0x64], ecx
mov r8d, ecx
mov rcx, rbx
call fcn.14035cb5c
mov rax, qword [rsp + 0x48]
bts dword [rax + 0x38], 0x11
xor ecx, ecx
mov al, byte [rbx + 0x1f]
test al, al
jne 0x1403050fa
mov eax, 1
add dword [rbx + 0x38], eax
mov esi, dword [rbx + 0x38]
jmp 0x140305109
sub al, 1
movzx eax, al
mov byte [rbx + 0x1f], al
mov esi, dword [rbx + rax*4 + 0xd8]
mov rax, qword [rsp + 0x100]
mov r9d, esi
mov dword [rsp + 0x38], ecx
mov rdx, r15
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rcx
mov r8d, dword [rax + 4]
mov dword [rsp + 0x20], ecx
mov rcx, rbx
call fcn.14036d65c
mov r15d, eax
mov rax, qword [rsp + 0x100]
mov r8d, dword [rax + 0x34]
test r8d, r8d
je 0x140305173
mov rax, qword [rsp + 0x48]
xor r9d, r9d
mov edx, 0xb4
movzx ecx, word [rax + 0x18]
mov dword [rsp + 0x28], ecx
mov rcx, rdi
mov dword [rsp + 0x20], r15d
call fcn.140382300
mov rax, qword [rsp + 0x100]
mov r8d, dword [rax + 8]
mov r9d, esi
and dword [rsp + 0x20], 0
mov edx, 0x8a
mov rcx, rdi
call fcn.1403821ec
movsxd rax, dword [rdi + 0x90]
test eax, eax
jle 0x1403051ac
lea rcx, [rax + rax*2]
mov edx, 0x10
mov rax, qword [rdi + 0x88]
mov word [rax + rcx*8 - 0x16], dx
cmp qword [rsp + 0x58], 0
je 0x1403051c0
mov edx, dword [rsp + 0x64]
mov rcx, rdi
call fcn.14038c910
test byte [r14 + rbp + 0x48], 0x20
mov rcx, rdi
je 0x14030521e
mov edx, dword [rsp + 0x68]
lea r9d, [r15 + r12]
call fcn.14038a0dc
mov rcx, qword [rsp + 0x100]
mov edx, r13d
mov dword [rax + 8], r9d
mov eax, dword [rcx + 8]
mov r8d, dword [rcx + 4]
mov rcx, rbx
mov r9d, dword [r14 + rbp + 0x40]
mov dword [rsp + 0x20], eax
call fcn.140397920
and dword [rsp + 0x20], 0
xor r8d, r8d
mov r9d, r13d
mov rcx, rdi
lea edx, [r8 + 8]
call fcn.1403821ec
and dword [r14 + rbp + 0x48], 0xffffffdf
jmp 0x14030525d
mov rax, qword [rsp + 0x100]
lea r9d, [r13 + 1]
and dword [rsp + 0x20], 0
mov edx, 0x26
mov r8d, dword [rax + 4]
call fcn.1403821ec
movsxd rax, dword [rdi + 0x90]
test eax, eax
jle 0x14030525d
lea rcx, [rax + rax*2]
mov edx, 3
mov rax, qword [rdi + 0x88]
mov word [rax + rcx*8 - 0x16], dx
mov edx, r13d
mov rcx, rdi
call fcn.14038a0dc
mov ecx, dword [rdi + 0x90]
mov dword [rax + 8], ecx
test esi, esi
je 0x14030528e
cmp byte [rbx + 0x1f], 8
jae 0x14030528e
movzx eax, byte [rbx + 0x1f]
mov dword [rbx + rax*4 + 0xd8], esi
mov eax, 1
add byte [rbx + 0x1f], al
mov edx, dword [rsp + 0x6c]
mov rcx, rdi
call fcn.14038a0dc
mov ecx, dword [rdi + 0x90]
mov dword [rax + 8], ecx
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x1403052b8
mov rcx, qword [rbx]
mov rdx, rax
call fcn.14035c8e0
add rsp, 0x98
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret