Function at 0x140103f30
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, 0xc0
mov rax, qword [0x1401ea8a0]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rsi, rcx
mov qword [rsp + 0x78], rcx
xor ecx, ecx
mov word [rsp + 0x42], dx
mov ebp, 1
mov dword [rsp + 0x54], ecx
movzx r14d, dx
mov qword [rsp + 0x90], rcx
movzx r13d, byte [rsi + 0x40]
movzx edi, cx
mov r8, qword [rsi]
movzx r15d, cx
mov qword [rsp + 0x88], r8
mov dword [rsp + 0x70], r13d
cmp r13d, ebp
ja 0x140103fa2
mov ebx, ebp
jmp 0x140103fb3
cmp r13d, 2
mov ebx, 0xa
mov eax, 5
cmove ebx, eax
mov rax, qword [rsi + 0x10]
mov dword [rsp + 0x50], ebx
test rax, rax
je 0x140103fc7
test dx, dx
je 0x140103fc7
mov ecx, dword [rax]
mov dword [rsp + 0x44], ecx
lea eax, [r13 + 4]
imul eax, ebx
lea ecx, [rcx + rax*8]
add ecx, ecx
movsxd rdx, ecx
mov rcx, qword [r8]
call fcn.140180020
mov qword [rsp + 0xa0], rax
mov r12, rax
test rax, rax
jne 0x140103ffc
lea eax, [r12 + 7]
jmp 0x1401046f4
xorps xmm0, xmm0
mov eax, ebx
shl rax, 5
lea rdx, [r12 + 0x18]
lea r9, [rax + r12]
mov qword [rsp + 0x60], r12
mov r8, r13
mov qword [rsp + 0x80], r9
movups xmmword [r9], xmm0
lea rcx, [rax + r9]
shl r8, 3
movups xmmword [r9 + 0x10], xmm0
lea eax, [rbx + rbx]
mov r10, r12
nop word [rax + rax]
mov qword [rdx], rcx
lea rdx, [rdx + 0x20]
add rcx, r8
dec eax
test eax, eax
jg 0x140104040
movsxd r11, dword [rsp + 0x44]
test r11d, r11d
je 0x14010407f
mov r8, r11
mov qword [rsp + 0x90], rcx
add r8, r8
xor edx, edx
call fcn.1400b83c0
mov r11d, dword [rsp + 0x44]
mov r10, r12
mov r9, qword [rsp + 0x80]
mov rax, qword [rsp + 0x88]
movzx eax, word [rax + 0xe0]
cmp ax, 0x30
jl 0x140104099
mov eax, 0x30
mov word [r9 + 0x10], ax
mov ecx, ebp
test r11d, r11d
je 0x1401040b8
test r13b, r13b
movzx eax, r11b
mov edx, 0xffffffff
cmovne eax, edx
mov byte [r9 + 0x16], al
xor edx, edx
mov dword [rsp + 0x58], edx
test r13b, r13b
je 0x140104460
xor r14d, r14d
mov qword [rsp + 0x68], r14
nop
xor r12d, r12d
test ecx, ecx
jle 0x1401043e6
lea rbp, [r9 + 0x10]
mov eax, ecx
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x98], rax
nop
mov r13, qword [rsi + 0x58]
test r13, r13
je 0x1401043ba
nop dword [rax]
mov rsi, qword [rbp - 0x10]
lea rbx, [rbp - 0x10]
mov rax, rsi
not rax
test qword [r13], rax
jne 0x1401043a0
mov r10, qword [r13 + 8]
test r10, rsi
jne 0x14010439b
test dword [r13 + 0x38], 0x4000
je 0x14010413a
cmp word [rbp], 3
jl 0x14010439b
movzx r11d, word [rbp]
movzx ecx, word [r13 + 0x12]
movzx edx, r11w
add dx, word [r13 + 0x14]
call fcn.14017a9e0
movzx edx, word [rbp + 4]
movzx ecx, ax
call fcn.14017a9e0
add r11w, word [r13 + 0x16]
or rsi, r10
movzx ebp, byte [rbp + 6]
movzx r14d, ax
mov word [rsp + 0x40], r11w
test bpl, bpl
jns 0x1401042fc
lea rax, [rsp + 0xa8]
mov qword [rsp + 0xa8], 0
mov qword [rsp + 0x30], rax
mov r8, rbx
mov eax, dword [rsp + 0x58]
mov qword [rsp + 0x28], r13
mov word [rsp + 0x20], ax
mov rax, qword [rsp + 0x78]
mov rcx, rax
movzx r9d, word [rax + 0x3c]
mov rdx, qword [rax + 0x10]
call fcn.140104810
movzx ebp, al
test al, al
jns 0x14010430d
movzx edx, r14w
add r14w, 0xfffe
mov r10, qword [rsp + 0x60]
xor ecx, ecx
mov rbx, r10
test r12d, r12d
jle 0x1401041fd
cmp qword [rbx], rsi
jne 0x1401041f2
movzx eax, bpl
xor al, byte [rbx + 0x16]
jge 0x14010435e
inc ecx
add rbx, 0x20
cmp ecx, r12d
jl 0x1401041e0
mov r9d, dword [rsp + 0x50]
cmp r12d, r9d
jl 0x14010421c
cmp dx, di
jg 0x14010438f
jne 0x14010421c
cmp r14w, r15w
jge 0x14010438f
movzx ecx, word [rsp + 0x40]
cmp r12d, r9d
mov eax, r12d
cmovge eax, dword [rsp + 0x54]
movsxd rbx, eax
lea eax, [r12 + 1]
shl rbx, 5
add rbx, r10
cmp r12d, r9d
cmovge eax, r12d
mov r12d, eax
mov rax, qword [r13 + 8]
mov r8, qword [rsp + 0x48]
or rax, qword [r8 - 0x10]
mov qword [rbx], rax
mov rax, qword [rsp + 0xa8]
mov byte [rbx + 0x16], bpl
mov rbp, qword [rsp + 0x48]
mov word [rbx + 0x14], r14w
mov r14, qword [rsp + 0x68]
mov word [rbx + 0x10], cx
mov r8, r14
mov rcx, qword [rbx + 0x18]
mov qword [rbx + 8], rax
mov word [rbx + 0x12], dx
mov rdx, qword [rbp + 8]
call fcn.1400b7d10
mov rax, qword [rbx + 0x18]
mov r9d, dword [rsp + 0x50]
mov r10, qword [rsp + 0x60]
mov qword [r14 + rax], r13
cmp r12d, r9d
jl 0x1401043a0
movzx edi, word [r10 + 0x12]
mov edx, 1
movzx r15d, word [r10 + 0x10]
mov dword [rsp + 0x54], 0
cmp r9d, edx
jbe 0x1401043a0
lea rax, [r10 + 0x34]
nop dword [rax + rax]
movzx ecx, word [rax - 2]
cmp cx, di
jg 0x1401042e1
jne 0x1401042ec
cmp word [rax], r15w
jle 0x1401042ec
movzx r15d, word [rax]
movzx edi, cx
mov dword [rsp + 0x54], edx
inc edx
add rax, 0x20
cmp edx, r9d
jl 0x1401042d0
jmp 0x1401043a0
mov rax, qword [rsp + 0x48]
mov rax, qword [rax - 8]
mov qword [rsp + 0xa8], rax
mov r11d, dword [rsp + 0x44]
movzx r9d, bpl
cmp r9d, r11d
jge 0x1401041c8
mov rcx, qword [rsp + 0x90]
movzx eax, word [rcx + r9*2]
lea rbx, [rcx + r9*2]
test ax, ax
jne 0x14010434a
movzx edx, word [rsp + 0x42]
mov r8d, r11d
mov rcx, qword [rsp + 0x78]
call fcn.140104730
mov word [rbx], ax
movzx edx, ax
movzx ecx, r14w
call fcn.14017a9e0
lea edx, [rax + 3]
jmp 0x1401041d1
cmp ecx, r12d
jge 0x1401041fd
cmp word [rbx + 0x12], dx
jl 0x14010438f
movzx ecx, word [rsp + 0x40]
jne 0x140104245
cmp word [rbx + 0x10], cx
jl 0x14010438f
jne 0x140104245
cmp word [rbx + 0x14], r14w
jg 0x140104245
mov rbp, qword [rsp + 0x48]
mov r14, qword [rsp + 0x68]
jmp 0x1401043a0
mov r10, qword [rsp + 0x60]
mov r13, qword [r13 + 0x50]
test r13, r13
jne 0x140104100
mov rsi, qword [rsp + 0x78]
mov rax, qword [rsp + 0x98]
add rbp, 0x20
sub rax, 1
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x98], rax
jne 0x1401040f0
mov edx, dword [rsp + 0x58]
mov r9, qword [rsp + 0x80]
mov r13d, dword [rsp + 0x70]
mov rax, r10
mov qword [rsp + 0x60], r9
inc edx
mov qword [rsp + 0x80], rax
add r14, 8
mov dword [rsp + 0x58], edx
mov qword [rsp + 0x68], r14
mov r10, r9
mov r9, rax
mov ecx, r12d
cmp edx, r13d
jl 0x1401040d0
test r12d, r12d
jne 0x14010444d
mov rbx, qword [rsp + 0x88]
lea rdx, str.no_query_solution
mov rcx, rbx
call fcn.14017cad0
mov rdx, qword [rsp + 0xa0]
mov rcx, qword [rbx]
call fcn.140180440
lea eax, [r12 + 1]
jmp 0x1401046f4
movzx r14d, word [rsp + 0x42]
mov ebp, 1
mov r12, qword [rsp + 0xa0]
movsxd rdx, ecx
mov rbx, r9
cmp rdx, 1
jle 0x140104492
lea rcx, [r9 + 0x32]
dec rdx
movzx eax, word [rcx]
cmp word [rbx + 0x12], ax
jle 0x140104486
movsxd rbx, ebp
shl rbx, 5
add rbx, r9
inc ebp
add rcx, 0x20
sub rdx, 1
jne 0x140104473
test r13b, r13b
je 0x1401044d8
xor r8d, r8d
mov r9d, r13d
lea rdx, [rsi + 0x3a0]
mov rax, qword [rbx + 0x18]
lea rdx, [rdx + 0x70]
lea r8, [r8 + 8]
mov rcx, qword [r8 + rax - 8]
mov qword [rdx - 0x50], rcx
movzx eax, byte [rcx + 0x10]
imul rcx, rax, 0x68
mov byte [rdx - 0x70], al
mov rax, qword [rsi + 8]
mov ecx, dword [rcx + rax + 0x4c]
mov dword [rdx - 0xac], ecx
sub r9, 1
jne 0x1401044a4
movzx eax, word [rsi + 0x3c]
mov ecx, 0x180
and ax, cx
mov ecx, 0x100
cmp ax, cx
jne 0x140104546
cmp byte [rsi + 0x43], 0
jne 0x140104546
test r14w, r14w
je 0x140104546
mov rax, qword [rbx + 0x18]
lea r8, [rsp + 0xa0]
mov qword [rsp + 0x30], r8
lea edx, [r13 - 1]
movzx ecx, r13b
mov r9d, 0x80
mov r8, rbx
mov rax, qword [rax + rcx*8 - 8]
mov rcx, rsi
mov qword [rsp + 0x28], rax
mov word [rsp + 0x20], dx
mov rdx, qword [rsi + 0x18]
call fcn.140104810
movsx ecx, al
mov rax, qword [rsi + 0x18]
cmp ecx, dword [rax]
jne 0x140104546
mov byte [rsi + 0x43], 2
mov ecx, dword [rsi + 0x44]
mov r10, qword [rsi + 0x10]
and ecx, 0xfffffffb
mov dword [rsi + 0x44], ecx
test r10, r10
je 0x1401046d7
movzx r9d, word [rsi + 0x3c]
movsx r11d, byte [rbx + 0x16]
mov byte [rsi + 0x41], r11b
test r9b, r9b
jns 0x1401045a9
movsx eax, byte [rbx + 0x16]
cmp eax, dword [r10]
jne 0x14010457c
mov byte [rsi + 0x43], 2
mov rax, qword [rsi + 0x20]
mov rcx, qword [rax + 0x48]
test rcx, rcx
je 0x14010459d
mov edx, dword [rcx]
cmp r11d, edx
movzx ecx, byte [rsi + 0x41]
movzx r8d, dl
cmovg ecx, r8d
mov byte [rsi + 0x41], cl
movzx eax, r9w
mov rdx, r10
jmp 0x140104665
mov rax, qword [rbx + 8]
mov rdx, r10
mov qword [rsi + 0x68], rax
test r11b, r11b
jg 0x14010464a
mov byte [rsi + 0x41], 0
test r13b, r13b
je 0x140104644
mov rax, qword [rbx + 0x18]
movzx ecx, r13b
mov r11, qword [rax + rcx*8 - 8]
mov eax, dword [r11 + 0x38]
and eax, 0x104
cmp eax, 0x104
setne cl
bt dword [r11 + 0x38], 0xc
setae al
test al, cl
je 0x140104644
lea rcx, [rsp + 0xa0]
mov qword [rsp + 0xa0], 0
mov qword [rsp + 0x30], rcx
lea eax, [r13 - 1]
mov qword [rsp + 0x28], r11
mov rcx, rsi
mov r9d, 0x800
mov word [rsp + 0x20], ax
mov r8, rbx
call fcn.140104810
mov rdx, qword [rsi + 0x10]
movsx ecx, al
cmp ecx, dword [rdx]
jne 0x140104644
mov rax, qword [rsp + 0xa0]
or dword [rsi + 0x44], 4
mov qword [rsi + 0x68], rax
movzx eax, word [rsi + 0x3c]
jmp 0x140104665
movzx eax, r9w
test r13b, r13b
je 0x140104665
cmp r11b, 1
jne 0x140104665
test r9b, 3
je 0x140104665
or ecx, 4
mov dword [rsi + 0x44], ecx
bt ax, 9
jae 0x1401046d7
movsx eax, byte [rsi + 0x41]
cmp eax, dword [rdx]
jne 0x1401046d7
test r13b, r13b
je 0x1401046d7
mov rax, qword [rbx + 0x18]
lea r8, [rsp + 0xa0]
mov qword [rsp + 0x30], r8
xor r9d, r9d
movzx ecx, r13b
mov r8, rbx
mov qword [rsp + 0xa0], 0
dec r13w
mov rax, qword [rax + rcx*8 - 8]
mov rcx, rsi
mov qword [rsp + 0x28], rax
mov word [rsp + 0x20], r13w
call fcn.140104810
movsx ecx, al
mov rax, qword [rsi + 0x10]
cmp ecx, dword [rax]
jne 0x1401046d7
mov rax, qword [rsp + 0xa0]
or dword [rsi + 0x44], 8
mov qword [rsi + 0x68], rax
movzx eax, word [rbx + 0x10]
mov rdx, r12
mov word [rsi + 0x48], ax
mov rax, qword [rsp + 0x88]
mov rcx, qword [rax]
call fcn.140180440
xor eax, eax
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1400b5540
mov rbx, qword [rsp + 0x110]
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret