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

Disassembly:
push rbx
push rsi
push r12
push r14
push r15
sub rsp, 0x30
mov r8, qword [rdx + 0x28]
xor r12d, r12d
mov rbx, qword [rcx]
mov r15, rdx
mov r14, rcx
mov esi, 0xfff0bdc0
test r8, r8
je 0x1400d8a53
movsxd rax, dword [rbx + 0x28]
mov esi, r12d
test eax, eax
jle 0x1400d8a53
mov rdx, rax
mov ecx, r12d
mov rax, qword [rbx + 0x20]
add rax, 0x18
cmp qword [rax], r8
je 0x1400d8a53
inc esi
inc rcx
add rax, 0x20
cmp rcx, rdx
jl 0x1400d8a40
mov rcx, qword [r15 + 0x30]
mov rdx, qword [r15 + 8]
add rcx, 8
call fcn.1400ec320
mov rcx, qword [rbx + 0x20]
mov r8, qword [r15]
movsxd rdx, esi
mov r9, qword [rax]
shl rdx, 5
cmp esi, 1
mov rbx, qword [rdx + rcx]
mov edx, recv
mov ecx, reloc.WS2_32.dll_recv
mov qword [rsp + 0x20], rbx
cmovne edx, ecx
mov rcx, r14
call fcn.1400cc6a0
test eax, eax
jne 0x1400d8e9e
lea rax, str.sqlite_master
mov qword [rsp + 0x20], rbx
cmp esi, 1
lea r8, str.sqlite_temp_master
mov rcx, r14
cmovne r8, rax
xor r9d, r9d
lea edx, [r9 + 9]
call fcn.1400cc6a0
test eax, eax
jne 0x1400d8e9e
mov rcx, r14
mov qword [rsp + 0x68], rdi
call fcn.1400ec180
mov rdi, rax
test rax, rax
je 0x1400d8e99
mov qword [rsp + 0x60], rbp
mov r8d, esi
xor edx, edx
mov qword [rsp + 0x70], r13
mov rcx, r14
call fcn.1400cd950
mov edx, esi
mov rcx, r14
call fcn.1400f1e40
mov rcx, qword [rdi + 0x30]
mov eax, dword [rdi + 0x3c]
add eax, 9
cmp eax, dword [rcx + 0x60]
jle 0x1400d8b31
mov edx, 9
mov rcx, rdi
call fcn.1400aad80
test eax, eax
je 0x1400d8b31
mov r13d, r12d
jmp 0x1400d8d12
movsxd r13, dword [rdi + 0x3c]
mov rax, qword [rdi + 8]
lea rcx, [r13*2]
add rcx, r13
mov word [rax + rcx*8], WSASetLastError
lea rdx, [rax + rcx*8]
mov dword [rdx + 4], r12d
lea eax, [r13 + 9]
mov dword [rdx + 8], eax
lea rcx, [r13*2]
mov dword [rdx + 0xc], r12d
add rcx, r13
mov qword [rdx + 0x10], r12
mov byte [rdx + 3], r12b
lea edx, [r13 + 8]
mov rax, qword [rdi + 8]
mov word [rax + rcx*8 + 0x18], 0x61
mov dword [rax + rcx*8 + 0x1c], r12d
mov qword [rax + rcx*8 + 0x20], 1
mov qword [rax + rcx*8 + 0x28], r12
mov byte [rax + rcx*8 + 0x1b], r12b
lea rcx, [r13*2]
mov rax, qword [rdi + 8]
add rcx, r13
mov word [rax + rcx*8 + 0x30], 0x2f
mov dword [rax + rcx*8 + 0x34], r12d
mov dword [rax + rcx*8 + 0x38], 1
mov dword [rax + rcx*8 + 0x3c], 2
mov qword [rax + rcx*8 + 0x40], r12
mov byte [rax + rcx*8 + 0x33], r12b
lea rcx, [r13*2]
mov rax, qword [rdi + 8]
add rcx, r13
mov word [rax + rcx*8 + 0x48], 0x4e
mov dword [rax + rcx*8 + 0x4c], 2
mov dword [rax + rcx*8 + 0x50], edx
mov dword [rax + rcx*8 + 0x54], 1
mov qword [rax + rcx*8 + 0x58], r12
mov byte [rax + rcx*8 + 0x4b], r12b
lea rcx, [r13*2]
mov rax, qword [rdi + 8]
add rcx, r13
mov word [rax + rcx*8 + 0x60], 0x61
mov dword [rax + rcx*8 + 0x64], r12d
mov qword [rax + rcx*8 + 0x68], 1
mov qword [rax + rcx*8 + 0x70], r12
mov byte [rax + rcx*8 + 0x63], r12b
lea rcx, [r13*2]
mov rax, qword [rdi + 8]
add rcx, r13
mov word [rax + rcx*8 + 0x78], 0x2f
mov qword [rax + rcx*8 + 0x7c], r12
mov dword [rax + rcx*8 + 0x84], 2
mov qword [rax + rcx*8 + 0x88], r12
mov byte [rax + rcx*8 + 0x7b], r12b
lea rcx, [r13*2]
mov rax, qword [rdi + 8]
add rcx, r13
mov word [rax + rcx*8 + 0x90], 0x4e
mov dword [rax + rcx*8 + 0x94], 2
mov dword [rax + rcx*8 + 0x98], edx
mov dword [rax + rcx*8 + 0x9c], 1
mov qword [rax + rcx*8 + 0xa0], r12
mov byte [rax + rcx*8 + 0x93], r12b
lea rcx, [r13*2]
mov rax, qword [rdi + 8]
add rcx, r13
mov word [rax + rcx*8 + 0xa8], 0x5f
mov qword [rax + rcx*8 + 0xac], r12
mov dword [rax + rcx*8 + 0xb4], r12d
mov qword [rax + rcx*8 + 0xb8], r12
mov byte [rax + rcx*8 + 0xab], r12b
lea rcx, [r13 + 8]
mov rax, qword [rdi + 8]
lea rcx, [rcx + rcx*2]
mov word [rax + rcx*8], 9
mov dword [rax + rcx*8 + 4], r12d
lea rdx, [rax + rcx*8]
lea eax, [r13 + 1]
mov dword [rdx + 8], eax
mov dword [rdx + 0xc], r12d
mov qword [rdx + 0x10], r12
mov byte [rdx + 3], r12b
add dword [rdi + 0x3c], 9
mov r8, qword [rdi + 8]
lea eax, [r13 + 1]
mov rbp, qword [r15]
mov rcx, qword [rdi]
test r8, r8
je 0x1400d8d8a
cmp byte [rcx + 0x51], r12b
jne 0x1400d8d8a
test eax, eax
jns 0x1400d8d34
mov eax, dword [rdi + 0x3c]
dec eax
cdqe
lea rdx, [rax + rax*2]
lea rbx, [r8 + rdx*8]
movsx edx, byte [r8 + rdx*8 + 1]
mov r8, qword [rbx + 0x10]
call fcn.140087680
mov qword [rbx + 0x10], r12
test rbp, rbp
jne 0x1400d8d5c
mov byte [rbx + 1], r12b
jmp 0x1400d8d8a
mov rax, rbp
cmp byte [rbp], r12b
je 0x1400d8d6d
inc rax
cmp byte [rax], r12b
jne 0x1400d8d65
mov rcx, qword [rdi]
sub eax, ebp
and eax, 0x3fffffff
mov rdx, rbp
mov r8d, eax
call fcn.1400d6690
mov qword [rbx + 0x10], rax
mov byte [rbx + 1], 0xff
mov r8, qword [rdi + 8]
lea eax, [r13 + 4]
mov rcx, qword [rdi]
mov r13, qword [rsp + 0x70]
test r8, r8
je 0x1400d8dd6
cmp byte [rcx + 0x51], r12b
jne 0x1400d8dd6
test eax, eax
jns 0x1400d8dae
mov eax, dword [rdi + 0x3c]
dec eax
cdqe
lea rdx, [rax + rax*2]
lea rbx, [r8 + rdx*8]
movsx edx, byte [r8 + rdx*8 + 1]
mov r8, qword [rbx + 0x10]
call fcn.140087680
lea rax, str.trigger
mov byte [rbx + 1], 0xfe
mov qword [rbx + 0x10], rax
mov edx, esi
mov rcx, r14
call fcn.1400d1e40
xor r9d, r9d
mov dword [rsp + 0x20], r12d
xor r8d, r8d
mov rcx, rdi
lea edx, [r9 + 0x3d]
call fcn.1401089e0
mov rbp, qword [r15]
xor r9d, r9d
mov r8d, esi
mov dword [rsp + 0x20], r12d
mov rcx, rdi
lea edx, [r9 + 0x7e]
call fcn.1401089e0
mov r8, qword [rdi + 8]
mov rcx, qword [rdi]
test r8, r8
je 0x1400d8e85
cmp byte [rcx + 0x51], r12b
jne 0x1400d8e85
test eax, eax
jns 0x1400d8e2c
mov eax, dword [rdi + 0x3c]
dec eax
cdqe
lea rdx, [rax + rax*2]
lea rbx, [r8 + rdx*8]
movsx edx, byte [r8 + rdx*8 + 1]
mov r8, qword [rbx + 0x10]
call fcn.140087680
mov qword [rbx + 0x10], r12
test rbp, rbp
jne 0x1400d8e54
mov byte [rbx + 1], r12b
jmp 0x1400d8e85
mov rax, rbp
cmp byte [rbp], r12b
je 0x1400d8e68
nop dword [rax]
inc rax
cmp byte [rax], r12b
jne 0x1400d8e60
mov rcx, qword [rdi]
sub eax, ebp
and eax, 0x3fffffff
mov rdx, rbp
mov r8d, eax
call fcn.1400d6690
mov qword [rbx + 0x10], rax
mov byte [rbx + 1], 0xff
cmp dword [r14 + 0x54], 3
mov rbp, qword [rsp + 0x60]
jge 0x1400d8e99
mov dword [r14 + 0x54], 3
mov rdi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r12
pop rsi
pop rbx
ret