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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xd0
mov rax, qword [0x14013c0e8]
xor rax, rsp
mov qword [rsp + 0xc0], rax
movzx ebp, byte [rcx + 0x40]
xor ebx, ebx
mov r8, qword [rcx]
cmp ebp, 2
mov word [rsp + 0x50], dx
mov rdi, rcx
mov dword [rsp + 0x6c], ebx
lea eax, [rbx + 5]
mov word [rsp + 0x46], bx
lea esi, [rbx + 1]
mov word [rsp + 0x44], bx
lea r12d, [rbx + 0xa]
mov qword [rsp + 0x80], rbx
cmove r12d, eax
mov qword [rsp + 0x88], r8
mov rax, qword [rcx + 0x10]
cmp ebp, esi
mov dword [rsp + 0x78], ebp
cmovbe r12d, esi
test rax, rax
je 0x140094cc7
test dx, dx
je 0x140094cc7
mov r14d, dword [rax]
mov dword [rsp + 0x74], r14d
jmp 0x140094cce
mov r14d, ebx
mov dword [rsp + 0x74], ebx
lea eax, [rbp + 4]
imul eax, r12d
lea ecx, [r14 + rax*8]
add ecx, ecx
movsxd rdx, ecx
mov rcx, qword [r8]
call fcn.140025360
mov qword [rsp + 0xa0], rax
test rax, rax
jne 0x140094cfd
mov eax, 7
jmp 0x1400953fa
xor edx, edx
mov ebx, r12d
shl rbx, 5
mov r13, rax
mov qword [rsp + 0x60], rax
lea r8d, [rdx + 0x20]
lea r15, [rbx + rax]
mov rcx, r15
mov qword [rsp + 0xa8], r15
call fcn.1400cd940
mov r8, rbp
lea rcx, [rbx + r15]
shl r8, 3
lea eax, [r12 + r12]
mov rdx, r13
add rdx, 0x18
mov qword [rdx], rcx
sub eax, esi
add rcx, r8
lea rdx, [rdx + 0x20]
test eax, eax
jg 0x140094d3c
test r14d, r14d
je 0x140094d66
movsxd r8, r14d
xor edx, edx
add r8, r8
mov qword [rsp + 0x80], rcx
call fcn.1400cd940
mov rax, qword [rsp + 0x88]
mov ecx, 0x30
movzx eax, word [rax + 0xe0]
cmp ax, cx
jl 0x140094d81
mov eax, ecx
mov word [r15 + 0x10], ax
mov ecx, esi
test r14d, r14d
je 0x140094da3
movzx eax, r14b
or edx, 0xffffffff
xor r14d, r14d
test bpl, bpl
cmovne eax, edx
mov byte [r15 + 0x16], al
jmp 0x140094da6
xor r14d, r14d
mov edx, r14d
mov dword [rsp + 0x70], edx
test bpl, bpl
je 0x140095170
mov r9, r14
mov qword [rsp + 0x48], r14
mov dword [rsp + 0x68], r14d
mov r8d, r14d
test ecx, ecx
jle 0x140095122
mov ebp, dword [rsp + 0x74]
lea rbx, [r15 + 0x10]
mov r15d, dword [rsp + 0x70]
mov eax, ecx
xor ecx, ecx
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x98], rax
mov r14, qword [rdi + 0x58]
test r14, r14
je 0x1400950f0
lea rax, [rbx - 0x10]
mov r10, qword [rax]
mov qword [rsp + 0x90], rax
mov rax, r10
not rax
test qword [r14], rax
jne 0x140094f59
mov r11, qword [r14 + 8]
test r10, r11
jne 0x140094f59
test dword [r14 + 0x38], 0x4000
je 0x140094e38
cmp word [rbx], 3
jl 0x140094f59
movzx eax, word [rbx]
movzx ecx, word [r14 + 0x12]
movzx edx, ax
add dx, word [r14 + 0x14]
mov word [rsp + 0x42], ax
call fcn.140029d20
movzx edx, word [rbx + 4]
movzx ecx, ax
call fcn.140029d20
or r11, r10
movzx r13d, ax
movzx eax, word [rsp + 0x42]
add ax, word [r14 + 0x16]
mov r10b, byte [rbx + 6]
mov qword [rsp + 0xb8], r11
xor r11d, r11d
mov word [rsp + 0x42], ax
mov byte [rsp + 0x40], r10b
test r10b, r10b
jns 0x140094f78
movzx r9d, word [rdi + 0x3c]
lea rax, [rsp + 0xb0]
mov r8, qword [rsp + 0x90]
mov rcx, rdi
mov rdx, qword [rdi + 0x10]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r14
mov word [rsp + 0x20], r15w
mov qword [rsp + 0xb0], r11
call fcn.140094334
xor r11d, r11d
mov byte [rsp + 0x40], al
mov r10b, al
test al, al
jns 0x140094f84
movzx edx, r13w
add r13w, 0xfffe
mov r8d, dword [rsp + 0x68]
mov ecx, r11d
mov r11, qword [rsp + 0x60]
mov rbx, r11
test r8d, r8d
jle 0x140094fde
mov r9, qword [rsp + 0xb8]
cmp qword [rbx], r9
jne 0x140094f13
mov al, r10b
xor al, byte [rbx + 0x16]
jge 0x140094f1e
add ecx, esi
add rbx, 0x20
cmp ecx, r8d
jl 0x140094f06
cmp ecx, r8d
jge 0x140094fde
cmp word [rbx + 0x12], dx
jl 0x140094f4f
jne 0x140095020
movzx eax, word [rsp + 0x42]
cmp word [rbx + 0x10], ax
jl 0x140094f4f
jne 0x140095020
cmp word [rbx + 0x14], r13w
jg 0x140095020
mov r13, r11
mov rbx, qword [rsp + 0x58]
xor ecx, ecx
mov r9, qword [rsp + 0x48]
mov r14, qword [r14 + 0x50]
test r14, r14
jne 0x140094df9
mov rax, qword [rsp + 0x98]
jmp 0x1400950f5
mov rax, qword [rbx - 8]
mov qword [rsp + 0xb0], rax
movzx r9d, r10b
cmp r9d, ebp
jge 0x140094edc
mov rax, qword [rsp + 0x80]
mov ebx, r9d
movzx eax, word [rax + r9*2]
test ax, ax
jne 0x140094fca
movzx edx, word [rsp + 0x50]
mov r8d, ebp
mov rcx, rdi
call fcn.140094b70
mov rcx, qword [rsp + 0x80]
xor r11d, r11d
mov r10b, byte [rsp + 0x40]
mov word [rcx + rbx*2], ax
movzx edx, ax
movzx ecx, r13w
call fcn.140029d20
lea edx, [rax + 3]
jmp 0x140094ee5
cmp r8d, r12d
jl 0x140094ffc
cmp dx, word [rsp + 0x46]
jg 0x140094f4f
jne 0x140094ffc
cmp r13w, word [rsp + 0x44]
jge 0x140094f4f
cmp r8d, r12d
mov eax, r8d
cmovge eax, dword [rsp + 0x6c]
movsxd rbx, eax
lea eax, [r8 + 1]
shl rbx, 5
add rbx, r11
cmp r8d, r12d
cmovge eax, r8d
mov dword [rsp + 0x68], eax
mov rax, qword [r14 + 8]
mov rcx, qword [rsp + 0x90]
mov r8, qword [rsp + 0x48]
or rax, qword [rcx]
mov rcx, qword [rbx + 0x18]
mov qword [rbx], rax
mov rax, qword [rsp + 0xb0]
mov word [rbx + 0x12], dx
mov rdx, qword [rsp + 0x58]
mov qword [rbx + 8], rax
movzx eax, word [rsp + 0x42]
mov word [rbx + 0x10], ax
mov word [rbx + 0x14], r13w
mov byte [rbx + 0x16], r10b
mov rdx, qword [rdx + 8]
call fcn.1400cd040
mov rax, qword [rbx + 0x18]
xor ecx, ecx
mov r9, qword [rsp + 0x48]
mov r8d, dword [rsp + 0x68]
mov r13, qword [rsp + 0x60]
mov qword [r9 + rax], r14
cmp r8d, r12d
jl 0x1400950e6
movzx r9d, word [r13 + 0x12]
movzx edx, word [r13 + 0x10]
mov dword [rsp + 0x6c], ecx
mov ecx, esi
mov word [rsp + 0x46], r9w
mov word [rsp + 0x44], dx
cmp r12d, esi
jbe 0x140094f52
lea rax, [r13 + 0x34]
cmp word [rax - 2], r9w
jg 0x1400950bf
jne 0x1400950cb
cmp word [rax], dx
jle 0x1400950cb
movzx r9d, word [rax - 2]
movzx edx, word [rax]
mov dword [rsp + 0x6c], ecx
add ecx, esi
add rax, 0x20
cmp ecx, r12d
jl 0x1400950b1
mov word [rsp + 0x44], dx
mov word [rsp + 0x46], r9w
jmp 0x140094f52
mov rbx, qword [rsp + 0x58]
jmp 0x140094f5e
mov r9, qword [rsp + 0x48]
add rbx, 0x20
sub rax, rsi
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x98], rax
jne 0x140094dec
mov ebp, dword [rsp + 0x78]
xor r14d, r14d
mov r15, qword [rsp + 0xa8]
mov edx, dword [rsp + 0x70]
mov rax, r13
mov qword [rsp + 0x60], r15
add edx, esi
mov qword [rsp + 0xa8], rax
add r9, 8
mov dword [rsp + 0x70], edx
mov qword [rsp + 0x48], r9
mov r13, r15
mov r15, rax
mov ecx, r8d
cmp edx, ebp
jl 0x140094dbe
test r8d, r8d
jne 0x140095170
mov rcx, qword [rsp + 0x88]
lea rdx, str.no_query_solution
call fcn.140028108
jmp 0x1400953e0
movsxd rax, ecx
mov rbx, r15
mov edx, esi
cmp rax, rsi
jle 0x1400951a3
lea rcx, [r15 + 0x32]
lea r8, [rax - 1]
movzx eax, word [rcx]
cmp word [rbx + 0x12], ax
jle 0x140095198
movsxd rbx, edx
shl rbx, 5
add rbx, r15
add edx, esi
add rcx, 0x20
sub r8, rsi
jne 0x140095185
test bpl, bpl
je 0x1400951e6
mov r8, r14
mov r9d, ebp
lea rdx, [rdi + 0x3a0]
mov rax, qword [rbx + 0x18]
mov rcx, qword [r8 + rax]
lea r8, [r8 + 8]
mov qword [rdx + 0x20], rcx
movzx eax, byte [rcx + 0x10]
imul rcx, rax, 0x68
mov byte [rdx], al
lea rdx, [rdx + 0x70]
mov rax, qword [rdi + 8]
mov ecx, dword [rcx + rax + 0x4c]
mov dword [rdx - 0xac], ecx
sub r9, rsi
jne 0x1400951b5
movzx eax, word [rdi + 0x3c]
mov ecx, 0x180
and ax, cx
mov ecx, 0x100
cmp ax, cx
jne 0x140095258
cmp byte [rdi + 0x43], r14b
jne 0x140095258
cmp word [rsp + 0x50], r14w
je 0x140095258
mov rax, qword [rbx + 0x18]
lea r8, [rsp + 0xb8]
mov qword [rsp + 0x30], r8
movzx edx, bp
sub dx, si
movzx ecx, bpl
mov r9d, 0x80
mov r8, rbx
mov rax, qword [rax + rcx*8 - 8]
mov rcx, rdi
mov qword [rsp + 0x28], rax
mov word [rsp + 0x20], dx
mov rdx, qword [rdi + 0x18]
call fcn.140094334
movsx ecx, al
mov rax, qword [rdi + 0x18]
cmp ecx, dword [rax]
jne 0x140095258
mov byte [rdi + 0x43], 2
mov r8d, dword [rdi + 0x44]
mov r10, qword [rdi + 0x10]
and r8d, 0xfffffffb
mov dword [rdi + 0x44], r8d
test r10, r10
je 0x1400953d5
movzx ecx, word [rdi + 0x3c]
movsx r9d, byte [rbx + 0x16]
mov byte [rdi + 0x41], r9b
test cl, cl
jns 0x1400952b1
movsx eax, byte [rbx + 0x16]
cmp eax, dword [r10]
jne 0x14009528f
mov byte [rdi + 0x43], 2
mov rax, qword [rdi + 0x20]
mov rdx, qword [rax + 0x48]
test rdx, rdx
je 0x1400952a6
cmp r9d, dword [rdx]
jle 0x1400952a6
mov al, byte [rdx]
mov byte [rdi + 0x41], al
movzx eax, cx
mov rdx, r10
jmp 0x140095369
mov rax, qword [rbx + 8]
mov rdx, r10
mov qword [rdi + 0x68], rax
test r9b, r9b
jg 0x14009534f
mov byte [rdi + 0x41], r14b
test bpl, bpl
je 0x140095349
mov rax, qword [rbx + 0x18]
movzx ecx, bpl
mov r11, qword [rax + rcx*8 - 8]
mov ecx, 0x104
mov eax, dword [r11 + 0x38]
and eax, ecx
cmp eax, ecx
setne cl
bt dword [r11 + 0x38], 0xc
setae al
test al, cl
je 0x140095349
movzx eax, bp
mov qword [rsp + 0xa8], r14
lea rcx, [rsp + 0xa8]
sub ax, si
mov qword [rsp + 0x30], rcx
mov r9d, 0x800
mov qword [rsp + 0x28], r11
mov rcx, rdi
mov r8, rbx
mov word [rsp + 0x20], ax
call fcn.140094334
mov rdx, qword [rdi + 0x10]
movsx ecx, al
cmp ecx, dword [rdx]
jne 0x140095349
mov rax, qword [rsp + 0xa8]
or dword [rdi + 0x44], 4
mov qword [rdi + 0x68], rax
movzx eax, word [rdi + 0x3c]
jmp 0x140095369
movzx eax, cx
test bpl, bpl
je 0x140095369
cmp r9b, sil
jne 0x140095369
test cl, 3
je 0x140095369
or r8d, 4
mov dword [rdi + 0x44], r8d
bt ax, 9
jae 0x1400953d5
movsx eax, byte [rdi + 0x41]
cmp eax, dword [rdx]
jne 0x1400953d5
test bpl, bpl
je 0x1400953d5
mov rax, qword [rbx + 0x18]
lea r8, [rsp + 0xa8]
mov qword [rsp + 0x30], r8
xor r9d, r9d
movzx ecx, bpl
mov r8, rbx
mov qword [rsp + 0xa8], r14
sub bp, si
mov rax, qword [rax + rcx*8 - 8]
mov rcx, rdi
mov qword [rsp + 0x28], rax
mov word [rsp + 0x20], bp
call fcn.140094334
movsx edx, al
mov rax, qword [rdi + 0x10]
cmp edx, dword [rax]
jne 0x1400953d5
mov rax, qword [rsp + 0xa8]
or dword [rdi + 0x44], 8
mov qword [rdi + 0x68], rax
movzx eax, word [rbx + 0x10]
mov esi, r14d
mov word [rdi + 0x48], ax
mov rax, qword [rsp + 0x88]
mov rdx, qword [rsp + 0xa0]
mov rcx, qword [rax]
call fcn.140025034
mov eax, esi
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1400cb0f0
mov rbx, qword [rsp + 0x120]
add rsp, 0xd0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret