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

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
push rbp
push rbx
push rsi
push rdi
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
or edi, 0xffffffff
xor r13d, r13d
mov r15d, r9d
mov r14, rdx
mov rbx, rcx
mov dword [rbp - 0x48], edi
mov dword [rbp - 0x44], r13d
call fcn.140050be0
mov rsi, rax
test rax, rax
je 0x140042690
inc dword [rbx + 0x70]
test byte [r14 + 4], 0x20
jne 0x14004203b
mov rcx, rbx
call fcn.140050be0
mov r8d, dword [rbx + 0x5c]
xor r9d, r9d
mov rcx, rax
lea eax, [r8 + 1]
lea edx, [r9 + 0x2c]
mov dword [rbx + 0x5c], eax
mov dword [rsp + 0x20], r13d
call fcn.140068970
mov edi, eax
mov dword [rbp - 0x48], eax
cmp byte [rbx + 0x1f2], 2
jne 0x14004210f
cmp byte [r14], 0x4b
mov rcx, qword [rbx]
lea rax, str.LIST
lea r9, str.SCALAR
lea r8, str.CORRELATED
lea rdx, str.EXECUTE__s_s_SUBQUERY__d
cmove r9, rax
lea rax, [0x1402d7d50]
test edi, edi
cmovns r8, rax
mov eax, dword [rbx + 0x204]
mov dword [rsp + 0x20], eax
call fcn.140054b00
mov r8d, dword [rbx + 0x200]
xor r9d, r9d
mov edx, 0x9b
mov rcx, rsi
mov r15, rax
mov dword [rsp + 0x20], r13d
call fcn.140068970
mov r8, qword [rsi + 8]
mov rcx, qword [rsi]
test r8, r8
je 0x140042100
cmp byte [rcx + 0x50], r13b
jne 0x140042100
test eax, eax
jns 0x1400420c5
mov eax, dword [rsi + 0x3c]
dec eax
cdqe
lea rdx, [rax + rax*2]
lea rdi, [r8 + rdx*8]
movsx edx, byte [r8 + rdx*8 + 1]
mov r8, qword [rdi + 0x10]
call fcn.140027190
mov qword [rdi + 0x10], r13
test r15, r15
jne 0x1400420f1
mov qword [rdi + 0x10], r13
mov byte [rdi + 1], r13b
jmp 0x14004210b
mov qword [rdi + 0x10], r15
mov byte [rdi + 1], 0xff
jmp 0x14004210b
mov r8, r15
or edx, 0xffffffff
call fcn.140027190
mov r15d, dword [rbp + 0x58]
cmp byte [r14], 0x4b
mov qword [rsp + 0xc0], r12
je 0x1400421fb
mov r9d, dword [rbx + 0x54]
mov r15, qword [r14 + 0x20]
xor r8d, r8d
inc r9d
mov byte [rbp - 0x2f], r13b
mov qword [rbp - 0x28], r13
mov dword [rbx + 0x54], r9d
cmp byte [r14], 0x77
mov dword [rsp + 0x20], r13d
mov dword [rbp - 0x2c], r9d
mov rcx, rsi
jne 0x14004215b
mov byte [rbp - 0x30], 0xa
mov dword [rbp - 0x28], r9d
lea edx, [r8 + 0x1c]
jmp 0x140042164
mov byte [rbp - 0x30], 3
mov edx, 0x19
call fcn.140068970
mov rdx, qword [r15 + 0x60]
mov rcx, qword [rbx]
call fcn.14004a390
mov rcx, qword [rbx]
lea r8, [0x1402d6400]
mov r9d, 1
mov edx, 0x84
call fcn.140047300
mov r12, qword [rbx]
mov rdi, rax
test rax, rax
jne 0x1400421b0
xor edx, edx
mov rcx, r12
call fcn.14004a390
xor edx, edx
mov rcx, r12
call fcn.14004a390
jmp 0x1400421d4
mov rcx, rax
call fcn.140023870
mov rax, qword [rbx]
mov r8d, dword [rax + 0x74]
cmp dword [rdi + 0x28], r8d
jle 0x1400421d4
lea rdx, str.Expression_tree_is_too_large__maximum_depth__d_
mov rcx, rbx
call fcn.140046e00
lea r8, [rbp - 0x30]
mov rdx, r15
mov rcx, rbx
mov qword [r15 + 0x60], rdi
mov dword [r15 + 0xc], r13d
call fcn.140060930
test eax, eax
jne 0x1400422a2
mov edi, dword [rbp - 0x2c]
jmp 0x140042603
mov rcx, qword [r14 + 0x10]
call fcn.140047260
mov r9d, r13d
mov edx, 0x39
mov byte [rbp - 0x50], al
mov eax, dword [rbx + 0x50]
mov rcx, rsi
mov dword [r14 + 0x2c], eax
inc dword [rbx + 0x50]
mov r8d, dword [r14 + 0x2c]
test r15d, r15d
mov dword [rsp + 0x20], r13d
sete r9b
call fcn.140068970
mov r12d, eax
mov dword [rbp - 0x4c], eax
test r15d, r15d
jne 0x14004224f
mov rcx, qword [rbx]
mov edx, 1
mov r8d, edx
call fcn.1400539e0
mov r13, rax
test dword [r14 + 4], 0x800
mov rdi, qword [r14 + 0x20]
mov qword [rbp - 0x10], r13
je 0x1400422c8
mov ecx, dword [r14 + 0x2c]
xor eax, eax
mov byte [rbp - 0x30], VariantTimeToDosDateTime
mov dword [rbp - 0x2c], ecx
movzx ecx, byte [rbp - 0x50]
mov qword [rbp - 0x28], rax
mov byte [rbp - 0x2f], cl
lea r8, [rbp - 0x30]
mov rdx, rdi
mov rcx, rbx
mov dword [rdi + 0xc], eax
call fcn.140060930
test eax, eax
je 0x1400422a9
test r13, r13
je 0x1400422a2
dec dword [r13]
jne 0x1400422a2
mov rcx, r13
call fcn.14000e700
xor eax, eax
jmp 0x140042688
mov rax, qword [rdi]
mov rdx, qword [r14 + 0x10]
mov rcx, rbx
mov r8, qword [rax + 8]
mov r8, qword [r8]
call fcn.14003d410
mov qword [r13 + 0x20], rax
jmp 0x1400425a6
test rdi, rdi
je 0x1400425a6
movzx eax, byte [rbp - 0x50]
mov edx, 0x41
test al, al
mov ecx, eax
cmove ecx, edx
mov byte [rbp - 0x50], cl
test r13, r13
je 0x1400422f9
mov rdx, qword [r14 + 0x10]
mov rcx, rbx
call fcn.14004a040
mov qword [r13 + 0x20], rax
movzx eax, byte [rbx + 0x1f]
test al, al
jne 0x14004230a
inc dword [rbx + 0x54]
mov r15d, dword [rbx + 0x54]
jmp 0x140042317
dec al
movzx eax, al
mov byte [rbx + 0x1f], al
mov r15d, dword [rbx + rax*4 + 0x24]
movzx eax, byte [rbx + 0x1f]
mov dword [rbp - 0x3c], r15d
test al, al
jne 0x14004232c
inc dword [rbx + 0x54]
mov r12d, dword [rbx + 0x54]
jmp 0x140042339
dec al
movzx eax, al
mov byte [rbx + 0x1f], al
mov r12d, dword [rbx + rax*4 + 0x24]
cmp dword [rbp + 0x58], 0
je 0x140042359
xor r8d, r8d
mov r9d, r12d
mov rcx, rsi
lea edx, [r8 + 0x1c]
mov dword [rsp + 0x20], 0
call fcn.140068970
mov eax, dword [rdi]
mov rcx, qword [rdi + 8]
mov dword [rbp - 0x38], eax
mov qword [rbp - 8], rcx
test eax, eax
jle 0x140042528
mov r13d, dword [rbp - 0x3c]
mov r15d, dword [rbp - 0x48]
mov rdi, qword [rcx]
test r15d, r15d
js 0x14004239c
mov rcx, rdi
call fcn.14004ae60
test eax, eax
jne 0x14004239c
mov edx, r15d
mov rcx, rsi
call fcn.140068dd0
mov dword [rbp - 0x48], 0xffffffff
cmp dword [rbp + 0x58], 0
je 0x140042417
test dword [rdi + 4], 0x400
je 0x1400423bf
mov eax, dword [rdi + 8]
mov edx, 0x54
mov dword [rbp - 0x40], eax
mov dword [rsp + 0x20], eax
jmp 0x1400424f5
movzx ecx, byte [rdi]
sub ecx, 0x9d
je 0x1400423f0
dec ecx
jne 0x140042417
mov rcx, qword [rdi + 0x10]
lea rdx, [rbp - 0x40]
call fcn.14004af20
test eax, eax
je 0x140042417
mov eax, dword [rbp - 0x40]
mov edx, 0x54
mov dword [rsp + 0x20], eax
jmp 0x1400424f5
mov rcx, qword [rdi + 0x10]
lea rdx, [rbp - 0x18]
call fcn.14004af20
test eax, eax
je 0x140042417
mov eax, dword [rbp - 0x18]
mov edx, 0x54
neg eax
mov dword [rbp - 0x40], eax
mov dword [rsp + 0x20], eax
jmp 0x1400424f5
mov r8d, r13d
mov rdx, rdi
mov rcx, rbx
call fcn.140048b60
cmp dword [rbp + 0x58], 0
mov rcx, rsi
mov r15d, eax
mov r8d, eax
je 0x14004245d
mov r9d, dword [rsi + 0x3c]
mov edx, 0x26
mov dword [rsp + 0x20], 0
add r9d, 2
call fcn.140068970
mov dword [rsp + 0x20], r15d
mov edx, 0x4b
jmp 0x1400424f5
mov r9d, 1
mov dword [rsp + 0x20], r12d
lea edx, [r9 + 0x30]
call fcn.140068970
mov r8, qword [rsi + 8]
mov rcx, qword [rsi]
test r8, r8
je 0x1400424c9
cmp byte [rcx + 0x50], 0
jne 0x1400424c9
test eax, eax
jns 0x14004248c
mov eax, dword [rsi + 0x3c]
dec eax
cdqe
lea rdx, [rax + rax*2]
lea rdi, [r8 + rdx*8]
movsx edx, byte [r8 + rdx*8 + 1]
mov r8, qword [rdi + 0x10]
call fcn.140027190
mov qword [rdi + 0x10], 0
mov rcx, qword [rsi]
lea rdx, [rbp - 0x50]
mov r8d, 1
call fcn.140044a70
mov byte [rdi + 1], 0xff
mov qword [rdi + 0x10], rax
jmp 0x1400424d7
lea r8, [rbp - 0x50]
mov edx, 1
call fcn.140027190
mov r8d, 1
mov edx, r15d
mov rcx, rbx
call fcn.1400479c0
mov dword [rsp + 0x20], 0
mov edx, 0x6e
mov r8d, dword [r14 + 0x2c]
mov r9d, r12d
mov rcx, rsi
call fcn.140068970
mov eax, dword [rbp - 0x38]
mov rcx, qword [rbp - 8]
dec eax
add rcx, 0x28
mov dword [rbp - 0x38], eax
mov qword [rbp - 8], rcx
test eax, eax
jg 0x140042372
mov r13, qword [rbp - 0x10]
mov r15d, dword [rbp - 0x3c]
test r15d, r15d
je 0x140042562
movzx edx, byte [rbx + 0x1f]
cmp dl, 8
jae 0x140042562
xor ecx, ecx
lea rax, [rbx + 0x88]
nop
cmp dword [rax + 0xc], r15d
je 0x14004255e
inc ecx
add rax, 0x14
cmp ecx, 0xa
jl 0x140042540
movzx eax, dl
mov dword [rbx + rax*4 + 0x24], r15d
inc byte [rbx + 0x1f]
jmp 0x140042562
mov byte [rax + 6], 1
test r12d, r12d
je 0x1400425a2
movzx edx, byte [rbx + 0x1f]
cmp dl, 8
jae 0x1400425a2
xor ecx, ecx
lea rax, [rbx + 0x88]
nop dword [rax]
cmp dword [rax + 0xc], r12d
je 0x14004259e
inc ecx
add rax, 0x14
cmp ecx, 0xa
jl 0x140042580
movzx eax, dl
mov dword [rbx + rax*4 + 0x24], r12d
inc byte [rbx + 0x1f]
jmp 0x1400425a2
mov byte [rax + 6], 1
mov r12d, dword [rbp - 0x4c]
test r13, r13
je 0x1400425fd
mov r8, qword [rsi + 8]
mov rcx, qword [rsi]
test r8, r8
je 0x1400425f0
cmp byte [rcx + 0x50], 0
jne 0x1400425f0
test r12d, r12d
jns 0x1400425c9
mov r12d, dword [rsi + 0x3c]
dec r12d
movsxd rax, r12d
lea rdx, [rax + rax*2]
lea rdi, [r8 + rdx*8]
movsx edx, byte [r8 + rdx*8 + 1]
mov r8, qword [rdi + 0x10]
call fcn.140027190
mov qword [rdi + 0x10], r13
mov byte [rdi + 1], 0xfa
jmp 0x1400425fd
mov r8, r13
mov edx, 0xfffffffa
call fcn.140027190
mov edi, dword [rbp - 0x44]
xor r13d, r13d
mov eax, dword [rbp + 0x50]
test eax, eax
je 0x140042619
mov edx, dword [r14 + 0x2c]
mov r8d, eax
mov rcx, rsi
call fcn.140062d50
mov eax, dword [rbp - 0x48]
test eax, eax
js 0x14004263f
mov edx, dword [rsi + 0x3c]
cmp edx, eax
jbe 0x140042633
lea rcx, [rax + rax*2]
mov rax, qword [rsi + 8]
mov dword [rax + rcx*8 + 8], edx
mov ecx, dword [rsi + 0x3c]
mov rax, qword [rsi + 0x30]
dec ecx
mov dword [rax + 0x64], ecx
dec dword [rbx + 0x70]
lea rcx, [rbx + 0x94]
mov r8d, 0xa
nop
mov edx, dword [rcx]
test edx, edx
je 0x14004267d
mov eax, dword [rbx + 0x70]
cmp dword [rcx - 4], eax
jle 0x14004267d
cmp byte [rcx - 6], 0
je 0x14004267a
movzx eax, byte [rbx + 0x1f]
cmp al, 8
jae 0x140042676
movzx eax, al
mov dword [rbx + rax*4 + 0x24], edx
inc byte [rbx + 0x1f]
mov byte [rcx - 6], 0
mov dword [rcx], r13d
add rcx, 0x14
dec r8
jne 0x140042650
mov eax, edi
mov r12, qword [rsp + 0xc0]
add rsp, 0x80
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbx
pop rbp
ret