Function at 0x1800b23d0
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 0x1800b2423
mov ebx, esi
jmp 0x1800b2434
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 0x1800b244e
test dx, dx
je 0x1800b244e
mov ebp, dword [rax]
mov dword [rsp + 0x64], ebp
jmp 0x1800b2454
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.18000c4a0
mov r14, rax
mov qword [rsp + 0x80], rax
test rax, rax
jne 0x1800b2485
lea eax, [r14 + 7]
jmp 0x1800b2e3c
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 0x1800b24e0
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 0x1800b24d0
test ebp, ebp
je 0x1800b24fe
movsxd r8, ebp
xor edx, edx
mov qword [rsp + 0x78], rcx
add r8, r8
call fcn.18012e4c0
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 0x1800b2518
mov ecx, 0x30
mov word [r11 + 0x10], cx
mov ecx, esi
test ebp, ebp
je 0x1800b2534
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 0x1800b2b0c
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 0x1800b29da
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 0x1800b29b6
mov r13, qword [r14 - 0x10]
mov rax, r13
not rax
test qword [r11], rax
jne 0x1800b2994
mov r10, qword [r11 + 8]
test r10, r13
jne 0x1800b298c
test dword [r11 + 0x38], 0x4000
je 0x1800b25c7
cmp word [r14], 3
jl 0x1800b298c
movzx r9d, word [r14]
movzx edx, word [r11 + 0x14]
movzx ebx, word [r11 + 0x12]
add dx, r9w
cmp bx, dx
jl 0x1800b260e
movsx ecx, dx
movsx r8d, bx
lea eax, [rcx + 0x31]
cmp r8d, eax
jg 0x1800b2641
lea eax, [rcx + 0x1f]
cmp r8d, eax
jle 0x1800b25fa
inc bx
jmp 0x1800b2641
movsx rcx, bx
movsx rax, dx
sub rcx, rax
movzx eax, byte [rcx + rbp]
add bx, ax
jmp 0x1800b2641
movsx ecx, bx
movsx r8d, dx
lea eax, [rcx + 0x31]
cmp r8d, eax
jle 0x1800b2622
movzx ebx, dx
jmp 0x1800b2641
lea eax, [rcx + 0x1f]
cmp r8d, eax
jle 0x1800b262f
lea ebx, [rdx + 1]
jmp 0x1800b2641
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 0x1800b267b
movsx ecx, dx
movsx r8d, bx
lea eax, [rcx + 0x31]
cmp r8d, eax
jg 0x1800b26ae
lea eax, [rcx + 0x1f]
cmp r8d, eax
jle 0x1800b2667
inc bx
jmp 0x1800b26ae
movsx rax, dx
movsx rcx, bx
sub rcx, rax
movzx eax, byte [rcx + rbp]
add bx, ax
jmp 0x1800b26ae
movsx ecx, bx
movsx r8d, dx
lea eax, [rcx + 0x31]
cmp r8d, eax
jle 0x1800b268f
movzx ebx, dx
jmp 0x1800b26ae
lea eax, [rcx + 0x1f]
cmp r8d, eax
jle 0x1800b269c
lea ebx, [rdx + 1]
jmp 0x1800b26ae
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 0x1800b2718
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.1800b18c0
mov r14, qword [rsp + 0x88]
movzx esi, al
jmp 0x1800b271c
mov r14, qword [r14 - 8]
test sil, sil
js 0x1800b27fe
mov eax, dword [rsp + 0x64]
movsx r9d, sil
cmp r9d, eax
jge 0x1800b27fe
mov rcx, qword [rsp + 0x78]
movsx rdi, sil
movzx edx, word [rcx + rdi*2]
test dx, dx
jne 0x1800b276c
movzx edx, word [rsp + 0xf8]
mov rcx, qword [rsp + 0xf0]
mov r8d, eax
call fcn.1800b22f0
movzx edx, ax
mov rax, qword [rsp + 0x78]
mov word [rax + rdi*2], dx
cmp bx, dx
jl 0x1800b27bc
movsx eax, dx
movsx r8d, bx
lea ecx, [rax + 0x31]
cmp r8d, ecx
jle 0x1800b278c
movzx edx, bx
add dx, 3
jmp 0x1800b2805
add eax, 0x1f
cmp r8d, eax
jle 0x1800b279d
lea edx, [rbx + 1]
add dx, 3
jmp 0x1800b2805
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 0x1800b2805
movsx ecx, bx
movsx r8d, dx
lea eax, [rcx + 0x31]
cmp r8d, eax
jg 0x1800b27f8
lea eax, [rcx + 0x1f]
cmp r8d, eax
jle 0x1800b27dc
inc dx
add dx, 3
jmp 0x1800b2805
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 0x1800b2805
movzx edx, bx
add bx, 0xfffe
movsxd r10, dword [rsp + 0x100]
mov r11, qword [rsp + 0x50]
test r10d, r10d
jne 0x1800b2830
test dword [r11 + 0x38], 0x2000000
je 0x1800b2830
cmp dword [rsp + 0x60], 1
jle 0x1800b2830
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 0x1800b2860
cmp qword [rdi], r13
jne 0x1800b2855
movzx eax, byte [rdi + 0x16]
xor al, sil
jns 0x1800b287b
inc ecx
add rdi, 0x20
cmp ecx, r8d
jl 0x1800b2847
cmp r8d, dword [rsp + 0x4c]
jl 0x1800b28b2
cmp dx, r12w
jg 0x1800b289c
jne 0x1800b2875
cmp bx, r15w
jge 0x1800b289c
mov eax, dword [rsp + 0x48]
jmp 0x1800b28c0
cmp ecx, r8d
jge 0x1800b2860
movzx eax, word [rdi + 0x12]
cmp ax, dx
jl 0x1800b289c
jne 0x1800b28ca
movzx eax, word [rdi + 0x10]
cmp ax, bp
jl 0x1800b289c
jne 0x1800b28ca
cmp word [rdi + 0x14], bx
jg 0x1800b28ca
mov r14, qword [rsp + 0x40]
mov esi, 1
lea rbp, str._n_n_t_t_b_b_a_a_a
jmp 0x1800b2994
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.180128750
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 0x1800b2a5b
movzx r12d, word [r9 + 0x12]
movzx r15d, word [r9 + 0x10]
mov edx, esi
mov dword [rsp + 0x48], 0
cmp ebx, edx
jle 0x1800b2a5b
lea rax, [r9 + 0x32]
movzx ecx, word [rax]
cmp cx, r12w
jg 0x1800b2969
jne 0x1800b2976
cmp word [rax + 2], r15w
jle 0x1800b2976
movzx r15d, word [rax + 2]
movzx r12d, cx
mov dword [rsp + 0x48], edx
inc edx
add rax, 0x20
cmp edx, ebx
jl 0x1800b2957
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 0x1800b2592
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 0x1800b2580
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 0x1800b2550
test r8d, r8d
jne 0x1800b2b04
mov rbx, qword [rsp + 0x70]
lea rdx, str.no_query_solution
mov rcx, rbx
call fcn.18000fdc0
mov rcx, qword [rbx]
mov rbx, qword [rsp + 0x80]
test rcx, rcx
je 0x1800b2a9d
cmp rbx, qword [rcx + 0x208]
jae 0x1800b2a84
cmp rbx, qword [rcx + 0x1f8]
jb 0x1800b2a63
mov rax, qword [rcx + 0x1f0]
mov qword [rbx], rax
mov qword [rcx + 0x1f0], rbx
mov eax, esi
jmp 0x1800b2e3c
mov r11, rax
jmp 0x1800b2985
cmp rbx, qword [rcx + 0x200]
jb 0x1800b2a84
mov rax, qword [rcx + 0x1e0]
mov qword [rbx], rax
mov qword [rcx + 0x1e0], rbx
mov eax, esi
jmp 0x1800b2e3c
cmp qword [rcx + 0x320], 0
je 0x1800b2a9d
mov rdx, rbx
call fcn.18000bfe0
mov eax, esi
jmp 0x1800b2e3c
cmp dword [0x180172920], 0
je 0x1800b2af4
mov rcx, qword [0x1801821a8]
test rcx, rcx
je 0x1800b2ab8
call qword [0x1801729a0]
mov rcx, rbx
call qword [0x180172958]
dec qword [0x180182138]
movsxd rcx, eax
sub qword [0x1801820f0], rcx
mov rcx, rbx
call qword [0x180172948]
mov rcx, qword [0x1801821a8]
test rcx, rcx
je 0x1800b2afd
call qword [0x1801729b0]
mov eax, esi
jmp 0x1800b2e3c
mov rcx, rbx
call qword [0x180172948]
mov eax, esi
jmp 0x1800b2e3c
mov r14, qword [rsp + 0x80]
movsxd rdx, ecx
mov rbx, r11
cmp rdx, 1
jle 0x1800b2b3e
lea rcx, [r11 + 0x32]
dec rdx
nop
movzx eax, word [rcx]
cmp word [rbx + 0x12], ax
jle 0x1800b2b33
movsxd rbx, esi
shl rbx, 5
add rbx, r11
inc esi
add rcx, 0x20
dec rdx
jne 0x1800b2b20
test r13d, r13d
jle 0x1800b2b85
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 0x1800b2b50
movzx eax, word [rdi + 0x3c]
mov ecx, 0x100
test cx, ax
je 0x1800b2bf3
test al, al
js 0x1800b2bf3
cmp byte [rdi + 0x43], 0
jne 0x1800b2bf3
cmp word [rsp + 0xf8], 0
je 0x1800b2bf3
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.1800b18c0
movsx ecx, al
mov rax, qword [rdi + 0x18]
cmp ecx, dword [rax]
jne 0x1800b2bf3
mov byte [rdi + 0x43], 2
and dword [rdi + 0x44], 0xfffffffb
mov rdx, qword [rdi + 0x10]
mov ecx, dword [rdi + 0x44]
test rdx, rdx
je 0x1800b2d72
movzx r8d, word [rdi + 0x3c]
movzx eax, byte [rbx + 0x16]
mov byte [rdi + 0x41], al
test r8b, r8b
jns 0x1800b2c4c
movsx eax, byte [rbx + 0x16]
cmp eax, dword [rdx]
jne 0x1800b2c24
mov byte [rdi + 0x43], 2
mov rax, qword [rdi + 0x20]
mov rcx, qword [rax + 0x48]
test rcx, rcx
je 0x1800b2cfd
movsx eax, byte [rdi + 0x41]
cmp eax, dword [rcx]
jle 0x1800b2cfd
movzx eax, byte [rcx]
mov byte [rdi + 0x41], al
jmp 0x1800b2cfd
mov rax, qword [rbx + 8]
mov qword [rdi + 0x68], rax
movzx eax, byte [rdi + 0x41]
test al, al
jg 0x1800b2ce8
mov byte [rdi + 0x41], 0
test r13d, r13d
jle 0x1800b2cfd
mov rax, qword [rbx + 0x18]
movsxd rcx, r13d
mov r8, qword [rax + rcx*8 - 8]
mov eax, dword [r8 + 0x38]
bt eax, 0xc
jb 0x1800b2cfd
and eax, 0x104
cmp eax, 0x104
je 0x1800b2cfd
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.1800b18c0
mov rdx, qword [rdi + 0x10]
movsx ecx, al
cmp ecx, dword [rdx]
jne 0x1800b2cfd
mov rax, qword [rsp + 0xf0]
or dword [rdi + 0x44], 4
mov qword [rdi + 0x68], rax
jmp 0x1800b2cfd
test r13d, r13d
je 0x1800b2cfd
cmp al, 1
jne 0x1800b2cfd
test r8b, 3
je 0x1800b2cfd
or ecx, 4
mov dword [rdi + 0x44], ecx
mov eax, 0x200
test word [rdi + 0x3c], ax
je 0x1800b2d72
movsx eax, byte [rdi + 0x41]
cmp eax, dword [rdx]
jne 0x1800b2d72
test r13d, r13d
jle 0x1800b2d72
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.1800b18c0
movsx ecx, al
mov rax, qword [rdi + 0x10]
cmp ecx, dword [rax]
jne 0x1800b2d72
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 0x1800b2ddf
cmp r14, qword [rcx + 0x208]
jae 0x1800b2dcb
cmp r14, qword [rcx + 0x1f8]
jb 0x1800b2daf
mov rax, qword [rcx + 0x1f0]
mov qword [r14], rax
mov qword [rcx + 0x1f0], r14
jmp 0x1800b2e3a
cmp r14, qword [rcx + 0x200]
jb 0x1800b2dcb
mov rax, qword [rcx + 0x1e0]
mov qword [r14], rax
mov qword [rcx + 0x1e0], r14
jmp 0x1800b2e3a
cmp qword [rcx + 0x320], 0
je 0x1800b2ddf
mov rdx, r14
call fcn.18000bfe0
jmp 0x1800b2e3a
cmp dword [0x180172920], 0
je 0x1800b2e31
mov rcx, qword [0x1801821a8]
test rcx, rcx
je 0x1800b2dfa
call qword [0x1801729a0]
mov rcx, r14
call qword [0x180172958]
dec qword [0x180182138]
movsxd rcx, eax
sub qword [0x1801820f0], rcx
mov rcx, r14
call qword [0x180172948]
mov rcx, qword [0x1801821a8]
test rcx, rcx
je 0x1800b2e3a
call qword [0x1801729b0]
jmp 0x1800b2e3a
mov rcx, r14
call qword [0x180172948]
xor eax, eax
add rsp, 0xa8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret