Function at 0x140197d78
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, 0xb8
mov rdi, qword [rcx + 0x10]
xor eax, eax
mov r12, r9
mov byte [rsp + 0x100], al
mov r15, rdx
mov byte [rsp + 0x44], al
mov rbx, rcx
mov qword [rsp + 0x50], rax
lea edx, [rax + 0xf]
mov dword [rsp + 0x60], eax
xor r9d, r9d
mov dword [rsp + 0x64], eax
xor r8d, r8d
mov qword [rsp + 0x88], rdi
mov rcx, rdi
mov dword [rsp + 0x20], eax
mov bpl, al
call fcn.1402156c4
mov r14, qword [r15 + 0x20]
xor r8d, r8d
mov rdx, qword [r12 + 0x60]
mov r13d, r8d
mov dword [rsp + 0x78], eax
mov rax, qword [r15]
mov dword [rsp + 0x40], r8d
mov qword [rsp + 0x48], rdx
mov rsi, qword [rax + 8]
movzx eax, byte [r12 + 0x40]
imul r10, rax, 0x68
lea rax, [rsi + 8]
mov qword [rsp + 0x58], rsi
add rax, r10
mov qword [rsp + 0x68], r10
mov qword [rsp + 0x90], rax
movsxd rax, dword [r15 + 0x14]
mov r15d, r8d
mov rcx, qword [r10 + rsi + 0x28]
movabs r8, 0x8000000000000000
imul rax, rax, 0x38
mov qword [rsp + 0x70], rcx
add rax, r14
mov qword [rsp + 0x80], rax
cmp r14, rax
jae 0x140198019
test byte [r14 + 0x12], 2
jne 0x140197f35
mov rsi, qword [r14]
movzx r8d, byte [r12 + 0x40]
mov rcx, rsi
mov rdx, qword [rsp + 0x58]
call fcn.1401f17c8
xor edx, edx
test eax, eax
je 0x140197f35
mov rbp, qword [rbx]
test rsi, rsi
je 0x140197ea7
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
mov rcx, rbp
call fcn.14019cf18
mov rbp, qword [rbx]
mov rsi, rax
jmp 0x140197eaa
mov rsi, rdx
mov rcx, qword [rsp + 0x50]
test rcx, rcx
jne 0x140197ebb
mov qword [rsp + 0x50], rsi
jmp 0x140197f2d
test rsi, rsi
je 0x140197f2d
mov eax, dword [rsi + 4]
or eax, dword [rcx + 4]
and eax, 0x20000003
cmp eax, 0x20000000
jne 0x140197f15
cmp byte [rbx + 0x134], 2
jae 0x140197f15
mov r8, rcx
lea rdx, [0x1401f0c0c]
mov rcx, rbx
call fcn.140207124
mov r8, rsi
lea rdx, [0x1401f0c0c]
mov rcx, rbx
call fcn.140207124
lea r8, [0x1403271e0]
mov edx, 0x9b
mov rcx, rbp
call fcn.1401edcf8
jmp 0x140197f28
mov r8, rcx
mov r9, rsi
mov rcx, rbx
mov edx, 0x2c
call fcn.140204fd4
mov qword [rsp + 0x50], rax
mov bpl, byte [rsp + 0x100]
mov r8, qword [rsp + 0x110]
mov rcx, r14
mov rdx, qword [rsp + 0x90]
call fcn.14022a888
test eax, eax
je 0x140197fe1
movsxd rcx, dword [r14 + 0x20]
mov esi, 1
shl rsi, cl
movabs rax, 0x8000000000000000
cmp ecx, 0x40
cmovge rsi, rax
test bpl, bpl
jne 0x140197fa4
mov rax, qword [rsp + 0x70]
lea rcx, [rcx + rcx*2]
lea rdx, str.automatic_index_on__s__s_
mov r9, qword [rax + 8]
mov r8, qword [rax]
mov r9, qword [r9 + rcx*8]
mov ecx, 0x11c
call fcn.14018bbb4
mov byte [rsp + 0x100], 1
mov rdx, qword [rsp + 0x48]
test r15, rsi
jne 0x140197fe6
mov rcx, qword [rbx]
lea ebp, [r13 + 1]
mov r8d, ebp
call fcn.140236380
test eax, eax
jne 0x1401985de
mov rdx, qword [rsp + 0x48]
or r15, rsi
movsxd rcx, r13d
mov r13d, ebp
mov dword [rsp + 0x40], ebp
mov rax, qword [rdx + 0x48]
mov qword [rax + rcx*8], r14
jmp 0x140197fe6
mov rdx, qword [rsp + 0x48]
mov bpl, byte [rsp + 0x100]
add r14, 0x38
cmp r14, qword [rsp + 0x80]
jb 0x140197e5b
mov rsi, qword [rsp + 0x58]
movabs r8, 0x8000000000000000
mov r10, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
or rax, 0xffffffffffffffff
mov word [rdx + 0x3c], r13w
mov word [rdx + 0x18], r13w
mov dword [rdx + 0x38], 0x4241
cmp byte [rcx + 0x3f], 2
jne 0x140198039
mov r15, rax
jmp 0x140198044
not r15
or r15, r8
and r15, qword [r10 + rsi + 0x58]
movsx r8d, word [rcx + 0x36]
mov ebp, 0x3f
xor r11d, r11d
mov qword [rsp + 0x98], r15
cmp bp, r8w
jge 0x14019806b
mov r9d, ebp
mov dword [rsp + 0x100], ebp
jmp 0x14019807c
mov dword [rsp + 0x100], r8d
mov r9d, r8d
cmp r11w, r8w
jge 0x1401980a8
mov edx, r11d
mov edi, 1
mov ecx, r13d
mov eax, edx
inc r13d
bt r15, rax
cmovae r13d, ecx
add edx, edi
cmp edx, r9d
jl 0x140198084
mov rdi, qword [rsp + 0x88]
mov dword [rsp + 0x40], r13d
cmp qword [r10 + rsi + 0x58], r11
jge 0x1401980bb
add r13d, 0xffffffc1
add r13d, r8d
mov dword [rsp + 0x40], r13d
mov rcx, qword [rbx]
lea r9, [rsp + 0xa0]
mov edx, 1
xor r8d, r8d
add edx, r13d
call fcn.1401e17e8
xor r8d, r8d
mov r14, rax
test rax, rax
je 0x1401985de
mov rax, qword [rsp + 0x48]
mov r12d, r8d
mov r15, qword [rsp + 0x108]
mov r11, qword [rsp + 0x70]
mov qword [rax + 0x20], r14
lea rax, str.auto_index
mov qword [r14], rax
mov qword [r14 + 0x18], r11
mov r15, qword [r15 + 0x20]
cmp r15, qword [rsp + 0x80]
jae 0x140198221
mov edi, r8d
mov r13d, r8d
mov ebp, r8d
mov r8, qword [rsp + 0x110]
mov rcx, r15
mov rdx, qword [rsp + 0x90]
call fcn.14022a888
xor r8d, r8d
test eax, eax
je 0x1401981f3
mov ecx, dword [r15 + 0x20]
lea eax, [r8 + 1]
shl rax, cl
cmp ecx, 0x40
movabs rcx, 0x8000000000000000
cmovge rax, rcx
test rbp, rax
jne 0x1401981f3
mov rsi, qword [r15]
or rbp, rax
mov rcx, qword [r14 + 8]
movzx eax, word [r15 + 0x20]
mov word [rcx + r13], ax
test dword [rsi + 4], 0x400
je 0x140198196
mov rdx, qword [rsi + 0x18]
mov r8, qword [rsi + 0x10]
jmp 0x14019819e
mov rdx, qword [rsi + 0x10]
mov r8, qword [rsi + 0x18]
mov rcx, rbx
call fcn.1401e4204
xor r8d, r8d
test rax, rax
je 0x1401981b3
mov rcx, qword [rax]
jmp 0x1401981ba
lea rcx, [0x14031f15c]
mov rax, qword [r14 + 0x40]
inc r12d
add r13, 2
mov qword [rdi + rax], rcx
add rdi, 8
mov rcx, qword [rsi + 0x10]
test rcx, rcx
je 0x1401981f3
call fcn.1401ede4c
mov ecx, dword [rsp + 0x44]
cmp al, 0x42
movzx ecx, cl
mov eax, 1
cmovne ecx, eax
xor r8d, r8d
mov dword [rsp + 0x44], ecx
add r15, 0x38
cmp r15, qword [rsp + 0x80]
jb 0x140198127
mov rdi, qword [rsp + 0x88]
mov ebp, 0x3f
mov r13d, dword [rsp + 0x40]
mov rsi, qword [rsp + 0x58]
mov r11, qword [rsp + 0x70]
mov r10d, dword [rsp + 0x100]
mov ecx, r8d
mov r15d, 1
test r10d, r10d
jle 0x14019828c
mov r9, qword [rsp + 0x98]
lea rdi, [0x14031f15c]
movsxd rax, r12d
lea rdx, [rax*8]
lea r8, [rax + rax]
mov eax, ecx
bt r9, rax
jae 0x140198279
mov rax, qword [r14 + 8]
add r12d, r15d
mov word [r8 + rax], cx
add r8, 2
mov rax, qword [r14 + 0x40]
mov qword [rdx + rax], rdi
add rdx, 8
add ecx, r15d
cmp ecx, r10d
jl 0x140198255
mov rdi, qword [rsp + 0x88]
xor r8d, r8d
mov rcx, qword [rsp + 0x68]
cmp qword [rcx + rsi + 0x58], r8
jge 0x1401982dc
cmp bp, word [r11 + 0x36]
jge 0x1401982dc
movsxd rax, r12d
lea r9, [0x14031f15c]
lea rcx, [rax*8]
lea rdx, [rax + rax]
mov rax, qword [r14 + 8]
add r12d, r15d
mov word [rdx + rax], bp
add ebp, r15d
mov rax, qword [r14 + 0x40]
lea rdx, [rdx + 2]
mov qword [rcx + rax], r9
lea rcx, [rcx + 8]
movsx eax, word [r11 + 0x36]
cmp ebp, eax
jl 0x1401982b5
mov rax, qword [r14 + 8]
lea r9d, [r13 + 1]
mov r15, qword [rsp + 0x118]
or rdx, 0xffffffffffffffff
movsxd rcx, r12d
mov ebp, 1
mov dword [rsp + 0x20], r8d
mov word [rax + rcx*2], dx
lea rdx, [0x14031f15c]
mov rax, qword [r14 + 0x40]
mov qword [rax + rcx*8], rdx
lea edx, [rbp + 0x73]
mov eax, dword [rbx + 0x34]
mov rcx, rdi
mov dword [r15 + 8], eax
add dword [rbx + 0x34], ebp
mov r8d, dword [r15 + 8]
call fcn.1402156c4
mov rdx, r14
mov rcx, rbx
call fcn.140220460
mov rax, qword [rbx]
xor r13d, r13d
test dword [rax + 0x60], 0x80000
jne 0x140198381
cmp byte [rsp + 0x44], r13b
je 0x140198381
mov rax, qword [rsp + 0x108]
mov r8, r15
mov rcx, rbx
mov rdx, qword [rax]
call fcn.140225f8c
add dword [rbx + 0x38], ebp
lea edx, [rbp + 0x4c]
mov r9d, dword [rbx + 0x38]
mov r8d, 0x2710
mov rcx, rdi
mov dword [r15 + 0x34], r9d
mov dword [rsp + 0x20], r13d
call fcn.1402156c4
mov rbp, qword [rsp + 0x68]
test byte [rsi + rbp + 0x48], 0x20
je 0x1401983d2
mov esi, dword [rsi + rbp + 0x3c]
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], r13d
mov rcx, rdi
lea edx, [r9 + 0x47]
call fcn.1402156c4
mov dword [rsp + 0x64], eax
xor r9d, r9d
mov rax, qword [rsp + 0x58]
mov r8d, esi
lea edx, [r9 + 0xb]
mov ecx, dword [rax + rbp + 0x38]
mov dword [rsp + 0x20], ecx
mov rcx, rdi
call fcn.1402156c4
mov edx, 0xc
jmp 0x1401983db
mov esi, dword [r15 + 4]
mov edx, 0x24
xor r9d, r9d
mov dword [rsp + 0x20], r13d
mov r8d, esi
mov rcx, rdi
call fcn.1402156c4
mov r13, qword [rsp + 0x50]
xor ecx, ecx
mov ebp, eax
mov edx, 0x10
test r13, r13
je 0x14019842c
or rax, 0xffffffffffffffff
mov r9d, edx
add dword [rbx + 0x44], eax
mov rdx, r13
mov eax, dword [rbx + 0x44]
mov rcx, rbx
mov r8d, eax
mov dword [rsp + 0x60], eax
call fcn.1401f0e88
mov rax, qword [rsp + 0x48]
bts dword [rax + 0x38], 0x11
xor ecx, ecx
mov al, byte [rbx + 0x1f]
test al, al
jne 0x140198440
mov eax, 1
add dword [rbx + 0x38], eax
mov esi, dword [rbx + 0x38]
jmp 0x14019844f
sub al, 1
movzx eax, al
mov byte [rbx + 0x1f], al
mov esi, dword [rbx + rax*4 + 0xe8]
mov r8d, dword [r15 + 4]
mov r9d, esi
mov dword [rsp + 0x38], ecx
mov rdx, r14
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ecx
mov rcx, rbx
call fcn.1401ff828
mov r8d, dword [r15 + 0x34]
mov r14d, eax
test r8d, r8d
je 0x1401984a1
mov rax, qword [rsp + 0x48]
xor r9d, r9d
mov edx, 0xb7
movzx ecx, word [rax + 0x18]
mov dword [rsp + 0x28], ecx
mov rcx, rdi
mov dword [rsp + 0x20], r14d
call fcn.1402157d8
mov r8d, dword [r15 + 8]
mov r9d, esi
and dword [rsp + 0x20], 0
mov edx, 0x8a
mov rcx, rdi
call fcn.1402156c4
movsxd rax, dword [rdi + 0x90]
xor edx, edx
test eax, eax
jle 0x1401984dc
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x88]
lea r8d, [rdx + 0x10]
mov word [rax + rcx*8 - 0x16], r8w
test r13, r13
je 0x1401984ef
mov edx, dword [rsp + 0x60]
mov rcx, rdi
call fcn.1402201dc
xor edx, edx
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x68]
test byte [rcx + rax + 0x48], 0x20
je 0x140198570
mov rax, qword [rdi]
cmp byte [rax + 0x67], dl
je 0x140198511
lea rcx, [0x140343fa0]
jmp 0x140198525
movsxd rax, dword [rsp + 0x64]
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x88]
lea rcx, [rax + rcx*8]
lea eax, [r14 + r12]
mov edx, ebp
mov r14, qword [rsp + 0x58]
mov r12, qword [rsp + 0x68]
mov dword [rcx + 8], eax
mov rcx, rbx
mov eax, dword [r15 + 8]
mov r8d, dword [r15 + 4]
mov r9d, dword [r12 + r14 + 0x40]
mov dword [rsp + 0x20], eax
call fcn.14022ad24
and dword [rsp + 0x20], 0
xor r8d, r8d
mov r9d, ebp
mov rcx, rdi
lea edx, [r8 + 9]
call fcn.1402156c4
and dword [r12 + r14 + 0x48], 0xffffffdf
jmp 0x1401985a9
mov r8d, dword [r15 + 4]
lea r9d, [rbp + 1]
mov dword [rsp + 0x20], edx
mov rcx, rdi
mov edx, 0x27
call fcn.1402156c4
movsxd rax, dword [rdi + 0x90]
test eax, eax
jle 0x1401985a9
lea rcx, [rax + rax*2]
mov edx, 3
mov rax, qword [rdi + 0x88]
mov word [rax + rcx*8 - 0x16], dx
mov edx, ebp
mov rcx, rdi
call fcn.14021dee0
test esi, esi
je 0x1401985d0
cmp byte [rbx + 0x1f], 8
jae 0x1401985d0
movzx eax, byte [rbx + 0x1f]
mov dword [rbx + rax*4 + 0xe8], esi
mov eax, 1
add byte [rbx + 0x1f], al
mov edx, dword [rsp + 0x78]
mov rcx, rdi
call fcn.14021dee0
jmp 0x1401985e3
mov r13, qword [rsp + 0x50]
test r13, r13
je 0x1401985f3
mov rcx, qword [rbx]
mov rdx, r13
call fcn.1401f0c20
add rsp, 0xb8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret