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

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x238
mov rax, qword [0x1403b8c08]
xor rax, rsp
mov qword [rsp + 0x220], rax
mov rax, qword [rsp + 0x2b0]
xor r12d, r12d
cmp dword [rsp + 0x2a8], r12d
mov r15, rcx
mov qword [rsp + 0x70], rax
mov rbp, r9
mov qword [rsp + 0x50], r9
mov r14, r8
mov qword [rax], r12
mov rbx, rdx
mov rcx, qword [rcx + 0x18]
mov eax, r12d
setne al
mov qword [rsp + 0x60], r8
mov dword [rsp + 0x30], eax
mov esi, r12d
mov qword [rsp + 0x68], rdx
mov r13d, r12d
mov dword [rsp + 0x38], r12d
mov dword [rsp + 0x34], r12d
test rcx, rcx
je 0x14018fbc5
call qword [0x1403ba330]
mov edx, 0x38
mov rcx, r15
call fcn.1401ec300
mov qword [rsp + 0x58], rax
mov rdi, rax
test rax, rax
je 0x14018fc00
xor eax, eax
mov qword [rdi], rax
mov qword [rdi + 8], rax
mov qword [rdi + 0x10], rax
mov qword [rdi + 0x18], rax
mov qword [rdi + 0x20], rax
mov qword [rdi + 0x28], rax
mov qword [rdi + 0x30], rax
nop dword [rax]
xor edx, edx
lea rcx, [rsp + 0x80]
mov r8d, 0x1a0
call fcn.140289490
test rdi, rdi
je 0x14019017c
mov qword [rsp + 0x80], r15
test r13, r13
je 0x14018fc6f
cmp qword [r15 + 0x2b0], r12
je 0x14018fc41
mov rdx, r13
mov rcx, r15
call fcn.1401ca810
jmp 0x14018fc6f
cmp r13, qword [r15 + 0x198]
jb 0x14018fc67
cmp r13, qword [r15 + 0x1a0]
jae 0x14018fc67
mov rax, qword [r15 + 0x190]
mov qword [r13], rax
mov qword [r15 + 0x190], r13
jmp 0x14018fc6f
mov rcx, r13
call fcn.1401890d0
mov r13, r12
mov qword [rsp + 0x48], r12
cmp byte [r15 + 0x69], r12b
jne 0x14018fc85
mov rcx, r15
call fcn.1401a1d80
mov r9, rbx
lea rcx, [rsp + 0x80]
mov r8, r14
xor edx, edx
call fcn.140203840
mov qword [rsp + 0x40], rax
mov rbx, rax
test rax, rax
je 0x1401901d0
cmp dword [rax + 0x54], r12d
jne 0x1401901b9
test byte [rax + 0x40], 0x20
jne 0x1401901b0
cmp qword [rax + 0x18], r12
jne 0x1401901a7
mov qword [rdi + 0x30], rax
mov rcx, 0xfffffffffff0bdc0
mov rdx, qword [rax + 0x70]
test rdx, rdx
je 0x14018fcfc
mov rax, qword [r15 + 0x20]
mov rcx, r12
add rax, 0x18
cmp qword [rax], rdx
je 0x14018fcfc
nop dword [rax]
inc rcx
lea rax, [rax + 0x20]
cmp qword [rax], rdx
jne 0x14018fcf0
mov rax, qword [r15 + 0x20]
mov r14d, r12d
shl rcx, 5
mov rcx, qword [rcx + rax]
mov qword [rdi + 0x28], rcx
movsx r10d, word [rbx + 0x46]
test r10d, r10d
jle 0x14018fd95
movzx eax, byte [rbp]
lea rcx, [0x14032fde0]
mov r11, qword [rbx + 8]
movzx ebx, byte [rax + rcx]
nop dword [rax]
movsxd rax, r14d
shl rax, 5
mov r8, qword [rax + r11]
movzx edx, byte [r8]
movzx eax, byte [rdx + rcx]
sub eax, ebx
jne 0x14018fd88
mov r9, rbp
sub r9, r8
nop dword [rax]
test dl, dl
je 0x14018fd84
movzx eax, byte [r8 + r9 + 1]
inc r8
movzx ecx, byte [rax + rcx]
lea rax, [0x14032fde0]
movzx edx, byte [r8]
movzx eax, byte [rdx + rax]
sub eax, ecx
lea rcx, [0x14032fde0]
je 0x14018fd50
lea rcx, [0x14032fde0]
jmp 0x14018fd88
test eax, eax
je 0x14018fd90
inc r14d
cmp r14d, r10d
jl 0x14018fd30
mov rbx, qword [rsp + 0x40]
cmp r14d, r10d
je 0x140190193
cmp dword [rsp + 0x2a8], r12d
je 0x14018fe44
mov eax, dword [r15 + 0x30]
mov r9, r12
bt rax, 0xe
jae 0x14018fdf4
mov r8, qword [rbx + 0x20]
test r8, r8
je 0x14018fdf4
movsxd rdx, dword [r8 + 0x28]
test rdx, rdx
jle 0x14018fdeb
lea rcx, [r8 + 0x40]
cmp dword [rcx], r14d
lea rax, str.foreign_key
lea rcx, [rcx + 0x10]
cmovne rax, r9
mov r9, rax
sub rdx, 1
jne 0x14018fdd0
mov r8, qword [r8 + 8]
test r8, r8
jne 0x14018fdc3
mov r10, qword [rbx + 0x10]
test r10, r10
je 0x14018fe3b
nop dword [rax]
movzx eax, word [r10 + 0x5e]
cmp r12w, ax
jae 0x14018fe32
mov rdx, qword [r10 + 8]
movzx r8d, ax
movsx eax, word [rdx]
cmp eax, r14d
je 0x14018fe21
cmp ax, 0xfffe
jne 0x14018fe28
lea r9, str.indexed
add rdx, 2
sub r8, 1
jne 0x14018fe13
mov r10, qword [r10 + 0x28]
test r10, r10
jne 0x14018fe00
test r9, r9
jne 0x140190163
lea rcx, [rsp + 0x80]
call fcn.140217920
mov rdi, rax
mov rax, qword [rsp + 0x58]
mov qword [rax + 0x18], rdi
test rdi, rdi
je 0x1401900fe
mov rcx, qword [rbx + 0x70]
mov esi, 0xfff0bdc0
mov rbp, 0xfffffffffff0bdc0
test rcx, rcx
je 0x14018fe9e
mov rax, qword [r15 + 0x20]
mov esi, r12d
add rax, 0x18
mov rbp, r12
cmp qword [rax], rcx
je 0x14018fe9e
nop
inc esi
lea rax, [rax + 0x20]
inc rbp
cmp qword [rax], rcx
jne 0x14018fe90
movsxd rdx, dword [rdi + 0x90]
mov ebx, dword [rcx + 4]
mov r8d, dword [rcx]
mov r9d, dword [rsp + 0x30]
cmp dword [rdi + 0x94], edx
jg 0x14018fed1
mov dword [rsp + 0x20], r8d
mov edx, 2
mov r8d, esi
mov rcx, rdi
call fcn.1401c6d10
mov edx, eax
jmp 0x14018feff
lea rcx, [rdx + rdx*2]
lea eax, [rdx + 1]
mov dword [rdi + 0x90], eax
mov rax, qword [rdi + 0x88]
mov dword [rax + rcx*8], 2
mov dword [rax + rcx*8 + 4], esi
mov dword [rax + rcx*8 + 8], r9d
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], r12
mov rax, qword [rdi]
cmp byte [rax + 0x61], r12b
jne 0x14018ff1f
movsxd rax, edx
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x88]
mov byte [rax + rcx*8 + 1], 0xfd
mov dword [rax + rcx*8 + 0x10], ebx
movsxd rax, dword [rdi + 0x90]
test eax, eax
jle 0x14018ff45
lea rcx, [rax + rax*2]
mov edx, 1
mov rax, qword [rdi + 0x88]
mov word [rax + rcx*8 - 0x16], dx
mov eax, dword [rdi + 0x90]
add eax, 6
cmp eax, dword [rdi + 0x94]
jle 0x14018ff69
mov edx, 6
mov rcx, rdi
call fcn.1401c6d80
test eax, eax
je 0x14018ff69
mov rbx, r12
jmp 0x140190014
movsxd rax, dword [rdi + 0x90]
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x88]
mov qword [rax + rcx*8], SHCreateDirectory
mov qword [rax + rcx*8 + 8], r12
mov qword [rax + rcx*8 + 0x10], r12
lea rbx, [rax + rcx*8]
mov qword [rbx + 0x18], WSAStartup
mov qword [rbx + 0x20], r12
mov qword [rbx + 0x28], r12
mov byte [rbx + 0x30], 0x1f
mov dword [rbx + 0x34], r12d
mov dword [rbx + 0x38], 5
mov eax, dword [rdi + 0x90]
add eax, 5
mov dword [rbx + 0x38], eax
mov eax, 1
mov dword [rbx + 0x3c], eax
mov byte [rbx + 0x31], r12b
mov qword [rbx + 0x40], r12
mov word [rbx + 0x32], r12w
mov qword [rbx + 0x48], 0x5a
mov dword [rbx + 0x50], r12d
mov dword [rbx + 0x54], eax
mov qword [rbx + 0x58], r12
mov dword [rbx + 0x60], 0x51
mov qword [rbx + 0x64], rax
mov dword [rbx + 0x6c], r12d
mov qword [rbx + 0x70], r12
mov qword [rbx + 0x78], 0x45
mov qword [rbx + 0x80], r12
mov qword [rbx + 0x88], r12
add dword [rdi + 0x90], 6
mov eax, dword [rdi + 0xcc]
bts eax, esi
mov dword [rdi + 0xcc], eax
cmp esi, 1
je 0x14019004d
mov rax, qword [rdi]
shl rbp, 5
mov rcx, qword [rax + 0x20]
mov rax, qword [rcx + rbp + 8]
cmp byte [rax + 0x11], r12b
je 0x14019004d
mov eax, dword [rdi + 0xd0]
bts eax, esi
mov dword [rdi + 0xd0], eax
mov rbp, qword [rsp + 0x40]
cmp byte [r15 + 0x61], r12b
jne 0x1401900f5
mov dword [rbx + 4], esi
mov eax, dword [rbp + 0x38]
mov dword [rbx + 8], eax
mov eax, dword [rsp + 0x30]
mov dword [rbx + 0xc], eax
mov rcx, qword [rdi]
mov r8, qword [rbp]
cmp byte [rcx + 0x61], r12b
je 0x140190082
xor edx, edx
call fcn.1401b1ff0
jmp 0x140190098
mov rdx, qword [rdi + 0x88]
xor r9d, r9d
add rdx, 0x30
mov rcx, rdi
call fcn.140231240
cmp byte [r15 + 0x61], r12b
jne 0x1401900f5
cmp dword [rsp + 0x2a8], r12d
je 0x1401900ac
mov byte [rbx + 0x18], WSAGetLastError
mov eax, dword [rbp + 0x38]
lea rdx, [rsp + 0x80]
mov dword [rbx + 0x20], eax
mov rcx, rdi
mov dword [rbx + 0x24], esi
mov byte [rbx + 0x19], 0xfd
movsx eax, word [rbp + 0x46]
inc eax
mov dword [rbx + 0x28], eax
movsx eax, word [rbp + 0x46]
mov dword [rbx + 0x50], eax
mov eax, 1
mov dword [rsp + 0xb8], eax
mov dword [rsp + 0xb4], eax
mov word [rsp + 0x190], r12w
call fcn.140220ca0
mov rbp, qword [rsp + 0x50]
mov esi, dword [rsp + 0x34]
mov rdi, qword [rsp + 0x58]
mov word [rdi + 8], r14w
mov qword [rdi + 0x20], r15
cmp byte [r15 + 0x69], r12b
jne 0x14019011a
mov rcx, r15
call fcn.1401a20d0
cmp byte [r15 + 0x61], r12b
jne 0x14019017c
mov rdx, qword [rsp + 0x2a0]
lea r8, [rsp + 0x48]
mov rcx, rdi
call fcn.1401a1040
mov ebx, dword [rsp + 0x38]
mov esi, eax
inc ebx
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x38], ebx
cmp ebx, 0x32
jge 0x140190177
cmp eax, 0x11
jne 0x140190177
mov r13, qword [rsp + 0x48]
mov r14, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
jmp 0x14018fc00
mov r8, r9
lea rdx, str.cannot_open__s_column_for_writing
mov rcx, r15
call fcn.140203ed0
jmp 0x1401901e5
mov r13, qword [rsp + 0x48]
test esi, esi
jne 0x1401901fb
cmp byte [r15 + 0x61], r12b
jne 0x1401901fb
mov rax, qword [rsp + 0x70]
mov qword [rax], rdi
jmp 0x1401902c7
mov r8, rbp
lea rdx, str.no_such_column:___s_
mov rcx, r15
call fcn.140203ed0
jmp 0x1401901e5
lea rdx, str.cannot_open_view:__s
jmp 0x1401901c0
lea rdx, str.cannot_open_table_without_rowid:__s
jmp 0x1401901c0
lea rdx, str.cannot_open_virtual_table:__s
mov r8, r14
lea rcx, [rsp + 0x80]
call fcn.1401ee830
mov rax, qword [rsp + 0x88]
test rax, rax
je 0x1401901e8
mov qword [rsp + 0x88], r12
mov r13, rax
mov esi, 1
cmp byte [r15 + 0x69], r12b
jne 0x1401901fb
mov rcx, r15
call fcn.1401a20d0
test rdi, rdi
je 0x1401902c7
mov rbx, qword [rdi + 0x18]
test rbx, rbx
je 0x14019022e
mov eax, dword [rbx + 0x24]
cmp eax, 0x2df20da3
je 0x14019021e
cmp eax, 0x319c2973
jne 0x140190226
mov rcx, rbx
call fcn.140222e60
mov rcx, rbx
call fcn.140217a10
cmp qword [r15 + 0x2b0], r12
je 0x140190247
mov rdx, rdi
mov rcx, r15
call fcn.1401ca810
jmp 0x1401902c7
cmp rdi, qword [r15 + 0x198]
jb 0x14019026c
cmp rdi, qword [r15 + 0x1a0]
jae 0x14019026c
mov rax, qword [r15 + 0x190]
mov qword [rdi], rax
mov qword [r15 + 0x190], rdi
jmp 0x1401902c7
cmp dword [reloc.WS2_32.dll_accept], r12d
je 0x1401902be
mov rcx, qword [0x1403db8a0]
test rcx, rcx
je 0x140190287
call qword [0x1403ba330]
mov rcx, rdi
call qword [0x1403ba2e8]
dec qword [0x1403db798]
movsxd rcx, eax
sub qword [0x1403db750], rcx
mov rcx, rdi
call qword [0x1403ba2d8]
mov rcx, qword [0x1403db8a0]
test rcx, rcx
je 0x1401902c7
call qword [0x1403ba340]
jmp 0x1401902c7
mov rcx, rdi
call qword [0x1403ba2d8]
lea rax, [0x14032d664]
test r13, r13
mov r9, r13
mov edx, esi
cmovne r12, rax
mov rcx, r15
mov r8, r12
call fcn.1401ee930
test r13, r13
je 0x140190389
cmp qword [r15 + 0x2b0], 0
je 0x140190308
mov rdx, r13
mov rcx, r15
call fcn.1401ca810
jmp 0x140190389
cmp r13, qword [r15 + 0x198]
jb 0x14019032e
cmp r13, qword [r15 + 0x1a0]
jae 0x14019032e
mov rax, qword [r15 + 0x190]
mov qword [r13], rax
mov qword [r15 + 0x190], r13
jmp 0x140190389
cmp dword [reloc.WS2_32.dll_accept], 0
je 0x140190380
mov rcx, qword [0x1403db8a0]
test rcx, rcx
je 0x140190349
call qword [0x1403ba330]
mov rcx, r13
call qword [0x1403ba2e8]
dec qword [0x1403db798]
movsxd rcx, eax
sub qword [0x1403db750], rcx
mov rcx, r13
call qword [0x1403ba2d8]
mov rcx, qword [0x1403db8a0]
test rcx, rcx
je 0x140190389
call qword [0x1403ba340]
jmp 0x140190389
mov rcx, r13
call qword [0x1403ba2d8]
mov rdi, qword [rsp + 0xd0]
mov rbx, qword [rsp + 0x80]
test rdi, rdi
je 0x140190441
test rbx, rbx
je 0x1401903e6
cmp qword [rbx + 0x2b0], 0
je 0x1401903c1
mov rdx, rdi
mov rcx, rbx
call fcn.1401ca810
jmp 0x140190441
cmp rdi, qword [rbx + 0x198]
jb 0x1401903e6
cmp rdi, qword [rbx + 0x1a0]
jae 0x1401903e6
mov rax, qword [rbx + 0x190]
mov qword [rdi], rax
mov qword [rbx + 0x190], rdi
jmp 0x140190441
cmp dword [reloc.WS2_32.dll_accept], 0
je 0x140190438
mov rcx, qword [0x1403db8a0]
test rcx, rcx
je 0x140190401
call qword [0x1403ba330]
mov rcx, rdi
call qword [0x1403ba2e8]
dec qword [0x1403db798]
mov rcx, rdi
movsxd rdx, eax
sub qword [0x1403db750], rdx
call qword [0x1403ba2d8]
mov rcx, qword [0x1403db8a0]
test rcx, rcx
je 0x140190441
call qword [0x1403ba340]
jmp 0x140190441
mov rcx, rdi
call qword [0x1403ba2d8]
mov rdx, qword [rsp + 0xd8]
test rdx, rdx
je 0x140190456
mov rcx, rbx
call fcn.1401adff0
test rbx, rbx
je 0x140190469
movzx eax, byte [rsp + 0xa4]
sub dword [rbx + 0x170], eax
cmp byte [r15 + 0x61], 0
mov byte [rsp + 0xa4], 0
jne 0x140190486
cmp esi, 0xc0a
je 0x140190486
and esi, dword [r15 + 0x54]
jmp 0x140190490
mov rcx, r15
call fcn.14019e650
mov esi, eax
mov rcx, qword [r15 + 0x18]
test rcx, rcx
je 0x14019049f
call qword [0x1403ba340]
mov eax, esi
mov rcx, qword [rsp + 0x220]
xor rcx, rsp
call fcn.140172190
add rsp, 0x238
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret