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

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
mov rbx, qword [rcx + 8]
cmp byte [rcx + 0x11], 0
mov r14, qword [rbx]
mov r12, rcx
mov esi, edx
mov rdi, r8
je 0x1401abe83
add dword [rcx + 0x14], 1
cmp byte [rcx + 0x12], 0
je 0x1401ac058
movzx eax, byte [r12 + 0x10]
cmp al, 2
je 0x1401ac06b
cmp al, 1
jne 0x1401abe9d
test esi, esi
je 0x1401ac3fe
mov rdx, qword [r12]
movzx eax, word [rbx + 0x28]
test byte [rdx + 0x33], 2
je 0x1401abf00
cmp byte [r14 + 0x12], 0
jne 0x1401abf00
and eax, 0xfffffffe
mov word [rbx + 0x28], ax
test esi, esi
je 0x1401abf18
cmp byte [rbx + 0x24], 2
je 0x1401abf1c
test al, 0x80
jne 0x1401abf1c
cmp esi, 1
jle 0x1401abf35
mov rax, qword [rbx + 0x78]
test rax, rax
jne 0x1401abee9
jmp 0x1401abf35
mov rax, qword [rax + 0x10]
test rax, rax
je 0x1401abf35
mov rdx, qword [rax]
cmp rdx, r12
je 0x1401abee0
mov rax, qword [rdx]
jmp 0x1401abf26
mov edx, eax
and edx, 1
test dx, dx
je 0x1401abeb9
mov r13d, 8
test esi, esi
jne 0x1401ac02a
test al, 0x80
je 0x1401abf35
mov rax, qword [rbx + 0x80]
mov rax, qword [rax]
mov r13d, 0x106
test rax, rax
jne 0x1401ac02a
mov r8d, 1
mov edx, 1
mov rcx, r12
call fcn.140145fd0
mov r13d, eax
test eax, eax
jne 0x1401ac02a
movzx eax, word [rbx + 0x28]
mov r9d, dword [rbx + 0x40]
and eax, 0xffffffef
mov word [rbx + 0x28], ax
test r9d, r9d
je 0x1401ac308
mov rax, qword [rbx + 0x18]
mov ebp, 0x80808081
test rax, rax
je 0x1401ac090
test r13d, r13d
jne 0x1401ac0c0
test esi, esi
je 0x1401ac148
test byte [rbx + 0x28], 1
je 0x1401ac108
cmp byte [rbx + 0x24], 0
jne 0x1401ac208
mov rcx, qword [rax + 0x70]
mov qword [rbx + 0x18], 0
mov r8, qword [rcx + 0x28]
mov qword [rsp + 0x30], r8
call fcn.14014f980
mov r8, qword [rsp + 0x30]
mov rax, qword [r8 + 0x118]
mov eax, dword [rax + 0x18]
test eax, eax
jne 0x1401ac208
mov r15d, 8
mov r13d, 8
mov rcx, r8
call fcn.140199980
cmp r15d, 5
jne 0x1401ac02a
cmp byte [rbx + 0x24], 0
jne 0x1401ac02a
mov r15, qword [rbx + 8]
mov rax, qword [r15 + 0x270]
test rax, rax
je 0x1401ac02a
mov edx, dword [r15 + 0x280]
test edx, edx
js 0x1401ac02a
mov rcx, qword [r15 + 0x278]
call rax
test eax, eax
jne 0x1401ac0f0
mov dword [r15 + 0x280], 0xffffffff
cmp byte [r12 + 0x11], 0
je 0x1401ac03e
sub dword [r12 + 0x14], 1
je 0x1401ac480
mov eax, r13d
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
call fcn.14014fd90
movzx eax, byte [r12 + 0x10]
cmp al, 2
jne 0x1401abe91
test rdi, rdi
je 0x1401ac07f
mov rax, qword [rbx + 0x18]
mov rax, qword [rax + 0x50]
mov eax, dword [rax + 0x28]
bswap eax
mov dword [rdi], eax
test esi, esi
jne 0x1401ac1d0
xor r13d, r13d
jmp 0x1401ac02a
mov rcx, qword [rbx]
call fcn.1401ab710
mov r13d, eax
test eax, eax
jne 0x1401ac0c0
xor r9d, r9d
lea r8, [rsp + 0x48]
mov edx, 1
mov rcx, rbx
call fcn.140146150
mov r13d, eax
test eax, eax
je 0x1401ac218
nop
cmp byte [rbx + 0x24], 0
movzx r15d, r13b
jne 0x1401ac02a
mov rax, qword [rbx + 0x18]
test rax, rax
jne 0x1401ac626
cmp r15d, 5
je 0x1401abff3
jmp 0x1401ac02a
add dword [r15 + 0x280], 1
mov rax, qword [rbx + 0x18]
jmp 0x1401abf74
mov r13d, dword [r14 + 0x30]
test r13d, r13d
jne 0x1401ac518
mov rax, qword [r12]
cmp byte [rax + 0x62], 2
sete byte [r14 + 0x1a]
cmp byte [r14 + 0x15], 1
je 0x1401ac318
mov r8d, dword [rbx + 0x40]
test r8d, r8d
jne 0x1401ac151
mov rcx, rbx
call fcn.14019a300
mov r13d, eax
nop dword [rax]
test r13d, r13d
jne 0x1401ac0c0
cmp byte [r12 + 0x10], 0
jne 0x1401ac170
add dword [rbx + 0x3c], 1
cmp byte [r12 + 0x11], 0
jne 0x1401ac550
nop dword [rax]
movzx eax, byte [rbx + 0x24]
test esi, esi
je 0x1401ac3f0
mov byte [r12 + 0x10], 2
cmp al, 1
ja 0x1401ac18a
mov byte [rbx + 0x24], 2
movzx eax, word [rbx + 0x28]
mov rbp, qword [rbx + 0x18]
mov qword [rbx + 0x80], r12
mov edx, eax
or eax, 0x40
and edx, 0xffffffbf
cmp esi, 2
cmovl eax, edx
mov word [rbx + 0x28], ax
mov rax, qword [rbp + 0x50]
mov eax, dword [rax + 0x1c]
bswap eax
cmp dword [rbx + 0x40], eax
jne 0x1401ac570
test rdi, rdi
jne 0x1401ac070
nop word cs:[rax + rax]
mov rax, qword [r12]
mov edx, dword [rax + 0x2d8]
cmp edx, dword [r14 + 0x80]
jle 0x1401ac087
cmp byte [r14 + 0xa], 0
je 0x1401ac087
mov rcx, r14
call fcn.14015abd0
mov r13d, eax
jmp 0x1401ac02a
mov r13d, 8
jmp 0x1401ac02a
mov rax, qword [rsp + 0x48]
mov rdx, qword [rbx + 8]
mov rcx, qword [rbx]
mov r10, qword [rax + 0x50]
mov rdx, qword [rdx + 0x30]
mov r11d, dword [rcx + 0x20]
mov r15d, dword [r10 + 0x1c]
and edx, 0x2000000
bswap r15d
test r15d, r15d
je 0x1401ac410
mov r9d, dword [r10 + 0x5c]
cmp dword [r10 + 0x18], r9d
jne 0x1401ac410
test rdx, rdx
jne 0x1401ac41e
movabs r8, 0x332074616d726f
xor r8, qword [r10 + 8]
movabs rdx, 0x66206574694c5153
xor rdx, qword [r10]
or r8, rdx
jne 0x1401ac5f0
cmp byte [r10 + 0x12], 2
jbe 0x1401ac28d
or word [rbx + 0x28], 1
cmp byte [r10 + 0x13], 2
ja 0x1401ac5f0
jne 0x1401ac2a4
test byte [rbx + 0x28], 0x20
je 0x1401ac70e
mov edx, 3
mov rcx, rbx
mov qword [rsp + 0x30], r10
call fcn.1401461c0
mov r10, qword [rsp + 0x30]
cmp word [r10 + 0x15], 0x2040
je 0x1401ac66d
mov rax, qword [rsp + 0x48]
mov r13d, 0x1a
mov rcx, qword [rax + 0x70]
mov r15, qword [rcx + 0x28]
call fcn.14014f980
mov rax, qword [r15 + 0x118]
mov r9d, dword [rax + 0x18]
test r9d, r9d
je 0x1401ac660
mov qword [rbx + 0x18], 0
jmp 0x1401ac0c0
or eax, 0x10
mov word [rbx + 0x28], ax
jmp 0x1401abf6b
mov r15, qword [r14 + 0x120]
test r15, r15
je 0x1401ac595
cmp byte [r14 + 8], 0
je 0x1401ac4dc
cmp byte [r15 + 0x3f], 0
je 0x1401ac48d
cmp byte [r15 + 0x42], 0
jne 0x1401ac603
mov rax, qword [r15 + 0x30]
mov rdx, qword [r15 + 0x48]
mov byte [r15 + 0x40], 1
mov rcx, qword [r15 + 0x50]
mov rax, qword [rax]
xor rcx, qword [rax + 8]
xor rdx, qword [rax]
or rcx, rdx
jne 0x1401ac3a0
mov rdx, qword [r15 + 0x58]
mov rcx, qword [r15 + 0x60]
xor rdx, qword [rax + 0x10]
xor rcx, qword [rax + 0x18]
or rcx, rdx
jne 0x1401ac3a0
mov rdx, qword [r15 + 0x68]
mov rcx, qword [r15 + 0x70]
xor rdx, qword [rax + 0x20]
xor rcx, qword [rax + 0x28]
or rcx, rdx
je 0x1401ac5cb
nop word [rax + rax]
cmp byte [r15 + 0x3f], 0
jne 0x1401ac3bf
mov rcx, qword [r15 + 8]
mov r9d, 9
mov r8d, 1
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x70]
mov byte [r15 + 0x40], 0
cmp byte [rbx + 0x24], 0
jne 0x1401ac530
mov rax, qword [rbx + 0x18]
test rax, rax
jne 0x1401ac747
mov r13d, 5
jmp 0x1401abff3
mov byte [r12 + 0x10], 1
test al, al
je 0x1401ac540
test rdi, rdi
jne 0x1401ac070
jmp 0x1401ac087
test rdx, rdx
jne 0x1401ac41e
test r11d, r11d
jne 0x1401ac5fb
mov r9d, dword [rbx + 0x38]
xor r15d, r15d
lea ecx, [r9 - 0xc]
sub r9d, 0x23
mov qword [rbx + 0x18], rax
mov edx, ecx
shl ecx, 5
mov word [rbx + 0x2e], r9w
shl edx, 6
imul rcx, rbp
mov dword [rbx + 0x40], r15d
imul rdx, rbp
shr rcx, 0x27
shr rdx, 0x27
sub ecx, 0x17
sub edx, 0x17
mov word [rbx + 0x2c], cx
mov word [rbx + 0x30], cx
cmp dx, 0x7f
mov ecx, 0x7f
mov word [rbx + 0x2a], dx
cmova edx, ecx
mov byte [rbx + 0x25], dl
jmp 0x1401abf74
mov rcx, r12
call fcn.140145f90
jmp 0x1401ac03e
mov edx, 4
mov rcx, r14
call fcn.14014bca0
mov r13d, eax
test eax, eax
jne 0x1401ac518
mov r13, qword [r14 + 0x120]
cmp byte [r13 + 0x3f], 0
mov r15, r13
jne 0x1401ac4d7
mov rcx, qword [r13 + 8]
movsx edx, word [r13 + 0x3c]
mov r9d, 5
mov r8d, 1
mov rax, qword [rcx]
add edx, 3
call qword [rax + 0x70]
mov r15, qword [r14 + 0x120]
mov byte [r13 + 0x3f], 1
cmp byte [r15 + 0x42], 0
jne 0x1401ac603
cmp byte [r15 + 0x3f], 0
jne 0x1401ac349
mov rcx, qword [r15 + 8]
mov r9d, 0xa
mov r8d, 1
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x70]
mov r13d, eax
test eax, eax
je 0x1401ac349
nop dword [rax]
cmp r13d, 0x205
jne 0x1401ac0c0
jmp 0x1401ac3c4
mov r13d, 0x205
jmp 0x1401ac02a
mov byte [rbx + 0x24], 1
jmp 0x1401ac3fe
mov byte [r12 + 0x3c], 1
mov rax, qword [rbx + 0x78]
mov qword [r12 + 0x40], rax
lea rax, [r12 + 0x30]
mov qword [rbx + 0x78], rax
jmp 0x1401ac170
mov rcx, qword [rbp + 0x70]
call fcn.1401983b0
mov r13d, eax
test eax, eax
jne 0x1401ac02a
mov eax, dword [rbx + 0x40]
mov rdx, qword [rbp + 0x50]
bswap eax
mov dword [rdx + 0x1c], eax
jmp 0x1401ac1bd
mov edx, 2
mov rcx, r14
call fcn.14014bca0
mov r13d, eax
cmp esi, 1
jle 0x1401ac5c2
test eax, eax
jne 0x1401ac518
mov edx, 4
mov rcx, r14
call fcn.140150010
mov r13d, eax
test r13d, r13d
jne 0x1401ac518
mov eax, dword [r14 + 0x20]
mov byte [r14 + 0x15], 2
mov qword [r14 + 0x60], 0
mov dword [r14 + 0x2c], eax
mov dword [r14 + 0x28], eax
mov dword [r14 + 0x24], eax
jmp 0x1401ac12d
mov r13d, 0x1a
jmp 0x1401ac2d3
mov r15d, r11d
jmp 0x1401ac25d
cmp byte [rbx + 0x24], 0
jne 0x1401ac208
mov rax, qword [rbx + 0x18]
test rax, rax
je 0x1401ac208
mov r15d, 8
mov r13d, 8
mov rcx, qword [rax + 0x70]
mov qword [rbx + 0x18], 0
mov r8, qword [rcx + 0x28]
mov qword [rsp + 0x30], r8
call fcn.14014f980
mov r8, qword [rsp + 0x30]
mov rax, qword [r8 + 0x118]
mov ecx, dword [rax + 0x18]
test ecx, ecx
jne 0x1401abfe7
jmp 0x1401abfdf
mov rcx, r15
call fcn.140199980
jmp 0x1401ac2f4
cmp byte [r10 + 0x17], 0x20
jne 0x1401ac2c8
movzx eax, byte [r10 + 0x10]
shl eax, 8
mov edx, eax
movzx eax, byte [r10 + 0x11]
shl eax, 0x10
or eax, edx
lea edx, [rax - 1]
test edx, eax
jne 0x1401ac2c8
lea edx, [rax - 0x101]
cmp edx, 0xfeff
ja 0x1401ac2c8
or word [rbx + 0x28], 2
movzx r8d, byte [r10 + 0x14]
mov r9d, eax
sub r9d, r8d
cmp eax, dword [rbx + 0x34]
jne 0x1401ac7d7
mov rax, qword [rbx + 8]
mov rax, qword [rax + 0x30]
and eax, 0x10000001
cmp rax, 1
je 0x1401ac6de
cmp r11d, r15d
jb 0x1401ac883
mov rax, qword [rsp + 0x48]
cmp r9d, 0x1df
jbe 0x1401ac5f0
mov dword [rbx + 0x38], r9d
mov r11d, dword [r10 + 0x34]
test r11d, r11d
setne byte [rbx + 0x21]
mov edx, dword [r10 + 0x40]
test edx, edx
setne byte [rbx + 0x22]
jmp 0x1401ac425
lea rdx, [rsp + 0x44]
mov dword [rsp + 0x38], r11d
mov qword [rsp + 0x30], r10
mov dword [rsp + 0x44], 0
call fcn.14015afb0
mov r10, qword [rsp + 0x30]
mov r11d, dword [rsp + 0x38]
test eax, eax
mov edx, eax
je 0x1401ac783
mov rax, qword [rsp + 0x48]
mov r13d, edx
jmp 0x1401ac2d3
mov rcx, qword [rax + 0x70]
mov qword [rbx + 0x18], 0
mov r8, qword [rcx + 0x28]
mov qword [rsp + 0x30], r8
call fcn.14014f980
mov r8, qword [rsp + 0x30]
mov rax, qword [r8 + 0x118]
mov edx, dword [rax + 0x18]
test edx, edx
je 0x1401ac8bd
mov r13d, 5
jmp 0x1401abfed
mov edx, 2
mov rcx, rbx
mov qword [rsp + 0x30], r10
call fcn.1401461c0
mov r8d, dword [rsp + 0x44]
mov r10, qword [rsp + 0x30]
test r8d, r8d
jne 0x1401ac2bb
mov rax, qword [rsp + 0x48]
mov rcx, qword [rax + 0x70]
mov r13, qword [rcx + 0x28]
call fcn.14014f980
mov rax, qword [r13 + 0x118]
cmp dword [rax + 0x18], 0
je 0x1401ac8ce
mov rax, qword [rbx + 0x18]
xor r13d, r13d
jmp 0x1401abf74
mov rdx, qword [rsp + 0x48]
mov dword [rsp + 0x3c], r8d
mov dword [rsp + 0x38], r9d
mov rcx, qword [rdx + 0x70]
mov dword [rsp + 0x30], eax
mov r13, qword [rcx + 0x28]
call fcn.14014f980
mov eax, dword [rsp + 0x30]
mov r9d, dword [rsp + 0x38]
mov rdx, qword [r13 + 0x118]
mov r8d, dword [rsp + 0x3c]
mov ecx, dword [rdx + 0x18]
test ecx, ecx
je 0x1401ac86b
mov rcx, qword [rbx + 0x88]
mov dword [rbx + 0x38], r9d
mov dword [rbx + 0x34], eax
test rcx, rcx
je 0x1401ac84b
sub rcx, 4
mov dword [rsp + 0x30], r8d
mov qword [rbx + 0x88], rcx
call fcn.14014ae50
mov r8d, dword [rsp + 0x30]
mov qword [rbx + 0x88], 0
mov rcx, qword [rbx]
lea rdx, [rbx + 0x34]
call fcn.14015d950
mov r13d, eax
test eax, eax
jne 0x1401ac0c0
mov rax, qword [rbx + 0x18]
jmp 0x1401abf74
mov rcx, r13
call fcn.140199980
mov r8d, dword [rsp + 0x3c]
mov r9d, dword [rsp + 0x38]
mov eax, dword [rsp + 0x30]
jmp 0x1401ac813
lea rax, [0x14036c43c]
mov r9d, 0x10cb6
lea r8, str.database_corruption
mov ecx, 0xb
mov qword [rsp + 0x20], rax
lea rdx, str._s_at_line__d_of___.10s_
mov r13d, 0xb
call fcn.140172c50
mov rax, qword [rsp + 0x48]
jmp 0x1401ac2d3
mov r15d, 5
mov r13d, 5
jmp 0x1401abfdf
mov rcx, r13
call fcn.140199980
jmp 0x1401ac7cb