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

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], r9
mov qword [r11 + 0x10], rdx
mov qword [r11 + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xb0
mov rax, qword [rcx + 0x10]
mov rdi, r9
mov r13, qword [rcx]
mov rbp, r8
xor r8d, r8d
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x60], r13
xorps xmm0, xmm0
mov qword [r11 - 0x68], r8
mov r12, rdx
mov qword [r11 - 0x48], r8
mov r14, rcx
lea r9d, [r8 + 0x40]
movdqu xmmword [r11 - 0x58], xmm0
test rdi, rdi
je 0x14006c892
cmp dword [rdi], r9d
cmovge rdi, r8
mov qword [r11 + 0x20], rdi
movzx ecx, word [rsp + 0x118]
mov edx, 0xfeff
mov r15d, dword [r12]
and cx, dx
test byte [r13 + 0x5c], 0x10
mov qword [rsp + 0x88], rdi
cmove cx, word [rsp + 0x118]
mov word [rsp + 0x40], cx
cmp r15d, r9d
jle 0x14006c8dd
mov r8d, r9d
lea rdx, str.at_most__d_tables_in_a_join
mov rcx, r14
call fcn.14000a098
jmp 0x14006d1f6
movzx eax, cx
mov rcx, r13
and ax, 0x20
mov word [rsp + 0x48], ax
mov word [rsp + 0x68], ax
mov eax, 1
cmovne r15d, eax
mov dword [rsp + 0x44], r15d
lea eax, [r15 + r15*2]
shl eax, 5
add eax, 0x367
movsxd rsi, eax
and rsi, 0xfffffffffffffff8
lea rdx, [rsi + 0x60]
call fcn.14000780c
cmp byte [r13 + 0x63], 0
mov rbx, rax
je 0x14006c935
mov rdx, rax
mov rcx, r13
call fcn.140007594
jmp 0x14006d1f6
mov qword [rax], r14
mov rcx, r14
mov qword [rax + 8], r12
mov qword [rax + 0x10], rdi
mov qword [rax + 0x20], rbp
mov rax, qword [rsp + 0x110]
mov qword [rbx + 0x18], rax
or dword [rbx + 0x2c], 0xffffffff
or dword [rbx + 0x28], 0xffffffff
mov byte [rbx + 0x40], r15b
call fcn.140023ba8
mov dword [rbx + 0x30], eax
lea rcx, [rbx + 0x360]
mov dword [rbx + 0x34], eax
xorps xmm0, xmm0
movzx eax, word [rsp + 0x40]
xor edx, edx
mov word [rbx + 0x3c], ax
mov eax, dword [rsp + 0x120]
mov word [rbx + 0x3e], ax
mov eax, dword [r14 + 0xc0]
mov dword [rbx + 0x38], eax
xor eax, eax
movups xmmword [rbx + 0x41], xmm0
movups xmmword [rbx + 0x51], xmm0
mov qword [rbx + 0x61], rax
mov dword [rbx + 0x69], eax
mov word [rbx + 0x6d], ax
mov byte [rbx + 0x6f], al
movsxd rax, r15d
inc rax
lea r8, [rax + rax*2]
shl r8, 5
call fcn.1400db770
lea rcx, [rsi + rbx]
mov qword [rsp + 0x78], rbx
lea r9, [rbx + 0x70]
mov qword [rsp + 0x90], rcx
mov qword [rsp + 0x80], r9
call fcn.140069244
xor esi, esi
mov rdx, rbx
mov rcx, r9
mov dword [rbx + 0x25c], esi
call fcn.140067bc0
mov r8b, 0x2c
mov rdx, rbp
call fcn.140067b60
mov ecx, 0x100
test r15d, r15d
jne 0x14006ca31
test rdi, rdi
je 0x14006ca13
mov al, byte [rdi]
mov byte [rbx + 0x41], al
test word [rsp + 0x40], cx
je 0x14006ca1e
mov byte [rbx + 0x43], 1
lea r8, str.SCAN_CONSTANT_ROW
xor edx, edx
mov rcx, r14
call fcn.140023a30
jmp 0x14006ca78
lea r15, [r12 + 0x4c]
mov edi, 1
mov edx, dword [r15]
lea rcx, [rbx + 0x258]
call fcn.14006813c
movsxd rcx, esi
lea r8, [rbx + 0x70]
imul rdx, rcx, 0x70
mov rcx, r14
add rdx, 8
add rdx, r12
call fcn.140067e40
add esi, edi
lea r15, [r15 + 0x70]
cmp esi, dword [r12]
jl 0x14006ca3b
mov rdi, qword [rsp + 0x108]
lea rbp, [rbx + 0x70]
mov rcx, r12
mov rdx, rbp
call fcn.140067e00
xor ecx, ecx
cmp byte [r13 + 0x63], cl
jne 0x14006d1e1
mov r15d, ecx
cmp dword [rbp + 0x14], ecx
jle 0x14006cb12
mov r13d, dword [rsp + 0x44]
lea eax, [rcx + 1]
mov esi, ecx
mov rbp, qword [rbx + 0x90]
test byte [rsi + rbp + 0x12], 2
jne 0x14006caf1
cmp qword [rsi + rbp + 0x30], rcx
jne 0x14006caf1
test r13d, r13d
je 0x14006cace
mov rcx, qword [rsi + rbp]
call fcn.14006c7d8
xor ecx, ecx
test eax, eax
je 0x14006caec
mov r8d, dword [rbx + 0x34]
mov r9d, 0x10
mov rdx, qword [rsi + rbp]
mov rcx, r14
call fcn.14003a2d4
or word [rsi + rbp + 0x12], 4
xor ecx, ecx
mov eax, 1
add r15d, eax
add rsi, 0x38
cmp r15d, dword [rbx + 0x84]
jl 0x14006caa5
mov r13, qword [rsp + 0x60]
lea rbp, [rbx + 0x70]
mov r12, qword [rsp + 0xf8]
movzx eax, word [rsp + 0x40]
mov r15d, 0x100
mov rsi, qword [rsp + 0x110]
and ax, r15w
mov word [rsp + 0x108], ax
je 0x14006cb60
mov r9, rsi
mov r8, rbp
mov rdx, r12
mov rcx, r14
call fcn.1400685b4
test eax, eax
je 0x14006cb4e
mov byte [rbx + 0x43], 1
jmp 0x14006cb60
test rdi, rdi
jne 0x14006cb60
mov eax, 0x80
mov qword [rbx + 0x10], rsi
or word [rbx + 0x3c], ax
mov edi, dword [rsp + 0x44]
cmp edi, 1
jne 0x14006cb7a
lea rcx, [rsp + 0x78]
call fcn.14006c5f4
xor r9d, r9d
test eax, eax
jne 0x14006cbc5
lea rcx, [rsp + 0x78]
call fcn.14006b41c
test eax, eax
jne 0x14006d1e1
xor edx, edx
mov rcx, rbx
call fcn.14006be58
xor r9d, r9d
cmp byte [r13 + 0x63], r9b
jne 0x14006d1e1
cmp qword [rbx + 0x10], r9
je 0x14006cbcb
movzx edx, word [rbx + 0x48]
mov rcx, rbx
inc dx
call fcn.14006be58
xor r9d, r9d
cmp byte [r13 + 0x63], r9b
jne 0x14006d1e1
cmp qword [rbx + 0x10], r9
jne 0x14006cbdb
mov eax, dword [r13 + 0x30]
bt rax, 0xc
jae 0x14006cbdb
or qword [rbx + 0x68], 0xffffffffffffffff
cmp dword [r14 + 0x30], r9d
jne 0x14006d1e1
cmp byte [r13 + 0x63], r9b
jne 0x14006d1e1
or qword [rsp + 0x58], 0xffffffffffffffff
cmp byte [rbx + 0x40], 2
jb 0x14006cdcd
test rsi, rsi
je 0x14006cdcd
test dword [r13 + 0x5c], r15d
jne 0x14006cdcd
mov rdx, rsi
lea rsi, [rbx + 0x258]
mov rcx, rsi
call fcn.140067d98
mov rdx, qword [rsp + 0x88]
xor r9d, r9d
mov qword [rsp + 0x70], rax
mov rdi, rax
test rdx, rdx
je 0x14006cc4f
mov rcx, rsi
call fcn.140067d98
or rdi, rax
mov qword [rsp + 0x70], rdi
xor r9d, r9d
movzx edx, byte [rbx + 0x40]
mov r10d, 1
lea edi, [rdx - 1]
cmp edi, r10d
jl 0x14006cdc9
mov r13, qword [rsp + 0x70]
lea rsi, [rdx + rdx*2]
movsxd rcx, edx
shl rsi, 5
sub rsi, 0x60
lea r14, [rcx - 1]
lea r14, [r14 + r14*2]
shl r14, 5
lea rbp, [rcx + rcx*2]
add r14, 0x3b0
shl rbp, 5
add r14, rbx
mov r11, qword [r14]
mov r12, qword [rbx + 8]
movzx eax, byte [r11 + 0x10]
imul r15, rax, 0x70
test byte [r15 + r12 + 0x44], 8
je 0x14006cd96
cmp word [rsp + 0x108], r9w
jne 0x14006cccc
test dword [r11 + 0x28], 0x1000
je 0x14006cd96
mov r8, qword [r11 + 8]
test r13, r8
jne 0x14006cd96
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax + 0x20]
movsxd rax, dword [rax + 0x14]
mov rdx, rcx
imul r9, rax, 0x38
add r9, rcx
cmp rcx, r9
jae 0x14006cd31
mov r13d, 1
test qword [rdx + 0x30], r8
je 0x14006cd18
mov r10, qword [rdx]
test byte [r10 + 4], r13b
je 0x14006cd21
mov eax, dword [r15 + r12 + 0x4c]
cmp dword [r10 + 0x34], eax
jne 0x14006cd21
add rdx, 0x38
cmp rdx, r9
jb 0x14006ccfe
mov r13, qword [rsp + 0x70]
mov r10d, 1
cmp rdx, r9
jb 0x14006cd96
mov rax, r8
not rax
and qword [rsp + 0x58], rax
jmp 0x14006cd51
test qword [rcx + 0x30], r8
je 0x14006cd4d
or word [rcx + 0x12], 4
mov r8, qword [r11 + 8]
add rcx, 0x38
cmp rcx, r9
jb 0x14006cd3e
movzx ecx, byte [rbx + 0x40]
lea eax, [rcx - 1]
cmp edi, eax
je 0x14006cd8e
sub ecx, edi
lea rdx, [rbx + 0x360]
sub ecx, r10d
add rdx, rbp
lea eax, [rcx + rcx*2]
shl eax, 5
lea rcx, [rbx + 0x360]
movsxd r8, eax
add rcx, rsi
call fcn.1400db0d0
mov r10d, 1
dec byte [rbx + 0x40]
sub dword [rsp + 0x44], r10d
sub edi, r10d
sub rbp, 0x60
sub rsi, 0x60
sub r14, 0x60
mov r9d, 0
cmp edi, r10d
jge 0x14006cc97
mov r14, qword [rsp + 0xf0]
mov r13, qword [rsp + 0x60]
mov r12, qword [rsp + 0xf8]
mov edi, dword [rsp + 0x44]
mov rcx, qword [rbx]
movzx r15d, r9w
movsx eax, word [rbx + 0x48]
movzx r8d, word [rsp + 0x40]
add dword [rcx + 0xc0], eax
test r8b, 4
je 0x14006ce4d
mov rdx, qword [rbx + 0x3b0]
mov ecx, dword [rdx + 0x28]
bt ecx, 0xc
jb 0x14006ce1a
mov r15d, r9d
test r8b, 8
je 0x14006ce4d
mov rax, qword [r12 + 0x28]
cmp dword [rax + 0x54], r9d
jne 0x14006ce4d
bt ecx, 0xd
jae 0x14006ce1a
test r8b, 0x10
je 0x14006ce4d
mov eax, ecx
movzx r15d, r9w
and eax, 0x1000
neg eax
sbb al, al
add al, 2
mov byte [rbx + 0x42], al
mov rax, qword [r12 + 0x28]
test byte [rax + 0x40], 0x80
jne 0x14006ce4d
test cl, 0x40
je 0x14006ce4d
and ecx, 0xffffffbf
movzx r15d, r8w
mov dword [rdx + 0x28], ecx
and r15w, 8
test edi, edi
jle 0x14006d103
mov eax, edi
lea r12, [rbx + 0x3b0]
mov qword [rsp + 0xf0], rax
movzx eax, byte [r12 - 0x1c]
mov rcx, r13
mov r10, qword [rsp + 0xf8]
imul rsi, rax, 0x70
mov rdi, qword [rsi + r10 + 0x28]
mov rdx, qword [rdi + 0x70]
call fcn.1400541e8
test dword [rdi + 0x40], 0x4000
mov r11d, eax
mov rbp, qword [r12]
mov qword [rsp + 0x60], rbp
mov dword [rsp + 0x108], eax
jne 0x14006cfd0
cmp qword [rdi + 0x18], r9
jne 0x14006cfd0
test dword [rbp + 0x28], 0x400
je 0x14006cef2
mov rdx, rdi
call fcn.140061840
mov r8d, dword [rsi + r10 + 0x4c]
mov edx, 0xa8
mov rcx, qword [rsp + 0x50]
mov dword [rsp + 0x30], 0xfffffff4
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r9d
xor r9d, r9d
call fcn.14002387c
jmp 0x14006cfbd
cmp dword [rdi + 0x54], r9d
jne 0x14006cfd0
mov eax, 0x40
test byte [rbp + 0x28], al
jne 0x14006cfa3
cmp word [rsp + 0x68], r9w
jne 0x14006cfa3
lea ecx, [rax + 0x21]
cmp byte [rbx + 0x42], r9b
je 0x14006cf2a
lea ecx, [rax + 0x22]
mov eax, dword [rsi + r10 + 0x4c]
mov dword [rbx + 0x28], eax
mov edx, dword [rsi + r10 + 0x4c]
mov r9, rdi
mov dword [rsp + 0x20], ecx
mov r8d, r11d
mov rcx, r14
call fcn.14004c228
xor r9d, r9d
cmp byte [rbx + 0x42], r9b
jne 0x14006cf93
lea eax, [r9 + 0x40]
cmp word [rdi + 0x46], ax
jge 0x14006cf93
test byte [rdi + 0x40], 0xe0
jne 0x14006cf93
mov rax, qword [rsp + 0xf8]
mov ecx, r9d
mov rax, qword [rsi + rax + 0x60]
test rax, rax
je 0x14006cf7a
lea edx, [r9 + 1]
add ecx, edx
shr rax, 1
jne 0x14006cf73
movsxd r8, ecx
mov r9d, 0xfffffffd
mov rcx, qword [rsp + 0x50]
or edx, 0xffffffff
call fcn.140024258
xor r9d, r9d
mov rcx, qword [rsp + 0x50]
movzx edx, r15w
call fcn.140023f10
jmp 0x14006cfc0
mov rax, qword [rdi]
xor r9d, r9d
mov r8d, dword [rdi + 0x38]
mov edx, r11d
mov rcx, r14
mov qword [rsp + 0x20], rax
call fcn.14003fec8
xor r9d, r9d
mov r10, qword [rsp + 0xf8]
mov r11d, dword [rsp + 0x108]
test dword [rbp + 0x28], 0x200
je 0x14006d0d2
mov rbp, qword [rbp + 0x20]
mov edx, 0x61
lea eax, [rdx + 0x1f]
test byte [rdi + 0x40], al
je 0x14006d00b
mov eax, dword [rbp + 0x64]
and al, 3
cmp al, 2
movzx eax, word [rsp + 0x48]
jne 0x14006d010
test ax, ax
je 0x14006d010
mov r8d, dword [r12 - 0x4c]
mov edx, r9d
jmp 0x14006d073
movzx eax, word [rsp + 0x48]
cmp byte [rbx + 0x42], r9b
je 0x14006d04d
mov rax, qword [rsi + r10 + 0x28]
mov r8d, dword [rsp + 0x120]
mov rcx, qword [rax + 0x10]
test rcx, rcx
je 0x14006d042
mov eax, 1
cmp rcx, rbp
je 0x14006d042
mov rcx, qword [rcx + 0x28]
add r8d, eax
test rcx, rcx
jne 0x14006d031
mov edx, 0x62
mov dword [rbx + 0x2c], r8d
jmp 0x14006d073
mov ecx, dword [rsp + 0x120]
test ecx, ecx
je 0x14006d067
test ax, ax
je 0x14006d067
mov r8d, ecx
mov edx, 0x60
jmp 0x14006d073
mov r8d, dword [r14 + 0x34]
lea eax, [r8 + 1]
mov dword [r14 + 0x34], eax
mov dword [r12 - 0x48], r8d
test edx, edx
je 0x14006d0d2
mov rdi, qword [rsp + 0x50]
mov r9d, dword [rbp + 0x58]
mov rcx, rdi
mov dword [rsp + 0x20], r11d
call fcn.1400236b0
mov rdx, rbp
mov rcx, r14
call fcn.14002431c
mov rax, qword [rsp + 0x60]
mov esi, 1
test byte [rax + 0x28], 0xf
je 0x14006d0cd
test dword [rax + 0x28], 0x188002
jne 0x14006d0cd
test byte [rbx + 0x3c], sil
jne 0x14006d0cd
cmp byte [rbx + 0x43], 2
je 0x14006d0cd
lea edx, [rsi + 1]
mov rcx, rdi
call fcn.140023f10
xor r9d, r9d
jmp 0x14006d0d7
mov esi, 1
mov edx, dword [rsp + 0x108]
test edx, edx
js 0x14006d0ed
mov rcx, r14
call fcn.140045ee8
xor r9d, r9d
add r12, 0x60
sub qword [rsp + 0xf0], rsi
jne 0x14006ce66
mov edi, dword [rsp + 0x44]
mov r15, qword [rsp + 0x50]
mov rcx, r15
call fcn.140023d84
mov dword [rbx + 0x4c], eax
cmp byte [r13 + 0x63], r9b
jne 0x14006d1e1
mov ebp, r9d
test edi, edi
jle 0x14006d1d1
lea rdi, [rbx + 0x394]
mov rax, qword [rdi + 0x1c]
lea rsi, [rdi - 0x34]
mov r12, qword [rsp + 0x58]
test dword [rax + 0x28], 0x4000
je 0x14006d177
movzx eax, byte [rdi]
lea rdx, [rbx + 0x70]
mov r8, qword [rsp + 0xf8]
mov r9, r12
imul rcx, rax, 0x70
add r8, 8
mov qword [rsp + 0x20], rsi
add r8, rcx
mov rcx, r14
call fcn.1400687f8
xor eax, eax
cmp byte [r13 + 0x63], al
jne 0x14006d1e1
movzx r9d, word [rsp + 0x40]
mov r8, rsi
mov rdx, qword [rsp + 0xf8]
mov rcx, r14
call fcn.140062fa0
mov rcx, r15
call fcn.140023d84
mov qword [rsp + 0x28], r12
mov r9d, ebp
mov r8, rbx
mov dword [rdi - 0x14], eax
mov rdx, r15
mov qword [rsp + 0x20], rsi
mov rcx, r14
call fcn.140064204
mov edx, dword [rdi - 0x1c]
inc ebp
add rdi, 0x60
mov qword [rsp + 0x58], rax
mov dword [rbx + 0x30], edx
cmp ebp, dword [rsp + 0x44]
jl 0x14006d12f
mov rcx, r15
call fcn.140023d84
mov dword [rbx + 0x50], eax
mov rax, rbx
jmp 0x14006d1f8
mov eax, dword [rbx + 0x38]
mov rdx, rbx
mov rcx, r13
mov dword [r14 + 0xc0], eax
call fcn.140069460
xor eax, eax
mov rbx, qword [rsp + 0x100]
add rsp, 0xb0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret