Function at 0x140137409
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x90
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov qword [rbp + 0x20], r8
mov dword [rbp + 0x28], r9d
mov rax, qword [rbp + 0x10]
mov rax, qword [rax + 0x10]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp + 0x18]
movzx eax, byte [rax + 0x24]
movzx eax, al
and eax, 1
test eax, eax
sete al
movzx eax, al
mov dword [rbp - 0x24], eax
mov rax, qword [rbp + 0x18]
mov rax, qword [rax]
mov eax, dword [rax]
mov dword [rbp - 0x28], eax
mov edx, dword [rbp - 0x28]
mov eax, dword [rbp - 0x24]
add edx, eax
mov eax, dword [rbp + 0x38]
add eax, edx
mov dword [rbp - 0x2c], eax
mov dword [rbp - 8], 0
mov rax, qword [rbp + 0x18]
mov eax, dword [rax + 8]
mov dword [rbp - 0x30], eax
mov dword [rbp - 0x10], 0
cmp dword [rbp + 0x40], 0
je 0x14013748e
mov eax, dword [rbp + 0x28]
sub eax, dword [rbp + 0x40]
mov dword [rbp - 4], eax
jmp 0x1401374ae
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x38]
add eax, 1
mov dword [rbp - 4], eax
mov rax, qword [rbp + 0x10]
mov edx, dword [rax + 0x38]
mov eax, dword [rbp - 0x2c]
add edx, eax
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x38], edx
mov rax, qword [rbp + 0x20]
mov eax, dword [rax + 0xc]
test eax, eax
je 0x1401374c5
mov rax, qword [rbp + 0x20]
mov eax, dword [rax + 0xc]
add eax, 1
jmp 0x1401374cc
mov rax, qword [rbp + 0x20]
mov eax, dword [rax + 8]
mov dword [rbp - 0x34], eax
mov rax, qword [rbp + 0x10]
mov rcx, rax
call sym.sqlite3VdbeMakeLabel
mov rdx, qword [rbp + 0x18]
mov dword [rdx + 0x1c], eax
cmp dword [rbp + 0x30], 0
je 0x1401374f0
mov r9d, 5
jmp 0x1401374f6
mov r9d, 1
mov rax, qword [rbp + 0x18]
mov rdx, qword [rax]
mov r8d, dword [rbp + 0x30]
mov ecx, dword [rbp - 4]
mov rax, qword [rbp + 0x10]
mov dword [rsp + 0x20], r9d
mov r9d, r8d
mov r8d, ecx
mov rcx, rax
call sym.sqlite3ExprCodeExprList
cmp dword [rbp - 0x24], 0
je 0x140137548
mov edx, dword [rbp - 4]
mov eax, dword [rbp - 0x28]
lea ecx, [rdx + rax]
mov rax, qword [rbp + 0x18]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 0x20]
mov r9d, ecx
mov r8d, edx
mov edx, 0x7e
mov rcx, rax
call sym.sqlite3VdbeAddOp2
cmp dword [rbp + 0x40], 0
jne 0x140137578
cmp dword [rbp + 0x38], 0
jle 0x140137578
mov edx, dword [rbp - 4]
mov eax, dword [rbp - 0x28]
add edx, eax
mov eax, dword [rbp - 0x24]
lea r8d, [rdx + rax]
mov ecx, dword [rbp + 0x38]
mov edx, dword [rbp + 0x28]
mov rax, qword [rbp + 0x10]
mov r9d, ecx
mov rcx, rax
call sym.sqlite3ExprCodeMove
cmp dword [rbp - 0x30], 0
jle 0x140137828
mov r9d, dword [rbp - 4]
mov r8, qword [rbp + 0x20]
mov rdx, qword [rbp + 0x18]
mov rax, qword [rbp + 0x10]
mov ecx, dword [rbp - 0x2c]
mov dword [rsp + 0x20], ecx
mov rcx, rax
call sym.makeSorterRecord
mov dword [rbp - 8], eax
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x38]
add eax, 1
mov dword [rbp - 0x38], eax
mov rax, qword [rbp + 0x10]
mov edx, dword [rax + 0x38]
mov rax, qword [rbp + 0x18]
mov eax, dword [rax + 8]
add edx, eax
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x38], edx
mov rax, qword [rbp + 0x18]
mov eax, dword [rax + 8]
mov edx, dword [rbp - 0x28]
sub edx, eax
mov eax, dword [rbp - 0x24]
add eax, edx
mov dword [rbp - 0x3c], eax
cmp dword [rbp - 0x24], 0
je 0x140137603
mov edx, dword [rbp - 4]
mov eax, dword [rbp - 0x28]
add edx, eax
mov rax, qword [rbp - 0x20]
mov r8d, edx
mov edx, 0x11
mov rcx, rax
call sym.sqlite3VdbeAddOp1
mov dword [rbp - 0x14], eax
jmp 0x140137621
mov rax, qword [rbp + 0x18]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 0x20]
mov r8d, edx
mov edx, 0x78
mov rcx, rax
call sym.sqlite3VdbeAddOp1
mov dword [rbp - 0x14], eax
mov rax, qword [rbp + 0x18]
mov edx, dword [rax + 8]
mov r8d, dword [rbp - 4]
mov ecx, dword [rbp - 0x38]
mov rax, qword [rbp - 0x20]
mov dword [rsp + 0x20], edx
mov r9d, r8d
mov r8d, ecx
mov edx, 0x5a
mov rcx, rax
call sym.sqlite3VdbeAddOp3
mov rax, qword [rbp + 0x18]
mov edx, dword [rax + 0x18]
mov rax, qword [rbp - 0x20]
mov rcx, rax
call sym.sqlite3VdbeGetOp
mov qword [rbp - 0x48], rax
mov rax, qword [rbp + 0x10]
mov rax, qword [rax]
movzx eax, byte [rax + 0x67]
test al, al
jne 0x140137989
mov edx, dword [rbp - 0x3c]
mov eax, dword [rbp + 0x38]
add edx, eax
mov rax, qword [rbp - 0x48]
mov dword [rax + 8], edx
mov rax, qword [rbp - 0x48]
mov rax, qword [rax + 0x10]
mov qword [rbp - 0x50], rax
mov rax, qword [rbp - 0x50]
movzx eax, word [rax + 6]
movzx edx, ax
mov rax, qword [rbp - 0x50]
mov rax, qword [rax + 0x18]
mov r8, rdx
mov edx, 0
mov rcx, rax
call sym.memset
mov rdx, qword [rbp - 0x50]
mov rax, qword [rbp - 0x20]
mov r9d, 0xfffffff8
mov r8, rdx
mov edx, 0xffffffff
mov rcx, rax
call sym.sqlite3VdbeChangeP4
mov rax, qword [rbp - 0x50]
movzx eax, word [rax + 8]
movzx edx, ax
mov rax, qword [rbp - 0x50]
movzx eax, word [rax + 6]
movzx eax, ax
sub edx, eax
lea r8d, [rdx - 1]
mov rax, qword [rbp + 0x18]
mov rdx, qword [rax]
mov ecx, dword [rbp - 0x30]
mov rax, qword [rbp + 0x10]
mov r9d, r8d
mov r8d, ecx
mov rcx, rax
call sym.sqlite3KeyInfoFromExprList
mov rdx, qword [rbp - 0x48]
mov qword [rdx + 0x10], rax
mov qword [rbp - 0x48], 0
mov rax, qword [rbp - 0x20]
mov rcx, rax
call sym.sqlite3VdbeCurrentAddr
mov dword [rbp - 0x54], eax
mov eax, dword [rbp - 0x54]
lea edx, [rax + 1]
mov eax, dword [rbp - 0x54]
lea ecx, [rax + 1]
mov rax, qword [rbp - 0x20]
mov dword [rsp + 0x20], edx
mov r9d, 0
mov r8d, ecx
mov edx, 0xe
mov rcx, rax
call sym.sqlite3VdbeAddOp3
mov rax, qword [rbp + 0x10]
mov rcx, rax
call sym.sqlite3VdbeMakeLabel
mov rdx, qword [rbp + 0x18]
mov dword [rdx + 0x14], eax
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x38]
lea edx, [rax + 1]
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x38], edx
mov rax, qword [rbp + 0x10]
mov edx, dword [rax + 0x38]
mov rax, qword [rbp + 0x18]
mov dword [rax + 0x10], edx
mov rax, qword [rbp + 0x18]
mov ecx, dword [rax + 0x14]
mov rax, qword [rbp + 0x18]
mov edx, dword [rax + 0x10]
mov rax, qword [rbp - 0x20]
mov r9d, ecx
mov r8d, edx
mov edx, 0xa
mov rcx, rax
call sym.sqlite3VdbeAddOp2
mov rax, qword [rbp + 0x18]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 0x20]
mov r8d, edx
mov edx, 0x92
mov rcx, rax
call sym.sqlite3VdbeAddOp1
cmp dword [rbp - 0x34], 0
je 0x1401377ea
mov rax, qword [rbp + 0x18]
mov ecx, dword [rax + 0x1c]
mov edx, dword [rbp - 0x34]
mov rax, qword [rbp - 0x20]
mov r9d, ecx
mov r8d, edx
mov edx, 0x11
mov rcx, rax
call sym.sqlite3VdbeAddOp2
mov edx, dword [rbp - 0x14]
mov rax, qword [rbp - 0x20]
mov rcx, rax
call sym.sqlite3VdbeJumpHere
mov rax, qword [rbp + 0x18]
mov r8d, dword [rax + 8]
mov ecx, dword [rbp - 0x38]
mov edx, dword [rbp - 4]
mov rax, qword [rbp + 0x10]
mov r9d, r8d
mov r8d, ecx
mov rcx, rax
call sym.sqlite3ExprCodeMove
mov edx, dword [rbp - 0x54]
mov rax, qword [rbp - 0x20]
mov rcx, rax
call sym.sqlite3VdbeJumpHere
cmp dword [rbp - 0x34], 0
je 0x1401378cf
mov rax, qword [rbp + 0x18]
mov eax, dword [rax + 0xc]
mov dword [rbp - 0x58], eax
mov rax, qword [rbp - 0x20]
mov rcx, rax
call sym.sqlite3VdbeCurrentAddr
lea ecx, [rax + 4]
mov edx, dword [rbp - 0x34]
mov rax, qword [rbp - 0x20]
mov r9d, ecx
mov r8d, edx
mov edx, 0x3c
mov rcx, rax
call sym.sqlite3VdbeAddOp2
mov edx, dword [rbp - 0x58]
mov rax, qword [rbp - 0x20]
mov r9d, 0
mov r8d, edx
mov edx, 0x20
mov rcx, rax
call sym.sqlite3VdbeAddOp2
mov eax, dword [rbp - 0x28]
sub eax, dword [rbp - 0x30]
mov edx, eax
mov ecx, dword [rbp - 4]
mov eax, dword [rbp - 0x30]
add ecx, eax
mov r8d, dword [rbp - 0x58]
mov rax, qword [rbp - 0x20]
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x20], ecx
mov r9d, 0
mov edx, 0x28
mov rcx, rax
call sym.sqlite3VdbeAddOp4Int
mov dword [rbp - 0x10], eax
mov edx, dword [rbp - 0x58]
mov rax, qword [rbp - 0x20]
mov r8d, edx
mov edx, 0x82
mov rcx, rax
call sym.sqlite3VdbeAddOp1
cmp dword [rbp - 8], 0
jne 0x1401378f7
mov r9d, dword [rbp - 4]
mov r8, qword [rbp + 0x20]
mov rdx, qword [rbp + 0x18]
mov rax, qword [rbp + 0x10]
mov ecx, dword [rbp - 0x2c]
mov dword [rsp + 0x20], ecx
mov rcx, rax
call sym.makeSorterRecord
mov dword [rbp - 8], eax
mov rax, qword [rbp + 0x18]
movzx eax, byte [rax + 0x24]
movzx eax, al
and eax, 1
test eax, eax
je 0x140137912
mov dword [rbp - 0xc], 0x8b
jmp 0x140137919
mov dword [rbp - 0xc], 0x8a
mov eax, dword [rbp - 0x2c]
sub eax, dword [rbp - 0x30]
mov ecx, eax
mov edx, dword [rbp - 4]
mov eax, dword [rbp - 0x30]
lea r8d, [rdx + rax]
mov rax, qword [rbp + 0x18]
mov r10d, dword [rax + 0xc]
mov r9d, dword [rbp - 8]
mov edx, dword [rbp - 0xc]
mov rax, qword [rbp - 0x20]
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], r8d
mov r8d, r10d
mov rcx, rax
call sym.sqlite3VdbeAddOp4Int
cmp dword [rbp - 0x10], 0
je 0x14013798a
mov rax, qword [rbp + 0x18]
mov eax, dword [rax + 0x20]
test eax, eax
je 0x14013796c
mov rax, qword [rbp + 0x18]
mov eax, dword [rax + 0x20]
jmp 0x140137978
mov rax, qword [rbp - 0x20]
mov rcx, rax
call sym.sqlite3VdbeCurrentAddr
mov edx, dword [rbp - 0x10]
mov rcx, qword [rbp - 0x20]
mov r8d, eax
call sym.sqlite3VdbeChangeP2
jmp 0x14013798a
nop
add rsp, 0x90
pop rbp
ret