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

Disassembly:
mov rax, rsp
mov dword [rax + 0x20], r9d
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x98
mov rbx, qword [rcx]
mov edi, dword [rsp + 0x100]
mov r15, rcx
mov ecx, 1
mov dword [rsp + 0x40], edi
mov r14, rdx
add edi, ecx
mov byte [rsp + 0x30], cl
mov qword [rsp + 0x88], rbx
lea eax, [rdi + 1]
mov dword [rsp + 0x100], edi
lea ebp, [rcx + rax]
mov dword [rsp + 0x58], eax
mov dword [rsp + 0x38], eax
mov r13d, ebp
mov dword [rsp + 0x3c], ebp
add ebp, ecx
mov r12d, ebp
mov dword [rsp + 0x4c], ebp
add ebp, ecx
mov dword [rsp + 0x44], ebp
add ebp, ecx
mov dword [rsp + 0x50], ebp
add ebp, ecx
mov rcx, r15
cmp dword [r15 + 0x54], ebp
mov eax, ebp
cmovg eax, dword [r15 + 0x54]
mov dword [r15 + 0x54], eax
call fcn.18004a4ec
mov rsi, rax
test rax, rax
je 0x1800335f0
test r14, r14
je 0x1800335f0
cmp dword [r14 + 0x3c], 0
je 0x1800335f0
mov rcx, qword [r14]
lea rdx, str.sqlite_
mov r8d, 7
call fcn.180007c2c
test eax, eax
je 0x1800335f0
mov rdx, qword [r14 + 0x70]
mov rcx, rbx
call fcn.180047984
mov rcx, qword [rbx + 0x20]
mov r8, qword [r14]
movsxd rdi, eax
xor r9d, r9d
mov rdx, rdi
mov dword [rsp + 0x68], edi
shl rdx, 5
mov rdx, qword [rdx + rcx]
mov rcx, r15
mov qword [rsp + 0x20], rdx
lea edx, [r9 + 0x1c]
call fcn.180034634
test eax, eax
jne 0x1800335f0
mov rax, qword [r14]
mov r8d, dword [r14 + 0x3c]
xor r9d, r9d
mov edx, edi
mov rcx, r15
mov qword [rsp + 0x20], rax
call fcn.1800346a8
mov r11d, dword [rsp + 0x108]
mov ecx, 1
mov eax, r11d
add r11d, ecx
mov r9, r14
mov dword [rsp + 0x34], r11d
add r11d, ecx
mov r8d, edi
cmp dword [r15 + 0x50], r11d
mov edx, eax
mov rcx, r15
cmovg r11d, dword [r15 + 0x50]
mov dword [rsp + 0x5c], eax
mov dword [rsp + 0x20], 0x35
mov dword [r15 + 0x50], r11d
call fcn.18003fa38
mov rbx, qword [r14]
xor edi, edi
mov r9d, r12d
xor r8d, r8d
lea edx, [rdi + 0x61]
mov rcx, rsi
mov dword [rsp + 0x20], edi
call fcn.18001eb5c
xor r9d, r9d
mov r8, rbx
mov edx, eax
mov rcx, rsi
call fcn.18001f128
mov r12, qword [r14 + 0x10]
cmp r12, rdi
je 0x1800334ec
mov rax, qword [rsp + 0xf0]
cmp rax, rdi
je 0x180032f7b
cmp rax, r12
jne 0x1800334de
mov rax, qword [r12 + 0x48]
neg rax
sbb cl, cl
and cl, byte [rsp + 0x30]
test byte [r14 + 0x48], 0x20
mov byte [rsp + 0x30], cl
je 0x1800334ab
mov eax, dword [r12 + 0x64]
and al, 3
cmp al, 2
jne 0x1800334ab
movzx edi, word [r12 + 0x5e]
mov rbx, qword [r14]
lea r13d, [rdi - 1]
mov r9d, dword [rsp + 0x44]
and dword [rsp + 0x20], 0
xor r8d, r8d
lea edx, [r8 + 0x61]
mov rcx, rsi
call fcn.18001eb5c
xor r9d, r9d
mov r8, rbx
mov edx, eax
mov rcx, rsi
call fcn.18001f128
mov eax, dword [rsp + 0x68]
mov r8d, dword [rsp + 0x34]
lea r11d, [r13 + rbp]
mov edx, 0x35
mov rcx, rsi
cmp dword [r15 + 0x54], r11d
mov dword [rsp + 0x20], eax
cmovg r11d, dword [r15 + 0x54]
mov dword [r15 + 0x54], r11d
mov r9d, dword [r12 + 0x58]
call fcn.18001eb5c
mov rbx, qword [r15 + 0x10]
mov rdx, r12
mov rcx, r15
call fcn.180039d38
mov r9d, 0xfffffffa
or edx, 0xffffffff
mov r8, rax
mov rcx, rbx
call fcn.18001f128
mov ebx, dword [rsp + 0x58]
and dword [rsp + 0x20], 0
mov r9d, ebx
mov r8d, edi
mov edx, 0x19
mov rcx, rsi
call fcn.18001eb5c
mov edi, dword [rsp + 0x100]
movzx r8d, word [r12 + 0x5e]
and dword [rsp + 0x20], 0
lea r9d, [rdi + 2]
mov edx, 0x19
mov rcx, rsi
call fcn.18001eb5c
xor r8d, r8d
mov r9d, ebx
lea edx, [r8 + 1]
mov rcx, rsi
mov dword [rsp + 0x20], edi
call fcn.18001eb5c
lea r8, [0x180065600]
mov r9d, 0xfffffffb
or edx, 0xffffffff
mov rcx, rsi
call fcn.18001f128
mov rdx, qword [rsi + 8]
test rdx, rdx
je 0x1800330b4
movsxd rax, dword [rsi + 0x3c]
lea rcx, [rax + rax*2]
mov byte [rdx + rcx*8 - 0x15], 2
mov r8d, dword [rsp + 0x34]
and dword [rsp + 0x20], 0
xor r9d, r9d
lea edx, [r9 + 0x6a]
mov rcx, rsi
call fcn.18001eb5c
and dword [rsp + 0x20], 0
xor r8d, r8d
lea edx, [r8 + 0x19]
mov r9d, ebx
mov rcx, rsi
mov dword [rsp + 0x60], eax
call fcn.18001eb5c
mov ebx, dword [rsi + 0x3c]
test r13d, r13d
jle 0x180033353
mov rcx, rsi
call fcn.18001ec9c
mov rcx, qword [rsp + 0x88]
mov edx, r13d
shl edx, 2
mov ebx, eax
mov dword [rsp + 0x54], eax
call fcn.180005d10
mov rdi, rax
mov qword [rsp + 0x78], rax
test rax, rax
je 0x1800334cf
and dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x10]
mov rcx, rsi
call fcn.18001eb5c
mov eax, dword [rsi + 0x3c]
mov dword [rsp + 0x48], eax
mov eax, 1
cmp r13d, eax
jne 0x180033174
cmp word [r12 + 0x5e], ax
jne 0x180033174
cmp byte [r12 + 0x62], 0
je 0x180033174
and dword [rsp + 0x20], 0
lea edx, [rax + 0x4c]
mov r9d, ebx
mov r8d, ebp
mov rcx, rsi
call fcn.18001eb5c
and dword [rsp + 0x64], 0
test r13d, r13d
jle 0x180033269
mov r14d, dword [rsp + 0x64]
xor eax, eax
mov qword [rsp + 0x80], rdi
mov qword [rsp + 0x70], rax
mov rdx, qword [r12 + 0x40]
mov rcx, r15
mov rdx, qword [rax + rdx]
call fcn.180035f6c
mov r9d, dword [rsp + 0x38]
and dword [rsp + 0x20], 0
mov r8d, r14d
mov edx, 0x19
mov rcx, rsi
mov rdi, rax
call fcn.18001eb5c
mov ebx, dword [rsp + 0x3c]
mov r8d, dword [rsp + 0x34]
mov r9d, r14d
mov edx, 0x2e
mov rcx, rsi
mov dword [rsp + 0x20], ebx
call fcn.18001eb5c
xor r9d, r9d
lea r11d, [r14 + rbp]
lea edx, [r9 + 0x4e]
mov r8d, ebx
mov rcx, rsi
mov dword [rsp + 0x20], r11d
call fcn.18001eb5c
mov r9d, 0xfffffffc
mov r8, rdi
mov rcx, rsi
mov edx, eax
mov ebx, eax
call fcn.18001f128
mov rdx, qword [rsp + 0x80]
mov dword [rdx], ebx
mov r8, qword [rsi + 8]
test r8, r8
je 0x180033232
movsxd rax, dword [rsi + 0x3c]
lea rcx, [rax + rax*2]
mov byte [r8 + rcx*8 - 0x15], 0x80
mov rax, qword [rsp + 0x70]
add rdx, 4
inc r14d
add rax, 8
cmp r14d, r13d
mov qword [rsp + 0x80], rdx
mov qword [rsp + 0x70], rax
jl 0x180033196
mov r14, qword [rsp + 0xe8]
mov rdi, qword [rsp + 0x78]
mov ebx, dword [rsp + 0x54]
mov r9d, dword [rsp + 0x38]
and dword [rsp + 0x20], 0
mov r8d, r13d
mov edx, 0x19
mov rcx, rsi
call fcn.18001eb5c
and dword [rsp + 0x20], 0
xor r8d, r8d
lea edx, [r8 + 0x10]
mov r9d, ebx
mov rcx, rsi
call fcn.18001eb5c
mov r11d, dword [rsp + 0x48]
mov edx, dword [rsi + 0x3c]
dec r11d
cmp edx, r11d
jbe 0x1800332b6
mov rax, qword [rsi + 8]
lea rcx, [r11 + r11*2]
mov dword [rax + rcx*8 + 8], edx
mov ecx, dword [rsi + 0x3c]
mov rax, qword [rsi + 0x30]
xor ebx, ebx
dec ecx
mov dword [rax + 0x64], ecx
test r13d, r13d
jle 0x18003332a
mov r14d, dword [rsp + 0x34]
lea r15d, [rbx + 1]
mov edx, dword [rsi + 0x3c]
cmp edx, dword [rdi]
jbe 0x1800332e7
mov eax, dword [rdi]
lea rcx, [rax + rax*2]
mov rax, qword [rsi + 8]
mov dword [rax + rcx*8 + 8], edx
mov ecx, dword [rsi + 0x3c]
mov rax, qword [rsi + 0x30]
mov r9d, ebx
sub ecx, r15d
mov r8d, r14d
mov edx, 0x2e
mov dword [rax + 0x64], ecx
lea eax, [rbx + rbp]
mov rcx, rsi
mov dword [rsp + 0x20], eax
call fcn.18001eb5c
add ebx, r15d
add rdi, 4
cmp ebx, r13d
jl 0x1800332d2
mov r14, qword [rsp + 0xe8]
mov r15, qword [rsp + 0xe0]
mov edx, dword [rsp + 0x54]
mov rcx, rsi
call fcn.18001ecf8
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x88]
call fcn.180005a84
mov edi, dword [rsp + 0x100]
mov ebx, dword [rsp + 0x48]
mov r13d, dword [rsp + 0x3c]
mov eax, 1
mov r9d, edi
mov r8d, eax
mov edx, eax
mov rcx, rsi
mov dword [rsp + 0x20], r13d
call fcn.18001eb5c
lea r8, [0x180065650]
mov r9d, 0xfffffffb
or edx, 0xffffffff
mov rcx, rsi
call fcn.18001f128
mov r11, qword [rsi + 8]
test r11, r11
je 0x1800333a1
movsxd rax, dword [rsi + 0x3c]
lea rcx, [rax + rax*2]
mov byte [r11 + rcx*8 - 0x15], 2
mov r8d, dword [rsp + 0x34]
and dword [rsp + 0x20], 0
mov r9d, ebx
mov edx, 9
mov rcx, rsi
call fcn.18001eb5c
mov eax, dword [rsp + 0x50]
xor r8d, r8d
lea ebx, [r8 + 1]
mov r9d, edi
mov rcx, rsi
mov edx, ebx
mov dword [rsp + 0x20], eax
call fcn.18001eb5c
lea r9d, [rbx - 6]
lea r8, [0x1800656a0]
or edx, 0xffffffff
mov rcx, rsi
call fcn.18001f128
mov r11, qword [rsi + 8]
test r11, r11
je 0x180033403
movsxd rax, dword [rsi + 0x3c]
lea rcx, [rax + rax*2]
mov byte [r11 + rcx*8 - 0x15], bl
mov r8d, dword [rsp + 0x4c]
mov r9d, 3
mov rcx, rsi
lea edx, [r9 + 0x2d]
mov dword [rsp + 0x20], r13d
call fcn.18001eb5c
lea r8, [0x1800693c0]
xor r9d, r9d
mov edx, eax
mov rcx, rsi
call fcn.18001f128
mov edi, dword [rsp + 0x40]
mov ebx, dword [rsp + 0xf8]
and dword [rsp + 0x20], 0
mov r9d, edi
mov r8d, ebx
mov edx, 0x46
mov rcx, rsi
call fcn.18001eb5c
mov r9d, r13d
mov r8d, ebx
mov edx, 0x49
mov rcx, rsi
mov dword [rsp + 0x20], edi
call fcn.18001eb5c
mov r11, qword [rsi + 8]
xor edi, edi
cmp r11, rdi
je 0x180033486
movsxd rax, dword [rsi + 0x3c]
lea rcx, [rax + rax*2]
mov byte [r11 + rcx*8 - 0x15], 8
mov edx, dword [rsi + 0x3c]
mov eax, dword [rsp + 0x60]
cmp edx, eax
jbe 0x18003349d
lea rcx, [rax + rax*2]
mov rax, qword [rsi + 8]
mov dword [rax + rcx*8 + 8], edx
mov ecx, dword [rsi + 0x3c]
mov rax, qword [rsi + 0x30]
dec ecx
mov dword [rax + 0x64], ecx
jmp 0x1800334d6
test byte [r12 + 0x64], 8
movzx edi, word [r12 + 0x60]
mov rbx, qword [r12]
je 0x180032fb0
movzx r13d, word [r12 + 0x5e]
dec r13d
jmp 0x180032fb4
mov r13d, dword [rsp + 0x3c]
xor edi, edi
mov rax, qword [rsp + 0xf0]
mov r12, qword [r12 + 0x28]
cmp r12, rdi
jne 0x180032f6d
cmp qword [rsp + 0xf0], rdi
jne 0x1800335f0
cmp byte [rsp + 0x30], dil
je 0x1800335f0
mov ebx, dword [rsp + 0x50]
mov r8d, dword [rsp + 0x5c]
mov edx, 0x31
mov rcx, rsi
mov r9d, ebx
mov dword [rsp + 0x20], edi
call fcn.18001eb5c
xor r9d, r9d
mov r8d, ebx
lea edx, [r9 + 0x2d]
mov rcx, rsi
mov dword [rsp + 0x20], edi
call fcn.18001eb5c
mov r9d, dword [rsp + 0x44]
xor r8d, r8d
lea edx, [r8 + 0x1c]
mov rcx, rsi
mov dword [rsp + 0x20], edi
mov ebx, eax
call fcn.18001eb5c
mov r8d, dword [rsp + 0x4c]
mov r9d, 3
mov rcx, rsi
mov dword [rsp + 0x20], r13d
lea edx, [r9 + 0x2d]
call fcn.18001eb5c
lea r8, [0x1800693c0]
xor r9d, r9d
mov edx, eax
mov rcx, rsi
call fcn.18001f128
mov ebp, dword [rsp + 0x40]
mov dword [rsp + 0x20], edi
mov edi, dword [rsp + 0xf8]
mov r9d, ebp
mov edx, 0x46
mov r8d, edi
mov rcx, rsi
call fcn.18001eb5c
mov r9d, r13d
mov r8d, edi
mov edx, 0x49
mov rcx, rsi
mov dword [rsp + 0x20], ebp
call fcn.18001eb5c
mov rdx, qword [rsi + 8]
test rdx, rdx
je 0x1800335d1
movsxd rax, dword [rsi + 0x3c]
lea rcx, [rax + rax*2]
mov byte [rdx + rcx*8 - 0x15], 8
mov edx, dword [rsi + 0x3c]
cmp edx, ebx
jbe 0x1800335e4
mov rax, qword [rsi + 8]
lea rcx, [rbx + rbx*2]
mov dword [rax + rcx*8 + 8], edx
mov ecx, dword [rsi + 0x3c]
mov rax, qword [rsi + 0x30]
dec ecx
mov dword [rax + 0x64], ecx
add rsp, 0x98
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret