Function at 0x1800b23e0
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 0x1800b2433
mov ebx, esi
jmp 0x1800b2444
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 0x1800b245e
test dx, dx
je 0x1800b245e
mov ebp, dword [rax]
mov dword [rsp + 0x64], ebp
jmp 0x1800b2464
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 0x1800b2495
lea eax, [r14 + 7]
jmp 0x1800b2e4c
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 0x1800b24f0
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 0x1800b24e0
test ebp, ebp
je 0x1800b250e
movsxd r8, ebp
xor edx, edx
mov qword [rsp + 0x78], rcx
add r8, r8
call fcn.18012e4b0
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 0x1800b2528
mov ecx, 0x30
mov word [r11 + 0x10], cx
mov ecx, esi
test ebp, ebp
je 0x1800b2544
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 0x1800b2b1c
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 0x1800b29ea
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 0x1800b29c6
mov r13, qword [r14 - 0x10]
mov rax, r13
not rax
test qword [r11], rax
jne 0x1800b29a4
mov r10, qword [r11 + 8]
test r10, r13
jne 0x1800b299c
test dword [r11 + 0x38], 0x4000
je 0x1800b25d7
cmp word [r14], 3
jl 0x1800b299c
movzx r9d, word [r14]
movzx edx, word [r11 + 0x14]
movzx ebx, word [r11 + 0x12]
add dx, r9w
cmp bx, dx
jl 0x1800b261e
movsx ecx, dx
movsx r8d, bx
lea eax, [rcx + 0x31]
cmp r8d, eax
jg 0x1800b2651
lea eax, [rcx + 0x1f]
cmp r8d, eax
jle 0x1800b260a
inc bx
jmp 0x1800b2651
movsx rcx, bx
movsx rax, dx
sub rcx, rax
movzx eax, byte [rcx + rbp]
add bx, ax
jmp 0x1800b2651
movsx ecx, bx
movsx r8d, dx
lea eax, [rcx + 0x31]
cmp r8d, eax
jle 0x1800b2632
movzx ebx, dx
jmp 0x1800b2651
lea eax, [rcx + 0x1f]
cmp r8d, eax
jle 0x1800b263f
lea ebx, [rdx + 1]
jmp 0x1800b2651
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 0x1800b268b
movsx ecx, dx
movsx r8d, bx
lea eax, [rcx + 0x31]
cmp r8d, eax
jg 0x1800b26be
lea eax, [rcx + 0x1f]
cmp r8d, eax
jle 0x1800b2677
inc bx
jmp 0x1800b26be
movsx rax, dx
movsx rcx, bx
sub rcx, rax
movzx eax, byte [rcx + rbp]
add bx, ax
jmp 0x1800b26be
movsx ecx, bx
movsx r8d, dx
lea eax, [rcx + 0x31]
cmp r8d, eax
jle 0x1800b269f
movzx ebx, dx
jmp 0x1800b26be
lea eax, [rcx + 0x1f]
cmp r8d, eax
jle 0x1800b26ac
lea ebx, [rdx + 1]
jmp 0x1800b26be
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 0x1800b2728
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.1800b18d0
mov r14, qword [rsp + 0x88]
movzx esi, al
jmp 0x1800b272c
mov r14, qword [r14 - 8]
test sil, sil
js 0x1800b280e
mov eax, dword [rsp + 0x64]
movsx r9d, sil
cmp r9d, eax
jge 0x1800b280e
mov rcx, qword [rsp + 0x78]
movsx rdi, sil
movzx edx, word [rcx + rdi*2]
test dx, dx
jne 0x1800b277c
movzx edx, word [rsp + 0xf8]
mov rcx, qword [rsp + 0xf0]
mov r8d, eax
call fcn.1800b2300
movzx edx, ax
mov rax, qword [rsp + 0x78]
mov word [rax + rdi*2], dx
cmp bx, dx
jl 0x1800b27cc
movsx eax, dx
movsx r8d, bx
lea ecx, [rax + 0x31]
cmp r8d, ecx
jle 0x1800b279c
movzx edx, bx
add dx, 3
jmp 0x1800b2815
add eax, 0x1f
cmp r8d, eax
jle 0x1800b27ad
lea edx, [rbx + 1]
add dx, 3
jmp 0x1800b2815
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 0x1800b2815
movsx ecx, bx
movsx r8d, dx
lea eax, [rcx + 0x31]
cmp r8d, eax
jg 0x1800b2808
lea eax, [rcx + 0x1f]
cmp r8d, eax
jle 0x1800b27ec
inc dx
add dx, 3
jmp 0x1800b2815
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 0x1800b2815
movzx edx, bx
add bx, 0xfffe
movsxd r10, dword [rsp + 0x100]
mov r11, qword [rsp + 0x50]
test r10d, r10d
jne 0x1800b2840
test dword [r11 + 0x38], 0x2000000
je 0x1800b2840
cmp dword [rsp + 0x60], 1
jle 0x1800b2840
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 0x1800b2870
cmp qword [rdi], r13
jne 0x1800b2865
movzx eax, byte [rdi + 0x16]
xor al, sil
jns 0x1800b288b
inc ecx
add rdi, 0x20
cmp ecx, r8d
jl 0x1800b2857
cmp r8d, dword [rsp + 0x4c]
jl 0x1800b28c2
cmp dx, r12w
jg 0x1800b28ac
jne 0x1800b2885
cmp bx, r15w
jge 0x1800b28ac
mov eax, dword [rsp + 0x48]
jmp 0x1800b28d0
cmp ecx, r8d
jge 0x1800b2870
movzx eax, word [rdi + 0x12]
cmp ax, dx
jl 0x1800b28ac
jne 0x1800b28da
movzx eax, word [rdi + 0x10]
cmp ax, bp
jl 0x1800b28ac
jne 0x1800b28da
cmp word [rdi + 0x14], bx
jg 0x1800b28da
mov r14, qword [rsp + 0x40]
mov esi, 1
lea rbp, str._n_n_t_t_b_b_a_a_a
jmp 0x1800b29a4
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.180128740
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 0x1800b2a6b
movzx r12d, word [r9 + 0x12]
movzx r15d, word [r9 + 0x10]
mov edx, esi
mov dword [rsp + 0x48], 0
cmp ebx, edx
jle 0x1800b2a6b
lea rax, [r9 + 0x32]
movzx ecx, word [rax]
cmp cx, r12w
jg 0x1800b2979
jne 0x1800b2986
cmp word [rax + 2], r15w
jle 0x1800b2986
movzx r15d, word [rax + 2]
movzx r12d, cx
mov dword [rsp + 0x48], edx
inc edx
add rax, 0x20
cmp edx, ebx
jl 0x1800b2967
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 0x1800b25a2
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 0x1800b2590
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 0x1800b2560
test r8d, r8d
jne 0x1800b2b14
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 0x1800b2aad
cmp rbx, qword [rcx + 0x208]
jae 0x1800b2a94
cmp rbx, qword [rcx + 0x1f8]
jb 0x1800b2a73
mov rax, qword [rcx + 0x1f0]
mov qword [rbx], rax
mov qword [rcx + 0x1f0], rbx
mov eax, esi
jmp 0x1800b2e4c
mov r11, rax
jmp 0x1800b2995
cmp rbx, qword [rcx + 0x200]
jb 0x1800b2a94
mov rax, qword [rcx + 0x1e0]
mov qword [rbx], rax
mov qword [rcx + 0x1e0], rbx
mov eax, esi
jmp 0x1800b2e4c
cmp qword [rcx + 0x320], 0
je 0x1800b2aad
mov rdx, rbx
call fcn.18000bfe0
mov eax, esi
jmp 0x1800b2e4c
cmp dword [0x180172920], 0
je 0x1800b2b04
mov rcx, qword [0x1801821a8]
test rcx, rcx
je 0x1800b2ac8
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 0x1800b2b0d
call qword [0x1801729b0]
mov eax, esi
jmp 0x1800b2e4c
mov rcx, rbx
call qword [0x180172948]
mov eax, esi
jmp 0x1800b2e4c
mov r14, qword [rsp + 0x80]
movsxd rdx, ecx
mov rbx, r11
cmp rdx, 1
jle 0x1800b2b4e
lea rcx, [r11 + 0x32]
dec rdx
nop
movzx eax, word [rcx]
cmp word [rbx + 0x12], ax
jle 0x1800b2b43
movsxd rbx, esi
shl rbx, 5
add rbx, r11
inc esi
add rcx, 0x20
dec rdx
jne 0x1800b2b30
test r13d, r13d
jle 0x1800b2b95
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 0x1800b2b60
movzx eax, word [rdi + 0x3c]
mov ecx, 0x100
test cx, ax
je 0x1800b2c03
test al, al
js 0x1800b2c03
cmp byte [rdi + 0x43], 0
jne 0x1800b2c03
cmp word [rsp + 0xf8], 0
je 0x1800b2c03
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.1800b18d0
movsx ecx, al
mov rax, qword [rdi + 0x18]
cmp ecx, dword [rax]
jne 0x1800b2c03
mov byte [rdi + 0x43], 2
and dword [rdi + 0x44], 0xfffffffb
mov rdx, qword [rdi + 0x10]
mov ecx, dword [rdi + 0x44]
test rdx, rdx
je 0x1800b2d82
movzx r8d, word [rdi + 0x3c]
movzx eax, byte [rbx + 0x16]
mov byte [rdi + 0x41], al
test r8b, r8b
jns 0x1800b2c5c
movsx eax, byte [rbx + 0x16]
cmp eax, dword [rdx]
jne 0x1800b2c34
mov byte [rdi + 0x43], 2
mov rax, qword [rdi + 0x20]
mov rcx, qword [rax + 0x48]
test rcx, rcx
je 0x1800b2d0d
movsx eax, byte [rdi + 0x41]
cmp eax, dword [rcx]
jle 0x1800b2d0d
movzx eax, byte [rcx]
mov byte [rdi + 0x41], al
jmp 0x1800b2d0d
mov rax, qword [rbx + 8]
mov qword [rdi + 0x68], rax
movzx eax, byte [rdi + 0x41]
test al, al
jg 0x1800b2cf8
mov byte [rdi + 0x41], 0
test r13d, r13d
jle 0x1800b2d0d
mov rax, qword [rbx + 0x18]
movsxd rcx, r13d
mov r8, qword [rax + rcx*8 - 8]
mov eax, dword [r8 + 0x38]
bt eax, 0xc
jb 0x1800b2d0d
and eax, 0x104
cmp eax, 0x104
je 0x1800b2d0d
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.1800b18d0
mov rdx, qword [rdi + 0x10]
movsx ecx, al
cmp ecx, dword [rdx]
jne 0x1800b2d0d
mov rax, qword [rsp + 0xf0]
or dword [rdi + 0x44], 4
mov qword [rdi + 0x68], rax
jmp 0x1800b2d0d
test r13d, r13d
je 0x1800b2d0d
cmp al, 1
jne 0x1800b2d0d
test r8b, 3
je 0x1800b2d0d
or ecx, 4
mov dword [rdi + 0x44], ecx
mov eax, 0x200
test word [rdi + 0x3c], ax
je 0x1800b2d82
movsx eax, byte [rdi + 0x41]
cmp eax, dword [rdx]
jne 0x1800b2d82
test r13d, r13d
jle 0x1800b2d82
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.1800b18d0
movsx ecx, al
mov rax, qword [rdi + 0x10]
cmp ecx, dword [rax]
jne 0x1800b2d82
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 0x1800b2def
cmp r14, qword [rcx + 0x208]
jae 0x1800b2ddb
cmp r14, qword [rcx + 0x1f8]
jb 0x1800b2dbf
mov rax, qword [rcx + 0x1f0]
mov qword [r14], rax
mov qword [rcx + 0x1f0], r14
jmp 0x1800b2e4a
cmp r14, qword [rcx + 0x200]
jb 0x1800b2ddb
mov rax, qword [rcx + 0x1e0]
mov qword [r14], rax
mov qword [rcx + 0x1e0], r14
jmp 0x1800b2e4a
cmp qword [rcx + 0x320], 0
je 0x1800b2def
mov rdx, r14
call fcn.18000bfe0
jmp 0x1800b2e4a
cmp dword [0x180172920], 0
je 0x1800b2e41
mov rcx, qword [0x1801821a8]
test rcx, rcx
je 0x1800b2e0a
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 0x1800b2e4a
call qword [0x1801729b0]
jmp 0x1800b2e4a
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