Function at 0x616c80
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
lea r12, [rsp - 0x20]
cmp r12, qword [r14 + 0x10]
jbe 0x6173ac
push rbp
mov rbp, rsp
sub rsp, 0x98
mov dword [rsp + 0xc8], esi
mov rdx, rbx
mov r11, rcx
movzx r12d, byte [rcx + 0x24]
mov r13, qword [rcx]
mov r13d, dword [r13]
mov dword [rsp + 0x3c], r13d
mov r15, qword [rdx + 0x10]
mov ecx, dword [rcx + 8]
bt r12d, 0
setae r12b
movzx r12d, r12b
add r13d, r12d
add r13d, r9d
test r10d, r10d
je 0x616cde
mov edx, esi
sub esi, r10d
jmp 0x616cf2
mov edx, dword [rdx + 0x38]
lea rsi, [rbx + 0x38]
add dword [rsi], r13d
lea esi, [rdx + 1]
mov edx, dword [rsp + 0xc8]
mov qword [rsp + 0xc0], rdi
mov dword [rsp + 0xd0], r9d
mov dword [rsp + 0xd4], r10d
mov qword [rsp + 0x70], r15
mov dword [rsp + 0x50], r12d
mov dword [rsp + 0x40], r13d
mov dword [rsp + 0x34], ecx
mov edx, dword [rdi + 0xc]
test edx, edx
je 0x616d28
inc edx
jmp 0x616d2b
mov edx, dword [rdi + 8]
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0xb0], rbx
mov qword [rsp + 0x90], r11
mov dword [rsp + 0x48], edx
mov dword [rsp + 0x30], esi
lea r9, [rbx + 0x44]
mov qword [rsp + 0x68], r9
mov r10, r9
dec dword [r9]
mov r9, r11
mov r10d, dword [r10]
mov dword [r11 + 0x1c], r10d
mov rcx, qword [r9]
test r8d, r8d
mov r9d, 0
mov r11d, 4
cmovne r9d, r11d
or r9d, 1
mov edi, esi
mov esi, r8d
mov r8d, r9d
call sym.modernc.org_sqlite_lib._sqlite3ExprCodeExprList
mov edx, dword [rsp + 0x50]
test edx, edx
jne 0x616da2
mov r10d, dword [rsp + 0xd4]
test r10d, r10d
nop
jmp 0x616de1
mov rdx, qword [rsp + 0x90]
mov edi, dword [rdx + 0xc]
mov edx, dword [rsp + 0x3c]
mov r10d, dword [rsp + 0x30]
lea esi, [r10 + rdx]
mov rax, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0x70]
mov ecx, 0x7e
xor r8d, r8d
call sym.modernc.org_sqlite_lib._sqlite3VdbeAddOp3
mov edx, dword [rsp + 0xd4]
test edx, edx
mov edx, dword [rsp + 0x50]
jne 0x616e35
mov r8d, dword [rsp + 0xd0]
test r8d, r8d
jle 0x616e3d
mov r9d, dword [rsp + 0x3c]
mov r10d, dword [rsp + 0x30]
lea r11d, [r10 + r9]
lea esi, [rdx + r11]
mov r11, qword [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rax, qword [rsp + 0xa8]
mov ecx, 0x4f
mov edi, dword [rsp + 0xc8]
call sym.modernc.org_sqlite_lib._sqlite3VdbeAddOp3
mov edx, dword [rsp + 0x50]
mov r8d, dword [rsp + 0xd0]
jmp 0x616e3d
mov r8d, dword [rsp + 0xd0]
mov r10d, dword [rsp + 0x34]
test r10d, r10d
jg 0x616e4e
xor eax, eax
jmp 0x6171df
mov rax, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x90]
mov rdi, qword [rsp + 0xc0]
mov esi, dword [rsp + 0x30]
mov r8d, dword [rsp + 0x40]
call sym.modernc.org_sqlite_lib._makeSorterRecord
mov dword [rsp + 0x28], eax
mov rdx, qword [rsp + 0xb0]
mov r9, rdx
lea r10, [r9 + 0x38]
mov qword [rsp + 0x88], r10
mov r12d, dword [r10]
mov r13, qword [rsp + 0x90]
mov r15, r13
add r12d, dword [r13 + 8]
mov edx, dword [rdx + 0x38]
mov dword [rsp + 0x64], edx
mov dword [r10], r12d
mov r12d, dword [r15 + 8]
mov r13d, dword [rsp + 0x3c]
mov ecx, r13d
sub r13d, r12d
mov r12d, dword [rsp + 0x50]
add r13d, r12d
mov dword [rsp + 0x38], r13d
test r12d, r12d
je 0x616ef9
mov edx, dword [rsp + 0x30]
lea edi, [rdx + rcx]
mov rax, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0x70]
xor esi, esi
mov r8d, esi
mov ecx, 0x11
call sym.modernc.org_sqlite_lib._sqlite3VdbeAddOp3
jmp 0x616f19
mov edi, dword [r15 + 0xc]
mov rax, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0x70]
mov ecx, 0x78
xor esi, esi
mov r8d, esi
call sym.modernc.org_sqlite_lib._sqlite3VdbeAddOp3
mov dword [rsp + 0x58], eax
mov edi, dword [rsp + 0x64]
inc edi
mov dword [rsp + 0x2c], edi
mov rdx, qword [rsp + 0x90]
mov r8d, dword [rdx + 8]
mov rbx, qword [rsp + 0x70]
mov ecx, 0x5a
mov esi, dword [rsp + 0x30]
mov rax, qword [rsp + 0xa8]
call sym.modernc.org_sqlite_lib._sqlite3VdbeAddOp3
mov rdx, qword [rsp + 0x70]
mov r9, rdx
mov r10, qword [rdx]
cmp byte [r10 + 0x67], 0
nop
je 0x616f76
lea rdx, [0x00a30f90]
mov r8, qword [rsp + 0x90]
mov rsi, rdx
jmp 0x616f94
mov rsi, qword [rsp + 0x90]
mov r8, rsi
movsxd rsi, dword [rsi + 0x18]
lea rsi, [rsi + rsi*2]
shl rsi, 3
add rsi, qword [rdx + 0x88]
mov rdx, qword [rsp + 0xb0]
mov rdx, qword [rdx]
cmp byte [rdx + 0x67], 0
jne 0x6173a3
mov rdx, rsi
mov r8d, dword [rsp + 0xd0]
mov r9d, dword [rsp + 0x38]
add r8d, r9d
mov dword [rsi + 8], r8d
add rdx, 0x10
mov qword [rsp + 0x80], rdx
mov rdx, qword [rdx]
mov qword [rsp + 0x78], rdx
mov rbx, qword [rdx + 0x18]
movzx edi, word [rdx + 6]
mov rax, qword [rsp + 0xa8]
xor ecx, ecx
call sym.modernc.org_libc.Xmemset
mov rax, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0x70]
mov ecx, 0xffffffff
mov rdi, qword [rsp + 0x78]
mov esi, 0xfffffff8
call sym.modernc.org_sqlite_lib._sqlite3VdbeChangeP4
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rdx]
mov rdx, qword [rsp + 0x78]
movzx r8d, word [rdx + 8]
movzx edx, word [rdx + 6]
sub r8d, edx
lea edx, [r8 - 1]
mov rax, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0xb0]
mov edi, dword [rsp + 0x34]
mov esi, edx
call sym.modernc.org_sqlite_lib._sqlite3KeyInfoFromExprList
mov rdx, qword [rsp + 0x80]
mov qword [rdx], rax
mov rbx, qword [rsp + 0x70]
mov rdx, rbx
mov r8d, dword [rdx + 0x90]
mov dword [rsp + 0x54], r8d
lea edi, [r8 + 1]
nop
mov rax, qword [rsp + 0xa8]
mov ecx, 0xe
xor esi, esi
mov r8d, edi
nop dword [rax]
call sym.modernc.org_sqlite_lib._sqlite3VdbeAddOp3
mov rdx, qword [rsp + 0x68]
mov rsi, rdx
dec dword [rdx]
mov rdx, qword [rsp + 0x90]
mov r8, rdx
mov esi, dword [rsi]
mov dword [rdx + 0x14], esi
mov rdx, qword [rsp + 0x88]
mov rsi, rdx
inc dword [rdx]
mov edx, dword [rsi]
mov rsi, r8
mov dword [r8 + 0x10], edx
mov edi, dword [rsi + 0x10]
mov esi, dword [rsi + 0x14]
mov rax, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0x70]
mov ecx, 0xa
xor r8d, r8d
call sym.modernc.org_sqlite_lib._sqlite3VdbeAddOp3
mov rdx, qword [rsp + 0x90]
mov edi, dword [rdx + 0xc]
mov rax, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0x70]
mov ecx, 0x92
xor r8d, r8d
mov esi, r8d
call sym.modernc.org_sqlite_lib._sqlite3VdbeAddOp3
mov edi, dword [rsp + 0x48]
test edi, edi
je 0x61712e
mov rdx, qword [rsp + 0x90]
mov esi, dword [rdx + 0x1c]
mov rax, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0x70]
mov ecx, 0x11
xor r8d, r8d
call sym.modernc.org_sqlite_lib._sqlite3VdbeAddOp3
mov edi, dword [rsp + 0x48]
mov rdx, qword [rsp + 0x70]
mov r10, qword [rdx]
cmp byte [r10 + 0x67], 0
je 0x617146
lea r10, [0x00a30f90]
jmp 0x61715d
mov r11d, dword [rsp + 0x58]
movsxd r11, r11d
lea r10, [r11 + r11*2]
shl r10, 3
add r10, qword [rdx + 0x88]
mov edx, dword [rdx + 0x90]
mov dword [r10 + 8], edx
mov rdx, qword [rsp + 0x90]
mov r8d, dword [rdx + 8]
mov rdx, qword [rsp + 0xb0]
mov rbx, qword [rdx + 0x10]
mov rax, qword [rsp + 0xa8]
mov ecx, 0x4f
mov edi, dword [rsp + 0x30]
mov esi, dword [rsp + 0x2c]
call sym.modernc.org_sqlite_lib._sqlite3VdbeAddOp3
mov rbx, qword [rsp + 0x70]
mov rdx, rbx
mov r9, qword [rdx]
nop
cmp byte [r9 + 0x67], 0
je 0x6171b5
lea r10, [0x00a30f90]
jmp 0x6171cc
mov r11d, dword [rsp + 0x54]
movsxd r11, r11d
lea r10, [r11 + r11*2]
shl r10, 3
add r10, qword [rdx + 0x88]
mov edx, dword [rdx + 0x90]
mov dword [r10 + 8], edx
mov r10d, dword [rsp + 0x34]
mov eax, dword [rsp + 0x28]
mov edi, dword [rsp + 0x48]
test edi, edi
jne 0x6171ee
xor ecx, ecx
jmp 0x6172bf
mov dword [rsp + 0x60], eax
mov rdx, qword [rsp + 0x90]
mov edx, dword [rdx + 0xc]
mov dword [rsp + 0x4c], edx
mov r11d, dword [rsp + 0x30]
lea r12d, [r11 + r10]
mov dword [rsp + 0x64], r12d
mov r13d, dword [rsp + 0x3c]
sub r13d, r10d
mov dword [rsp + 0x5c], r13d
mov rbx, qword [rsp + 0x70]
mov r15, rbx
mov esi, dword [r15 + 0x90]
add esi, 4
mov rax, qword [rsp + 0xa8]
mov ecx, 0x3c
xor r8d, r8d
nop
call sym.modernc.org_sqlite_lib._sqlite3VdbeAddOp3
nop
mov rax, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0x70]
mov ecx, 0x20
mov edi, dword [rsp + 0x4c]
xor esi, esi
mov r8d, esi
call sym.modernc.org_sqlite_lib._sqlite3VdbeAddOp3
mov rax, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0x70]
mov ecx, 0x28
mov edi, dword [rsp + 0x4c]
xor esi, esi
mov r8d, dword [rsp + 0x64]
mov r9d, dword [rsp + 0x5c]
call sym.modernc.org_sqlite_lib._sqlite3VdbeAddOp4Int
mov dword [rsp + 0x44], eax
nop
mov rbx, qword [rsp + 0x70]
mov ecx, 0x82
mov edi, dword [rsp + 0x4c]
xor esi, esi
mov r8d, esi
mov rax, qword [rsp + 0xa8]
call sym.modernc.org_sqlite_lib._sqlite3VdbeAddOp3
mov eax, dword [rsp + 0x60]
mov r10d, dword [rsp + 0x34]
mov ecx, dword [rsp + 0x44]
mov dword [rsp + 0x44], ecx
test eax, eax
jne 0x6172fa
mov rax, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x90]
mov rdi, qword [rsp + 0xc0]
mov esi, dword [rsp + 0x30]
mov r8d, dword [rsp + 0x40]
call sym.modernc.org_sqlite_lib._makeSorterRecord
mov r10d, dword [rsp + 0x34]
mov rdx, qword [rsp + 0x90]
movzx r12d, byte [rdx + 0x24]
mov edi, dword [rdx + 0xc]
mov edx, dword [rsp + 0x30]
lea r8d, [rdx + r10]
mov r9d, dword [rsp + 0x40]
sub r9d, r10d
test r12d, 1
mov ecx, 0x8a
mov edx, 0x8b
cmovne ecx, edx
mov rbx, qword [rsp + 0x70]
mov esi, eax
mov rax, qword [rsp + 0xa8]
nop dword [rax]
call sym.modernc.org_sqlite_lib._sqlite3VdbeAddOp4Int
mov edx, dword [rsp + 0x44]
test edx, edx
je 0x61739a
mov rax, qword [rsp + 0x90]
mov eax, dword [rax + 0x20]
test eax, eax
je 0x617363
mov rbx, qword [rsp + 0x70]
jmp 0x617372
mov rcx, qword [rsp + 0x70]
mov rbx, rcx
nop
mov eax, dword [rcx + 0x90]
mov rcx, qword [rbx]
nop
cmp byte [rcx + 0x67], 0
je 0x617385
lea rcx, [0x00a30f90]
jmp 0x617397
movsxd rdx, edx
lea rcx, [rdx + rdx*2]
shl rcx, 3
add rcx, qword [rbx + 0x88]
mov dword [rcx + 8], eax
add rsp, 0x98
pop rbp
ret
add rsp, 0x98
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x2c], r8d
mov dword [rsp + 0x30], r9d
mov dword [rsp + 0x34], r10d
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov esi, dword [rsp + 0x28]
mov r8d, dword [rsp + 0x2c]
mov r9d, dword [rsp + 0x30]
mov r10d, dword [rsp + 0x34]
nop
jmp sym.modernc.org_sqlite_lib._pushOntoSorter