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

Disassembly:
mov word [rsp + 0x10], dx
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xa8
mov rdi, rcx
xor ecx, ecx
mov esi, 1
movzx r13d, byte [rdi + 0x40]
mov r8, qword [rdi]
mov dword [rsp + 0x48], ecx
movzx r12d, cx
movzx r15d, cx
mov qword [rsp + 0x78], rcx
mov qword [rsp + 0x70], r8
mov dword [rsp + 0x60], r13d
cmp r13d, esi
jg 0x1800b1493
mov ebx, esi
jmp 0x1800b14a4
mov ebx, 0xa
mov eax, 5
cmp r13d, 2
cmove ebx, eax
mov rax, qword [rdi + 0x10]
mov dword [rsp + 0x4c], ebx
test rax, rax
je 0x1800b14be
test dx, dx
je 0x1800b14be
mov ebp, dword [rax]
mov dword [rsp + 0x64], ebp
jmp 0x1800b14c4
mov ebp, ecx
mov dword [rsp + 0x64], ecx
lea eax, [r13 + 4]
imul eax, ebx
lea ecx, [rbp + rax*8]
add ecx, ecx
movsxd rdx, ecx
mov rcx, qword [r8]
call fcn.18000b5f0
mov r14, rax
mov qword [rsp + 0x80], rax
test rax, rax
jne 0x1800b14f5
lea eax, [r14 + 7]
jmp 0x1800b1eac
xor ecx, ecx
mov r9, rax
mov qword [rsp + 0x58], rax
movsxd rax, ebx
shl rax, 5
lea r11, [rax + r14]
mov qword [rsp + 0x68], r11
mov qword [r11], rcx
mov qword [r11 + 8], rcx
mov qword [r11 + 0x10], rcx
mov qword [r11 + 0x18], rcx
lea rcx, [rax + r11]
lea eax, [rbx + rbx]
test eax, eax
jle 0x1800b1550
mov r8, r13
lea rdx, [r14 + 0x18]
shl r8, 3
nop word [rax + rax]
mov qword [rdx], rcx
dec eax
add rdx, 0x20
add rcx, r8
test eax, eax
jg 0x1800b1540
test ebp, ebp
je 0x1800b156e
movsxd r8, ebp
xor edx, edx
mov qword [rsp + 0x78], rcx
add r8, r8
call fcn.18012d640
mov r11, qword [rsp + 0x68]
mov r9, r14
mov rax, qword [rsp + 0x70]
movzx eax, word [rax + 0xd8]
movsx ecx, ax
cmp ax, 0x30
jl 0x1800b1588
mov ecx, 0x30
mov word [r11 + 0x10], cx
mov ecx, esi
test ebp, ebp
je 0x1800b15a4
or edx, 0xffffffff
movzx eax, bpl
test r13d, r13d
cmovg eax, edx
mov byte [r11 + 0x16], al
xor r10d, r10d
mov dword [rsp + 0x100], r10d
test r13d, r13d
jle 0x1800b1b7c
lea rbp, str._n_n_t_t_b_b_a_a_a
nop
xor r8d, r8d
mov dword [rsp + 0x108], r8d
test ecx, ecx
jle 0x1800b1a4a
lea r14, [r11 + 0x10]
mov eax, ecx
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x90], rax
nop word [rax + rax]
mov r11, qword [rdi + 0x58]
mov qword [rsp + 0x50], r11
test r11, r11
je 0x1800b1a26
mov r13, qword [r14 - 0x10]
mov rax, r13
not rax
test qword [r11], rax
jne 0x1800b1a04
mov r10, qword [r11 + 8]
test r10, r13
jne 0x1800b19fc
test dword [r11 + 0x38], 0x4000
je 0x1800b1637
cmp word [r14], 3
jl 0x1800b19fc
movzx r9d, word [r14]
movzx edx, word [r11 + 0x14]
movzx ebx, word [r11 + 0x12]
add dx, r9w
cmp bx, dx
jl 0x1800b167e
movsx ecx, dx
movsx r8d, bx
lea eax, [rcx + 0x31]
cmp r8d, eax
jg 0x1800b16b1
lea eax, [rcx + 0x1f]
cmp r8d, eax
jle 0x1800b166a
inc bx
jmp 0x1800b16b1
movsx rcx, bx
movsx rax, dx
sub rcx, rax
movzx eax, byte [rcx + rbp]
add bx, ax
jmp 0x1800b16b1
movsx ecx, bx
movsx r8d, dx
lea eax, [rcx + 0x31]
cmp r8d, eax
jle 0x1800b1692
movzx ebx, dx
jmp 0x1800b16b1
lea eax, [rcx + 0x1f]
cmp r8d, eax
jle 0x1800b169f
lea ebx, [rdx + 1]
jmp 0x1800b16b1
movsx rax, bx
movsx rcx, dx
sub rcx, rax
movzx ebx, byte [rcx + rbp]
add bx, dx
movzx edx, word [r14 + 4]
cmp bx, dx
jl 0x1800b16eb
movsx ecx, dx
movsx r8d, bx
lea eax, [rcx + 0x31]
cmp r8d, eax
jg 0x1800b171e
lea eax, [rcx + 0x1f]
cmp r8d, eax
jle 0x1800b16d7
inc bx
jmp 0x1800b171e
movsx rax, dx
movsx rcx, bx
sub rcx, rax
movzx eax, byte [rcx + rbp]
add bx, ax
jmp 0x1800b171e
movsx ecx, bx
movsx r8d, dx
lea eax, [rcx + 0x31]
cmp r8d, eax
jle 0x1800b16ff
movzx ebx, dx
jmp 0x1800b171e
lea eax, [rcx + 0x1f]
cmp r8d, eax
jle 0x1800b170c
lea ebx, [rdx + 1]
jmp 0x1800b171e
movsx rax, bx
movsx rcx, dx
sub rcx, rax
movzx ebx, byte [rcx + rbp]
add bx, dx
movzx ebp, word [r11 + 0x16]
movzx esi, byte [r14 + 6]
or r13, r10
add bp, r9w
test sil, sil
jns 0x1800b1788
lea rax, [rsp + 0x88]
lea r8, [r14 - 0x10]
mov qword [rsp + 0x88], 0
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x100]
mov qword [rsp + 0x28], r11
mov word [rsp + 0x20], ax
mov rax, qword [rsp + 0xf0]
movzx r9d, word [rax + 0x3c]
mov rdx, qword [rax + 0x10]
mov rcx, rax
call fcn.1800b0930
mov r14, qword [rsp + 0x88]
movzx esi, al
jmp 0x1800b178c
mov r14, qword [r14 - 8]
test sil, sil
js 0x1800b186e
mov eax, dword [rsp + 0x64]
movsx r9d, sil
cmp r9d, eax
jge 0x1800b186e
mov rcx, qword [rsp + 0x78]
movsx rdi, sil
movzx edx, word [rcx + rdi*2]
test dx, dx
jne 0x1800b17dc
movzx edx, word [rsp + 0xf8]
mov rcx, qword [rsp + 0xf0]
mov r8d, eax
call fcn.1800b1360
movzx edx, ax
mov rax, qword [rsp + 0x78]
mov word [rax + rdi*2], dx
cmp bx, dx
jl 0x1800b182c
movsx eax, dx
movsx r8d, bx
lea ecx, [rax + 0x31]
cmp r8d, ecx
jle 0x1800b17fc
movzx edx, bx
add dx, 3
jmp 0x1800b1875
add eax, 0x1f
cmp r8d, eax
jle 0x1800b180d
lea edx, [rbx + 1]
add dx, 3
jmp 0x1800b1875
movsx rax, dx
movsx rcx, bx
sub rcx, rax
lea rax, str._n_n_t_t_b_b_a_a_a
movzx edx, byte [rcx + rax]
add dx, bx
add dx, 3
jmp 0x1800b1875
movsx ecx, bx
movsx r8d, dx
lea eax, [rcx + 0x31]
cmp r8d, eax
jg 0x1800b1868
lea eax, [rcx + 0x1f]
cmp r8d, eax
jle 0x1800b184c
inc dx
add dx, 3
jmp 0x1800b1875
movsx rcx, dx
movsx rax, bx
sub rcx, rax
lea rax, str._n_n_t_t_b_b_a_a_a
movzx eax, byte [rcx + rax]
add ax, dx
movzx edx, ax
add dx, 3
jmp 0x1800b1875
movzx edx, bx
add bx, 0xfffe
movsxd r10, dword [rsp + 0x100]
mov r11, qword [rsp + 0x50]
test r10d, r10d
jne 0x1800b18a0
test dword [r11 + 0x38], 0x2000000
je 0x1800b18a0
cmp dword [rsp + 0x60], 1
jle 0x1800b18a0
add dx, 0xfff6
add bp, 0xffe2
mov r8d, dword [rsp + 0x108]
mov r9, qword [rsp + 0x58]
xor ecx, ecx
mov rdi, r9
test r8d, r8d
jle 0x1800b18d0
cmp qword [rdi], r13
jne 0x1800b18c5
movzx eax, byte [rdi + 0x16]
xor al, sil
jns 0x1800b18eb
inc ecx
add rdi, 0x20
cmp ecx, r8d
jl 0x1800b18b7
cmp r8d, dword [rsp + 0x4c]
jl 0x1800b1922
cmp dx, r12w
jg 0x1800b190c
jne 0x1800b18e5
cmp bx, r15w
jge 0x1800b190c
mov eax, dword [rsp + 0x48]
jmp 0x1800b1930
cmp ecx, r8d
jge 0x1800b18d0
movzx eax, word [rdi + 0x12]
cmp ax, dx
jl 0x1800b190c
jne 0x1800b193a
movzx eax, word [rdi + 0x10]
cmp ax, bp
jl 0x1800b190c
jne 0x1800b193a
cmp word [rdi + 0x14], bx
jg 0x1800b193a
mov r14, qword [rsp + 0x40]
mov esi, 1
lea rbp, str._n_n_t_t_b_b_a_a_a
jmp 0x1800b1a04
mov eax, r8d
inc r8d
mov dword [rsp + 0x108], r8d
movsxd rdi, eax
shl rdi, 5
add rdi, r9
mov rax, qword [rsp + 0x40]
mov rcx, qword [rdi + 0x18]
mov rax, qword [rax - 0x10]
or rax, qword [r11 + 8]
mov qword [rdi + 8], r14
mov r14, qword [rsp + 0x40]
mov word [rdi + 0x14], bx
lea rbx, [r10*8]
mov qword [rdi], rax
mov word [rdi + 0x10], bp
mov word [rdi + 0x12], dx
mov byte [rdi + 0x16], sil
mov rdx, qword [r14 + 8]
mov r8, rbx
call fcn.1801278d0
mov r11, qword [rdi + 0x18]
mov rax, qword [rsp + 0x50]
mov r8d, dword [rsp + 0x108]
mov r9, qword [rsp + 0x58]
mov qword [rbx + r11], rax
mov ebx, dword [rsp + 0x4c]
mov esi, 1
cmp r8d, ebx
jl 0x1800b1acb
movzx r12d, word [r9 + 0x12]
movzx r15d, word [r9 + 0x10]
mov edx, esi
mov dword [rsp + 0x48], 0
cmp ebx, edx
jle 0x1800b1acb
lea rax, [r9 + 0x32]
movzx ecx, word [rax]
cmp cx, r12w
jg 0x1800b19d9
jne 0x1800b19e6
cmp word [rax + 2], r15w
jle 0x1800b19e6
movzx r15d, word [rax + 2]
movzx r12d, cx
mov dword [rsp + 0x48], edx
inc edx
add rax, 0x20
cmp edx, ebx
jl 0x1800b19c7
mov r11, qword [rsp + 0x50]
lea rbp, str._n_n_t_t_b_b_a_a_a
mov r10d, dword [rsp + 0x100]
mov r11, qword [r11 + 0x50]
mov qword [rsp + 0x50], r11
test r11, r11
jne 0x1800b1602
mov rdi, qword [rsp + 0xf0]
mov rax, qword [rsp + 0x90]
add r14, 0x20
dec rax
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x40], r14
jne 0x1800b15f0
mov r13d, dword [rsp + 0x60]
mov r11, qword [rsp + 0x68]
mov rax, r9
inc r10d
mov qword [rsp + 0x58], r11
mov r9, r11
mov ecx, r8d
mov r11, rax
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x100], r10d
cmp r10d, r13d
jl 0x1800b15c0
test r8d, r8d
jne 0x1800b1b74
mov rbx, qword [rsp + 0x70]
lea rdx, str.no_query_solution
mov rcx, rbx
call fcn.18000ef10
mov rcx, qword [rbx]
mov rbx, qword [rsp + 0x80]
test rcx, rcx
je 0x1800b1b0d
cmp rbx, qword [rcx + 0x208]
jae 0x1800b1af4
cmp rbx, qword [rcx + 0x1f8]
jb 0x1800b1ad3
mov rax, qword [rcx + 0x1f0]
mov qword [rbx], rax
mov qword [rcx + 0x1f0], rbx
mov eax, esi
jmp 0x1800b1eac
mov r11, rax
jmp 0x1800b19f5
cmp rbx, qword [rcx + 0x200]
jb 0x1800b1af4
mov rax, qword [rcx + 0x1e0]
mov qword [rbx], rax
mov qword [rcx + 0x1e0], rbx
mov eax, esi
jmp 0x1800b1eac
cmp qword [rcx + 0x320], 0
je 0x1800b1b0d
mov rdx, rbx
call fcn.18000b130
mov eax, esi
jmp 0x1800b1eac
cmp dword [0x180171920], 0
je 0x1800b1b64
mov rcx, qword [0x1801811a8]
test rcx, rcx
je 0x1800b1b28
call qword [0x1801719a0]
mov rcx, rbx
call qword [0x180171958]
dec qword [0x180181138]
movsxd rcx, eax
sub qword [0x1801810f0], rcx
mov rcx, rbx
call qword [0x180171948]
mov rcx, qword [0x1801811a8]
test rcx, rcx
je 0x1800b1b6d
call qword [0x1801719b0]
mov eax, esi
jmp 0x1800b1eac
mov rcx, rbx
call qword [0x180171948]
mov eax, esi
jmp 0x1800b1eac
mov r14, qword [rsp + 0x80]
movsxd rdx, ecx
mov rbx, r11
cmp rdx, 1
jle 0x1800b1bae
lea rcx, [r11 + 0x32]
dec rdx
nop
movzx eax, word [rcx]
cmp word [rbx + 0x12], ax
jle 0x1800b1ba3
movsxd rbx, esi
shl rbx, 5
add rbx, r11
inc esi
add rcx, 0x20
dec rdx
jne 0x1800b1b90
test r13d, r13d
jle 0x1800b1bf5
xor r8d, r8d
lea rdx, [rdi + 0x3a0]
mov r9d, r13d
mov rax, qword [rbx + 0x18]
add rdx, 0x70
add r8, 8
mov rcx, qword [r8 + rax - 8]
mov qword [rdx - 0x50], rcx
movzx eax, byte [rcx + 0x10]
mov byte [rdx - 0x70], al
mov ecx, eax
mov rax, qword [rdi + 8]
imul rcx, rcx, 0x68
dec r9
mov ecx, dword [rcx + rax + 0x4c]
mov dword [rdx - 0xac], ecx
jne 0x1800b1bc0
movzx eax, word [rdi + 0x3c]
mov ecx, 0x100
test cx, ax
je 0x1800b1c63
test al, al
js 0x1800b1c63
cmp byte [rdi + 0x43], 0
jne 0x1800b1c63
cmp word [rsp + 0xf8], 0
je 0x1800b1c63
mov rax, qword [rbx + 0x18]
movsxd rcx, r13d
lea r8, [rsp + 0xf0]
mov rax, qword [rax + rcx*8 - 8]
mov qword [rsp + 0x30], r8
lea edx, [r13 - 1]
mov qword [rsp + 0x28], rax
mov word [rsp + 0x20], dx
mov rdx, qword [rdi + 0x18]
mov r9d, pe_nt_image_headers64
mov r8, rbx
mov rcx, rdi
call fcn.1800b0930
movsx ecx, al
mov rax, qword [rdi + 0x18]
cmp ecx, dword [rax]
jne 0x1800b1c63
mov byte [rdi + 0x43], 2
and dword [rdi + 0x44], 0xfffffffb
mov rdx, qword [rdi + 0x10]
mov ecx, dword [rdi + 0x44]
test rdx, rdx
je 0x1800b1de2
movzx r8d, word [rdi + 0x3c]
movzx eax, byte [rbx + 0x16]
mov byte [rdi + 0x41], al
test r8b, r8b
jns 0x1800b1cbc
movsx eax, byte [rbx + 0x16]
cmp eax, dword [rdx]
jne 0x1800b1c94
mov byte [rdi + 0x43], 2
mov rax, qword [rdi + 0x20]
mov rcx, qword [rax + 0x48]
test rcx, rcx
je 0x1800b1d6d
movsx eax, byte [rdi + 0x41]
cmp eax, dword [rcx]
jle 0x1800b1d6d
movzx eax, byte [rcx]
mov byte [rdi + 0x41], al
jmp 0x1800b1d6d
mov rax, qword [rbx + 8]
mov qword [rdi + 0x68], rax
movzx eax, byte [rdi + 0x41]
test al, al
jg 0x1800b1d58
mov byte [rdi + 0x41], 0
test r13d, r13d
jle 0x1800b1d6d
mov rax, qword [rbx + 0x18]
movsxd rcx, r13d
mov r8, qword [rax + rcx*8 - 8]
mov eax, dword [r8 + 0x38]
bt eax, 0xc
jb 0x1800b1d6d
and eax, 0x104
cmp eax, 0x104
je 0x1800b1d6d
lea rcx, [rsp + 0xf0]
lea eax, [r13 - 1]
mov r9d, 0x800
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], r8
mov r8, rbx
mov rcx, rdi
mov qword [rsp + 0xf0], 0
mov word [rsp + 0x20], ax
call fcn.1800b0930
mov rdx, qword [rdi + 0x10]
movsx ecx, al
cmp ecx, dword [rdx]
jne 0x1800b1d6d
mov rax, qword [rsp + 0xf0]
or dword [rdi + 0x44], 4
mov qword [rdi + 0x68], rax
jmp 0x1800b1d6d
test r13d, r13d
je 0x1800b1d6d
cmp al, 1
jne 0x1800b1d6d
test r8b, 3
je 0x1800b1d6d
or ecx, 4
mov dword [rdi + 0x44], ecx
mov eax, 0x200
test word [rdi + 0x3c], ax
je 0x1800b1de2
movsx eax, byte [rdi + 0x41]
cmp eax, dword [rdx]
jne 0x1800b1de2
test r13d, r13d
jle 0x1800b1de2
mov rax, qword [rbx + 0x18]
movsxd rcx, r13d
lea r8, [rsp + 0xf0]
mov rax, qword [rax + rcx*8 - 8]
mov qword [rsp + 0x30], r8
dec r13w
mov qword [rsp + 0x28], rax
xor r9d, r9d
mov r8, rbx
mov rcx, rdi
mov qword [rsp + 0xf0], 0
mov word [rsp + 0x20], r13w
call fcn.1800b0930
movsx ecx, al
mov rax, qword [rdi + 0x10]
cmp ecx, dword [rax]
jne 0x1800b1de2
mov rax, qword [rsp + 0xf0]
or dword [rdi + 0x44], 8
mov qword [rdi + 0x68], rax
movzx eax, word [rbx + 0x10]
mov word [rdi + 0x48], ax
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax]
test rcx, rcx
je 0x1800b1e4f
cmp r14, qword [rcx + 0x208]
jae 0x1800b1e3b
cmp r14, qword [rcx + 0x1f8]
jb 0x1800b1e1f
mov rax, qword [rcx + 0x1f0]
mov qword [r14], rax
mov qword [rcx + 0x1f0], r14
jmp 0x1800b1eaa
cmp r14, qword [rcx + 0x200]
jb 0x1800b1e3b
mov rax, qword [rcx + 0x1e0]
mov qword [r14], rax
mov qword [rcx + 0x1e0], r14
jmp 0x1800b1eaa
cmp qword [rcx + 0x320], 0
je 0x1800b1e4f
mov rdx, r14
call fcn.18000b130
jmp 0x1800b1eaa
cmp dword [0x180171920], 0
je 0x1800b1ea1
mov rcx, qword [0x1801811a8]
test rcx, rcx
je 0x1800b1e6a
call qword [0x1801719a0]
mov rcx, r14
call qword [0x180171958]
dec qword [0x180181138]
movsxd rcx, eax
sub qword [0x1801810f0], rcx
mov rcx, r14
call qword [0x180171948]
mov rcx, qword [0x1801811a8]
test rcx, rcx
je 0x1800b1eaa
call qword [0x1801719b0]
jmp 0x1800b1eaa
mov rcx, r14
call qword [0x180171948]
xor eax, eax
add rsp, 0xa8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret