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

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x90
mov eax, dword [rsp + 0xf0]
mov rdi, rdx
mov rbx, qword [rcx + 0x10]
mov rbp, rcx
mov rsi, qword [rcx]
mov dword [rsp + 0x38], eax
inc eax
mov dword [rsp + 0xf0], eax
mov qword [rsp + 0x68], rsi
mov byte [rsp + 0x30], 1
lea r14d, [rax + 1]
mov eax, dword [rcx + 0x38]
mov dword [rsp + 0x60], r14d
mov dword [rsp + 0x3c], r14d
inc r14d
mov r12d, r14d
mov dword [rsp + 0x4c], r14d
lea r13d, [r14 + 1]
add r14d, 2
mov dword [rsp + 0x58], r14d
inc r14d
mov dword [rsp + 0x54], r14d
inc r14d
cmp eax, r14d
mov dword [rsp + 0x5c], r13d
mov dword [rsp + 0x44], r14d
cmovle eax, r14d
mov dword [rcx + 0x38], eax
test rbx, rbx
jne 0x1400752de
call fcn.140095c70
mov rbx, rax
test rax, rax
je 0x140075b82
test rdi, rdi
je 0x140075b82
cmp dword [rdi + 0x38], 0
je 0x140075b82
mov rdx, qword [rdi]
lea r8, [0x14013676c]
xor r9d, r9d
lea rcx, str.sqlite__
call fcn.1400831d0
test eax, eax
jne 0x140075b82
mov rdx, qword [rdi + 0x68]
mov rcx, rsi
mov qword [rsp + 0x88], r15
call fcn.140091930
mov rcx, qword [rsi + 0x20]
xor r9d, r9d
mov r8, qword [rdi]
movsxd r15, eax
mov rdx, r15
mov dword [rsp + 0x50], r15d
shl rdx, 5
mov rdx, qword [rdx + rcx]
mov rcx, rbp
mov qword [rsp + 0x20], rdx
lea edx, [r9 + 0x1c]
call fcn.1400775d0
test eax, eax
jne 0x140075b7a
mov rax, qword [rdi]
xor r9d, r9d
mov r8d, dword [rdi + 0x38]
mov edx, r15d
mov rcx, rbp
mov qword [rsp + 0x20], rax
call fcn.140077690
mov r15d, dword [rsp + 0xf8]
mov r9, rdi
mov eax, dword [rbp + 0x34]
mov esi, r15d
mov r8d, dword [rsp + 0x50]
mov edx, esi
mov dword [rsp + 0x64], r15d
inc r15d
mov dword [rsp + 0xf8], r15d
mov dword [rsp + 0x20], 0x68
lea ecx, [r15 + 1]
cmp eax, ecx
cmovle eax, ecx
mov rcx, rbp
mov dword [rbp + 0x34], eax
call fcn.140088590
mov r8, qword [rdi]
mov edx, r13d
mov rcx, rbx
call fcn.1400565a0
mov r13, qword [rdi + 0x10]
test r13, r13
je 0x140075a99
mov rax, qword [rsp + 0xe0]
nop dword [rax]
test rax, rax
je 0x1400753ee
cmp rax, r13
jne 0x140075a88
movzx eax, byte [rsp + 0x30]
xor ecx, ecx
cmp qword [r13 + 0x48], rcx
cmovne ecx, eax
test byte [rdi + 0x46], 0x20
mov byte [rsp + 0x30], cl
je 0x140075421
mov eax, dword [r13 + 0x64]
and al, 3
cmp al, 2
jne 0x140075421
movzx edi, word [r13 + 0x5e]
mov r8, qword [rsp + 0xd8]
mov esi, edi
jmp 0x140075437
test byte [r13 + 0x64], 8
mov r8, r13
movzx edi, word [r13 + 0x60]
mov esi, edi
je 0x140075437
movzx esi, word [r13 + 0x5e]
mov r8, qword [r8]
lea r12d, [rsi - 1]
mov edx, dword [rsp + 0x58]
mov rcx, rbx
call fcn.1400565a0
mov eax, dword [rbp + 0x38]
lea ecx, [r12 + r14]
cmp eax, ecx
mov r8d, r15d
mov edx, 0x68
cmovle eax, ecx
mov rcx, rbx
mov dword [rbp + 0x38], eax
mov eax, dword [rsp + 0x50]
mov r9d, dword [r13 + 0x58]
mov dword [rsp + 0x20], eax
call fcn.140056360
mov rdx, r13
mov rcx, rbp
call fcn.1400571a0
mov r9d, dword [rsp + 0x60]
mov r8d, edi
mov edx, 0x4c
mov rcx, rbx
call fcn.1400564c0
mov edi, dword [rsp + 0xf0]
mov edx, 0x4c
movzx r8d, word [r13 + 0x5e]
mov rcx, rbx
lea r9d, [rdi + 2]
call fcn.1400564c0
mov r9d, dword [rsp + 0x60]
xor r8d, r8d
mov rcx, rbx
mov dword [rsp + 0x20], edi
lea edx, [r8 + 0x59]
call fcn.140056360
mov r9d, 0xfffffffb
lea r8, [0x14013b250]
mov edx, eax
mov rcx, rbx
call fcn.140057120
movsxd rax, dword [rbx + 0xb8]
test eax, eax
jle 0x1400754f9
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x68]
mov byte [rax + rcx*8 - 0x15], 2
mov r8d, r15d
mov edx, 0x39
mov rcx, rbx
call fcn.140056450
mov r9d, dword [rsp + 0x3c]
xor r8d, r8d
mov rcx, rbx
mov dword [rsp + 0x48], eax
mov ebp, eax
lea edx, [r8 + 0x4c]
call fcn.1400564c0
mov edi, dword [rbx + 0xb8]
test r12d, r12d
jle 0x14007580d
mov rcx, rbx
call fcn.1400568c0
mov rcx, qword [rsp + 0x68]
mov edx, esi
mov dword [rsp + 0x40], eax
lea rdx, [rdx*4 - 4]
call fcn.1400354c0
mov qword [rsp + 0x70], rax
mov rbp, rax
test rax, rax
je 0x140075a6b
mov edx, 0xd
mov rcx, rbx
call fcn.1400563e0
mov edi, dword [rbx + 0xb8]
mov dword [rsp + 0x34], edi
cmp r12d, 1
jne 0x1400755a3
cmp word [r13 + 0x5e], r12w
jne 0x1400755a3
cmp byte [r13 + 0x62], 0
je 0x1400755a3
mov r9d, dword [rsp + 0x40]
lea edx, [r12 + 0x22]
mov r8d, r14d
mov rcx, rbx
call fcn.1400564c0
xor r14d, r14d
test r12d, r12d
jle 0x14007567f
xor r15d, r15d
nop dword [rax]
nop word [rax + rax]
mov rdx, qword [r13 + 0x40]
mov rcx, qword [rsp + 0xd0]
mov rdx, qword [r15 + rdx]
call fcn.14007a190
mov r9d, dword [rsp + 0x3c]
mov r8d, r14d
mov edx, 0x4c
mov rcx, rbx
mov rsi, rax
call fcn.1400564c0
mov r8d, dword [rsp + 0xf8]
mov r9d, r14d
mov edi, dword [rsp + 0x4c]
mov edx, 0x60
mov rcx, rbx
mov dword [rsp + 0x20], edi
call fcn.140056360
mov ecx, dword [rsp + 0x44]
xor r9d, r9d
add ecx, r14d
mov r8d, edi
mov dword [rsp + 0x20], ecx
mov rcx, rbx
lea edx, [r9 + 0x24]
call fcn.140056360
mov r9d, 0xfffffffc
mov r8, rsi
mov edx, eax
mov rcx, rbx
mov edi, eax
call fcn.140057120
mov dword [rbp], edi
movsxd rax, dword [rbx + 0xb8]
test eax, eax
jle 0x14007565a
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x68]
mov byte [rax + rcx*8 - 0x15], 0x80
inc r14d
add r15, 8
add rbp, 4
cmp r14d, r12d
jl 0x1400755c0
mov rbp, qword [rsp + 0x70]
mov r15d, dword [rsp + 0xf8]
mov edi, dword [rsp + 0x34]
mov r9d, dword [rsp + 0x3c]
mov r8d, r12d
mov edx, 0x4c
mov rcx, rbx
call fcn.1400564c0
mov esi, dword [rsp + 0x40]
mov rcx, rbx
mov edx, esi
call fcn.140056530
mov rax, qword [rbx]
lea ecx, [rdi - 1]
mov edx, dword [rbx + 0xb8]
cmp byte [rax + 0x55], 0
je 0x1400756bd
lea rax, [0x14017cd20]
jmp 0x1400756d4
test ecx, ecx
mov eax, edx
cmovns eax, edi
dec eax
cdqe
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x68]
lea rax, [rax + rcx*8]
mov r14d, dword [rsp + 0x44]
xor edi, edi
mov dword [rax + 8], edx
test r12d, r12d
jle 0x140075795
mov rsi, rbp
nop word [rax + rax]
mov rax, qword [rbx]
mov edx, dword [rbx + 0xb8]
mov ecx, dword [rsi]
cmp byte [rax + 0x55], 0
je 0x14007570a
lea rax, [0x14017cd20]
jmp 0x140075720
test ecx, ecx
lea eax, [rdx - 1]
cmovns eax, ecx
cdqe
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x68]
lea rax, [rax + rcx*8]
mov dword [rax + 8], edx
lea edx, [r14 + rdi]
mov rax, qword [rbx + 0x18]
movsxd rcx, dword [rbx + 0xb8]
cmp dword [rax + 0x3c], ecx
jg 0x140075750
mov dword [rsp + 0x20], edx
mov r9d, edi
mov edx, 0x60
mov r8d, r15d
mov rcx, rbx
call fcn.140056300
jmp 0x140075782
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov word [rax + rcx*8], 0x60
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r15d
mov dword [rax + rcx*8 + 8], edi
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], 0
inc edi
add rsi, 4
cmp edi, r12d
jl 0x1400756f0
mov esi, dword [rsp + 0x40]
mov rax, qword [rbx + 0x18]
mov rcx, qword [rax + 0x58]
test rcx, rcx
je 0x1400757b5
movsxd rax, esi
shl rax, 2
sub rcx, rax
mov eax, dword [rbx + 0xb8]
mov dword [rcx - 4], eax
mov rsi, qword [rsp + 0x68]
cmp qword [rsi + 0x298], 0
je 0x1400757d1
mov rdx, rbp
mov rcx, rsi
call fcn.140035140
jmp 0x140075805
cmp rbp, qword [rsi + 0x180]
jb 0x1400757fd
cmp rbp, qword [rsi + 0x188]
jae 0x1400757fd
mov rax, qword [rsi + 0x178]
mov qword [rbp], rax
dec dword [rsi + 0x160]
mov qword [rsi + 0x178], rbp
jmp 0x140075805
mov rcx, rbp
call fcn.1400350d0
mov edi, dword [rsp + 0x34]
mov ebp, dword [rsp + 0x48]
mov esi, dword [rsp + 0xf0]
mov edx, 0x59
mov r12d, dword [rsp + 0x4c]
mov r9d, esi
mov rcx, rbx
mov dword [rsp + 0x20], r12d
lea r8d, [rdx - 0x58]
call fcn.140056360
mov r9d, 0xfffffffb
lea r8, [0x140138ad0]
mov edx, eax
mov rcx, rbx
call fcn.140057120
movsxd rcx, dword [rbx + 0xb8]
test ecx, ecx
jle 0x140075867
mov rax, qword [rbx + 0x68]
lea rcx, [rcx + rcx*2]
mov byte [rax + rcx*8 - 0x15], 2
mov ecx, dword [rbx + 0xb8]
mov rax, qword [rbx + 0x18]
cmp dword [rax + 0x3c], ecx
jg 0x14007588f
mov r9d, edi
mov dword [rsp + 0x20], 0
mov r8d, r15d
mov edx, 7
mov rcx, rbx
call fcn.140056300
xor edi, edi
jmp 0x1400758c2
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
movsxd rax, ecx
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x68]
mov dword [rax + rcx*8 + 8], edi
xor edi, edi
mov dword [rax + rcx*8 + 0xc], edi
mov qword [rax + rcx*8 + 0x10], rdi
mov word [rax + rcx*8], 7
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r15d
mov eax, dword [rsp + 0x54]
xor r8d, r8d
mov r9d, esi
mov dword [rsp + 0x20], eax
mov rcx, rbx
lea edx, [r8 + 0x59]
call fcn.140056360
mov r9d, 0xfffffffb
lea r8, [0x14013a978]
mov edx, eax
mov rcx, rbx
call fcn.140057120
movsxd rax, dword [rbx + 0xb8]
test eax, eax
jle 0x14007590b
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x68]
mov byte [rax + rcx*8 - 0x15], 1
mov r8d, dword [rsp + 0x5c]
mov r9d, 3
mov rcx, rbx
mov dword [rsp + 0x20], r12d
lea edx, [r9 + 0x60]
call fcn.140056360
xor r9d, r9d
lea r8, [0x140144794]
mov edx, eax
mov rcx, rbx
call fcn.140057120
mov rax, qword [rbx + 0x18]
movsxd rcx, dword [rbx + 0xb8]
cmp dword [rax + 0x3c], ecx
jg 0x140075977
mov r9d, dword [rsp + 0x38]
mov edx, 0x72
mov r8d, dword [rsp + 0xe8]
mov rcx, rbx
mov dword [rsp + 0x20], edi
call fcn.140056300
mov edx, dword [rsp + 0xe8]
mov r8d, dword [rsp + 0x38]
jmp 0x1400759b1
mov edx, dword [rsp + 0xe8]
lea eax, [rcx + 1]
mov r8d, dword [rsp + 0x38]
lea rcx, [rcx + rcx*2]
mov dword [rbx + 0xb8], eax
mov rax, qword [rbx + 0x68]
mov word [rax + rcx*8], 0x72
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], r8d
mov dword [rax + rcx*8 + 0xc], edi
mov qword [rax + rcx*8 + 0x10], rdi
mov rax, qword [rbx + 0x18]
movsxd rcx, dword [rbx + 0xb8]
cmp dword [rax + 0x3c], ecx
jg 0x1400759db
mov dword [rsp + 0x20], r8d
mov r9d, r12d
mov r8d, edx
mov rcx, rbx
mov edx, 0x73
call fcn.140056300
jmp 0x140075a0a
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov word [rax + rcx*8], 0x73
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], r12d
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], rdi
movsxd rdx, dword [rbx + 0xb8]
test edx, edx
jle 0x140075a28
mov rax, qword [rbx + 0x68]
lea rcx, [rdx + rdx*2]
mov byte [rax + rcx*8 - 0x15], 8
mov edx, dword [rbx + 0xb8]
test ebp, ebp
jns 0x140075a2f
lea ebp, [rdx - 1]
mov rax, qword [rbx]
cmp byte [rax + 0x55], 0
je 0x140075a4d
lea rax, [0x14017cd20]
mov dword [rax + 8], edx
movzx eax, byte [rsp + 0x30]
mov byte [rsp + 0x30], al
jmp 0x140075a70
movsxd rax, ebp
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x68]
mov dword [rax + rcx*8 + 8], edx
lea rax, [rax + rcx*8]
movzx eax, byte [rsp + 0x30]
mov byte [rsp + 0x30], al
jmp 0x140075a70
mov r12d, dword [rsp + 0x4c]
mov rax, qword [rsp + 0xe0]
mov rdi, qword [rsp + 0xd8]
mov rbp, qword [rsp + 0xd0]
mov r13, qword [r13 + 0x28]
test r13, r13
jne 0x1400753e0
mov esi, dword [rsp + 0x64]
cmp qword [rsp + 0xe0], 0
jne 0x140075b7a
cmp byte [rsp + 0x30], 0
je 0x140075b7a
mov r9d, dword [rsp + 0x54]
mov r8d, esi
mov edx, 0x64
mov rcx, rbx
call fcn.1400564c0
mov r8d, dword [rsp + 0x54]
mov edx, 0x16
mov rcx, rbx
call fcn.140056450
mov r9d, dword [rsp + 0x58]
xor r8d, r8d
mov rcx, rbx
mov edi, eax
lea edx, [r8 + 0x4f]
call fcn.1400564c0
mov r8d, dword [rsp + 0x5c]
mov r9d, 3
mov rcx, rbx
mov dword [rsp + 0x20], r12d
lea edx, [r9 + 0x60]
call fcn.140056360
xor r9d, r9d
lea r8, [0x140144794]
mov edx, eax
mov rcx, rbx
call fcn.140057120
mov ebp, dword [rsp + 0x38]
mov edx, 0x72
mov r8d, dword [rsp + 0xe8]
mov r9d, ebp
mov rcx, rbx
call fcn.1400564c0
mov r8d, dword [rsp + 0xe8]
mov r9d, r12d
mov edx, 0x73
mov dword [rsp + 0x20], ebp
mov rcx, rbx
call fcn.140056360
movsxd rax, dword [rbx + 0xb8]
test eax, eax
jle 0x140075b70
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x68]
mov byte [rax + rcx*8 - 0x15], 8
mov edx, edi
mov rcx, rbx
call fcn.140056be0
mov r15, qword [rsp + 0x88]
add rsp, 0x90
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret