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

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], r9
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x10], rdx
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xd0
mov r14, qword [rcx]
xor r12d, r12d
mov eax, r12d
test r9, r9
mov rbx, r8
mov rsi, rdx
setne al
mov r13, rcx
movzx r15d, byte [rax + r8 + 0x2d]
mov rdi, qword [r8 + rax*8 + 0x30]
mov byte [rsp + 0x110], r15b
test r15b, r15b
je 0x140123acc
test rdi, rdi
jne 0x140123acc
lea rax, [rsp + 0x78]
mov qword [r11 - 0x80], r12
lea r9, [r11 - 0x80]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x78], r12
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x80], r12
mov qword [rsp + 0x68], r12
call fcn.14014b930
test eax, eax
jne 0x140123a56
lea r9, [r12 - 1]
mov qword [rsp + 0xc8], rbp
mov dword [rsp + 0x58], r12d
cmp dword [rbx + 0x28], r12d
jle 0x14012369a
movzx eax, r15b
mov ecx, r12d
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0x98], rcx
jmp 0x140122fa7
mov r9, 0xffffffffffffffff
mov rax, qword [rsp + 0x78]
test rax, rax
je 0x140122fb6
mov edx, dword [rax + rcx*4]
jmp 0x140122fb9
mov edx, dword [rbx + 0x40]
mov rax, qword [rsp + 0x88]
test rax, rax
je 0x140122fd0
mov rax, qword [rax + 8]
movzx ecx, word [rax + rcx*2]
jmp 0x140122fd4
movzx ecx, word [rsi + 0x3c]
movsx rax, cx
lea rcx, [rax + rax*2]
mov rax, qword [rsi + 8]
add rcx, rcx
mov r8, qword [rax + rcx*8]
movsxd rax, edx
mov qword [rsp + 0x60], r8
lea rdx, [rax + rax*2]
mov rax, qword [rbx]
shl rdx, 4
mov qword [rsp + 0xb8], rdx
mov rcx, qword [rax + 8]
mov r15, qword [rdx + rcx]
mov qword [rsp + 0xa0], r15
test r8, r8
jne 0x14012301c
mov edi, r12d
jmp 0x140123030
mov rdi, r9
nop
inc rdi
cmp byte [r8 + rdi], 0
jne 0x140123020
and edi, 0x3fffffff
test r15, r15
jne 0x14012303a
mov ebp, r12d
jmp 0x140123050
mov rbp, r9
nop dword [rax]
inc rbp
cmp byte [r15 + rbp], 0
jne 0x140123040
and ebp, 0x3fffffff
lea eax, [rbp + 1]
mov rcx, r14
lea rdx, [rax + 0x48]
mov ebx, eax
call fcn.140141f40
mov rsi, rax
test rax, rax
je 0x1401230ad
lea r8, [rbx + 0x48]
xor edx, edx
mov rcx, rax
call fcn.140249b10
mov byte [rsi], 0x1b
mov rax, 0xffffffffffffffff
mov word [rsi + 0x32], ax
lea rcx, [rsi + 0x48]
mov qword [rsi + 8], rcx
test ebp, ebp
je 0x1401230a0
mov r8d, ebp
mov rdx, r15
call fcn.1402496a0
mov rcx, qword [rsi + 8]
mov eax, ebp
mov byte [rax + rcx], 0
mov dword [rsi + 0x28], 1
mov eax, edi
mov rcx, r14
mov qword [rsp + 0x90], rax
lea r15, [rax + 0x49]
mov rdx, r15
call fcn.140141f40
mov rbx, rax
test rax, rax
je 0x140123118
mov r8, r15
xor edx, edx
mov rcx, rax
call fcn.140249b10
mov r15, qword [rsp + 0x60]
mov rax, 0xffffffffffffffff
mov word [rbx + 0x32], ax
lea rcx, [rbx + 0x48]
mov qword [rbx + 8], rcx
mov byte [rbx], 0x1b
test edi, edi
je 0x140123109
mov r8d, edi
mov rdx, r15
call fcn.1402496a0
mov rcx, qword [rbx + 8]
mov eax, edi
mov byte [rax + rcx], 0
mov dword [rbx + 0x28], 1
jmp 0x14012311d
mov r15, qword [rsp + 0x60]
mov edx, 0x4c
mov rcx, r14
call fcn.140141f40
mov r8, rax
test rax, rax
je 0x140123193
xor eax, eax
lea rcx, [r8 + 0x48]
mov qword [r8], rax
mov qword [r8 + 0x10], rax
mov qword [r8 + 0x18], rax
mov qword [r8 + 0x20], rax
mov qword [r8 + 0x28], rax
mov qword [r8 + 0x30], rax
mov qword [r8 + 0x38], rax
mov qword [r8 + 0x40], rax
mov dword [r8 + 0x48], eax
mov rax, 0xffffffffffffffff
mov word [r8 + 0x32], ax
mov qword [r8 + 8], rcx
mov byte [r8], 0x1b
movzx eax, word [0x1402bfa38]
mov word [rcx], ax
movzx eax, byte [0x1402bfa3a]
mov byte [rcx + 2], al
mov rax, qword [r8 + 8]
mov byte [rax + 3], 0
mov dword [r8 + 0x28], 1
mov r9, rbx
mov qword [rsp + 0x20], r12
mov edx, 0x7a
mov rcx, r13
call fcn.140153d30
mov r8, rax
mov qword [rsp + 0x20], r12
mov r9, rsi
mov edx, 0x4f
mov rcx, r13
call fcn.140153d30
mov rdx, qword [rsp + 0x50]
mov r8, rax
mov rcx, r14
call fcn.1401453e0
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x128]
test rax, rax
je 0x1401233ff
mov rsi, qword [rsp + 0x90]
mov rcx, r14
lea rdx, [rsi + 0x49]
call fcn.140141f40
mov r12, rax
test rax, rax
je 0x14012324f
lea r8, [rsi + 0x49]
xor edx, edx
mov rcx, rax
call fcn.140249b10
mov byte [r12], 0x1b
mov rax, 0xffffffffffffffff
mov word [r12 + 0x32], ax
lea rcx, [r12 + 0x48]
mov qword [r12 + 8], rcx
test edi, edi
je 0x140123240
mov r8d, edi
mov rdx, r15
call fcn.1402496a0
mov rcx, qword [r12 + 8]
mov eax, edi
mov byte [rax + rcx], 0
mov dword [r12 + 0x28], 1
mov edx, 0x4c
mov rcx, r14
call fcn.140141f40
mov rbx, rax
test rax, rax
je 0x1401232c1
xor eax, eax
lea rcx, [rbx + 0x48]
mov qword [rbx], rax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], rax
mov qword [rbx + 0x20], rax
mov qword [rbx + 0x28], rax
mov qword [rbx + 0x30], rax
mov qword [rbx + 0x38], rax
mov qword [rbx + 0x40], rax
mov dword [rbx + 0x48], eax
mov rax, 0xffffffffffffffff
mov word [rbx + 0x32], ax
mov qword [rbx + 8], rcx
mov byte [rbx], 0x1b
movzx eax, word [0x1402bfa34]
mov word [rcx], ax
movzx eax, byte [0x1402bfa36]
mov byte [rcx + 2], al
mov rax, qword [rbx + 8]
mov byte [rax + 3], 0
mov dword [rbx + 0x28], 1
lea rdx, [rsi + 0x49]
mov rcx, r14
call fcn.140141f40
mov r15, rax
test rax, rax
je 0x14012331e
lea r8, [rsi + 0x49]
xor edx, edx
mov rcx, rax
call fcn.140249b10
mov byte [r15], 0x1b
mov rax, 0xffffffffffffffff
mov word [r15 + 0x32], ax
lea rcx, [r15 + 0x48]
mov qword [r15 + 8], rcx
test edi, edi
je 0x140123310
mov rdx, qword [rsp + 0x60]
mov r8d, edi
call fcn.1402496a0
mov rcx, qword [r15 + 8]
mov eax, edi
mov byte [rax + rcx], 0
mov dword [r15 + 0x28], 1
mov edx, 0x4c
mov rcx, r14
call fcn.140141f40
mov rsi, rax
test rax, rax
je 0x140123390
xor eax, eax
lea rcx, [rsi + 0x48]
mov qword [rsi], rax
mov qword [rsi + 0x10], rax
mov qword [rsi + 0x18], rax
mov qword [rsi + 0x20], rax
mov qword [rsi + 0x28], rax
mov qword [rsi + 0x30], rax
mov qword [rsi + 0x38], rax
mov qword [rsi + 0x40], rax
mov dword [rsi + 0x48], eax
mov rax, 0xffffffffffffffff
mov word [rsi + 0x32], ax
mov qword [rsi + 8], rcx
mov byte [rsi], 0x1b
movzx eax, word [0x1402bfa38]
mov word [rcx], ax
movzx eax, byte [0x1402bfa3a]
mov byte [rcx + 2], al
mov rax, qword [rsi + 8]
mov byte [rax + 3], 0
mov dword [rsi + 0x28], 1
mov r9, r12
mov qword [rsp + 0x20], 0
mov r8, rbx
mov edx, 0x7a
mov rcx, r13
call fcn.140153d30
xor r12d, r12d
mov r9, r15
mov r8, rsi
mov qword [rsp + 0x20], r12
mov rcx, r13
mov rbx, rax
lea edx, [r12 + 0x7a]
call fcn.140153d30
mov r8, rax
mov qword [rsp + 0x20], r12
mov r9, rbx
lea edx, [r12 + 0x49]
mov rcx, r13
call fcn.140153d30
mov rdx, qword [rsp + 0x68]
mov r8, rax
mov rcx, r14
call fcn.1401453e0
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x128]
mov r8, qword [rsp + 0xb0]
cmp r8, 6
je 0x14012365b
cmp r8, 9
jne 0x14012351b
test rax, rax
je 0x14012365b
mov rsi, qword [rsp + 0x90]
mov rcx, r14
lea rdx, [rsi + 0x49]
call fcn.140141f40
mov rbx, rax
test rax, rax
je 0x140123488
lea r8, [rsi + 0x49]
xor edx, edx
mov rcx, rax
call fcn.140249b10
mov byte [rbx], 0x1b
lea rcx, [rbx + 0x48]
mov qword [rbx + 8], rcx
mov rsi, 0xffffffffffffffff
mov word [rbx + 0x32], si
test edi, edi
je 0x140123479
mov rdx, qword [rsp + 0x60]
mov r8d, edi
call fcn.1402496a0
mov rcx, qword [rbx + 8]
mov eax, edi
mov byte [rax + rcx], 0
mov dword [rbx + 0x28], 1
jmp 0x14012348f
mov rsi, 0xffffffffffffffff
mov edx, 0x4c
mov rcx, r14
call fcn.140141f40
mov r8, rax
test rax, rax
je 0x1401234fe
xor eax, eax
lea rcx, [r8 + 0x48]
mov qword [r8], rax
mov qword [r8 + 0x10], rax
mov qword [r8 + 0x18], rax
mov qword [r8 + 0x20], rax
mov qword [r8 + 0x28], rax
mov qword [r8 + 0x30], rax
mov qword [r8 + 0x38], rax
mov qword [r8 + 0x40], rax
mov dword [r8 + 0x48], eax
mov qword [r8 + 8], rcx
mov byte [r8], 0x1b
mov word [r8 + 0x32], si
movzx eax, word [0x1402bfa34]
mov word [rcx], ax
movzx eax, byte [0x1402bfa36]
mov byte [rcx + 2], al
mov rax, qword [r8 + 8]
mov byte [rax + 3], 0
mov dword [r8 + 0x28], 1
mov r9, rbx
mov qword [rsp + 0x20], r12
mov edx, 0x7a
mov rcx, r13
call fcn.140153d30
mov rbx, rax
jmp 0x1401235f0
cmp byte [rsp + 0x110], 8
jne 0x14012355c
mov rax, qword [rsp + 0x120]
mov rdx, qword [rsp + 0xb8]
mov rax, qword [rax]
mov rcx, qword [rax + 8]
mov rdx, qword [rcx + rdx + 8]
test rdx, rdx
je 0x14012355c
xor r9d, r9d
xor r8d, r8d
mov rcx, r14
call fcn.140121dc0
mov rbx, rax
jmp 0x1401235f0
mov rcx, qword [r13]
mov edx, 0x48
call fcn.140141f40
mov rbx, rax
test rax, rax
je 0x1401235ac
xor eax, eax
mov qword [rbx], rax
mov qword [rbx + 8], rax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], rax
mov qword [rbx + 0x20], rax
mov qword [rbx + 0x28], rax
mov qword [rbx + 0x30], rax
mov qword [rbx + 0x38], rax
mov qword [rbx + 0x40], rax
mov rax, 0xffffffffffffffff
mov byte [rbx], 0x65
mov dword [rbx + 0x28], 1
mov word [rbx + 0x32], ax
mov rdi, qword [r13]
test rbx, rbx
jne 0x1401235cb
xor edx, edx
mov rcx, rdi
call fcn.140148420
xor edx, edx
mov rcx, rdi
call fcn.140148420
jmp 0x1401235f0
mov rcx, rbx
call fcn.140122380
mov rax, qword [r13]
mov r8d, dword [rax + 0x74]
cmp dword [rbx + 0x28], r8d
jle 0x1401235f0
lea rdx, str.Expression_tree_is_too_large__maximum_depth__d_
mov rcx, r13
call fcn.140144b90
mov rdx, qword [rsp + 0x70]
mov r8, rbx
mov rcx, r13
call fcn.140148f60
mov qword [rsp + 0x70], rax
mov rdi, rax
test rax, rax
je 0x14012365b
movsxd rax, dword [rax]
lea rcx, [rax + rax*4]
mov rax, qword [rdi + 8]
mov edi, ebp
mov rbp, qword [rsp + 0xa0]
lea rsi, [rax + rcx*8]
test rbp, rbp
jne 0x140123630
mov rbx, r12
jmp 0x140123657
mov rcx, qword [r13]
lea rdx, [rdi + 1]
call fcn.140141f40
mov rbx, rax
test rax, rax
je 0x140123657
mov r8, rdi
mov rdx, rbp
mov rcx, rax
call fcn.1402496a0
mov byte [rbx + rdi], 0
mov qword [rsi - 0x20], rbx
mov edx, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x98]
inc edx
mov rbx, qword [rsp + 0x120]
inc rcx
mov rsi, qword [rsp + 0x118]
mov dword [rsp + 0x58], edx
mov qword [rsp + 0x98], rcx
cmp edx, dword [rbx + 0x28]
jl 0x140122fa0
movzx r15d, byte [rsp + 0x110]
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x1401236f1
test r14, r14
je 0x1401236ec
cmp qword [r14 + 0x328], 0
je 0x1401236c0
mov rdx, rcx
mov rcx, r14
call fcn.14012a3b0
jmp 0x1401236f1
cmp rcx, qword [r14 + 0x170]
jb 0x1401236ec
cmp rcx, qword [r14 + 0x178]
jae 0x1401236ec
mov rax, qword [r14 + 0x168]
mov qword [rcx], rax
dec dword [r14 + 0x154]
mov qword [r14 + 0x168], rcx
jmp 0x1401236f1
call fcn.140108630
mov rax, qword [rbx]
mov rbx, 0xffffffffffffffff
mov rbp, qword [rax]
test rbp, rbp
jne 0x140123708
mov edi, r12d
jmp 0x14012371f
mov rdi, rbx
nop dword [rax + rax]
inc rdi
cmp byte [rdi + rbp], 0
jne 0x140123710
and edi, 0x3fffffff
cmp r15b, 6
jne 0x14012384f
mov edx, 0x66
mov qword [rsp + 0xa0], rbp
mov rcx, r14
mov dword [rsp + 0xa8], edi
call fcn.140141f40
mov rsi, rax
test rax, rax
je 0x1401237a7
xor edx, edx
mov rcx, rax
lea r8d, [rdx + 0x66]
call fcn.140249b10
mov byte [rsi], 0x39
lea rcx, [rsi + 0x48]
mov qword [rsi + 8], rcx
mov word [rsi + 0x32], bx
movups xmm0, xmmword [str.FOREIGN_KEY_constraint_failed]
movups xmmword [rcx], xmm0
movsd xmm1, qword [0x1402bf540]
movsd qword [rcx + 0x10], xmm1
mov eax, dword [0x1402bf548]
mov dword [rcx + 0x18], eax
movzx eax, byte [0x1402bf54c]
mov byte [rcx + 0x1c], al
mov rax, qword [rsi + 8]
mov byte [rax + 0x1d], 0
mov dword [rsi + 0x28], 1
mov byte [rsi + 1], 2
mov edx, 0x80
mov rcx, r14
call fcn.140141f40
mov rbx, rax
test rax, rax
je 0x140123800
xor edx, edx
mov r8d, 0x80
mov rcx, rax
call fcn.140249b10
mov dword [rbx + 4], 1
mov r8d, 1
mov r9d, dword [rbx]
mov rdx, rbx
mov rcx, r14
call fcn.140162ac0
cmp byte [r14 + 0x51], 0
mov r15, rax
mov rcx, r14
je 0x140123979
mov rdx, rax
call fcn.140162590
mov r15, r12
mov r8, rsi
xor edx, edx
mov rcx, r13
call fcn.140148f60
mov r9, qword [rsp + 0x50]
mov rdx, rax
mov qword [rsp + 0x48], r12
mov r8, r15
mov qword [rsp + 0x40], r12
mov rcx, r13
mov word [rsp + 0x38], r12w
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
call fcn.140161f20
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x50], r12
movzx r15d, byte [r14 + 0x152]
mov rcx, r14
mov esi, edi
mov byte [r14 + 0x152], 0
lea rdx, [rsi + 0x91]
call fcn.140141f40
mov rdi, rax
test rax, rax
je 0x140123889
lea r8, [rsi + 0x91]
xor edx, edx
mov rcx, rax
call fcn.140249b10
test rdi, rdi
je 0x1401239f5
lea r12, [rdi + 0x48]
mov r8, rsi
lea rcx, [r12 + 0x48]
mov qword [rdi + 0x38], r12
mov rdx, rbp
mov qword [r12 + 0x18], rcx
call fcn.1402496a0
mov rdx, qword [rsp + 0x50]
xor r9d, r9d
mov rcx, r14
lea r8d, [r9 + 1]
call fcn.140121dc0
mov rdx, qword [rsp + 0x70]
mov r8d, 1
mov rcx, r14
mov qword [r12 + 0x20], rax
call fcn.1401492d0
mov rdx, qword [rsp + 0x80]
mov r8d, 1
mov rcx, r14
mov qword [r12 + 0x28], rax
call fcn.140161c90
mov rbp, qword [rsp + 0x68]
mov qword [r12 + 0x10], rax
test rbp, rbp
je 0x1401239fa
mov rcx, qword [r13]
mov edx, 0x48
call fcn.140141f40
mov rbx, rax
test rax, rax
je 0x140123959
xor eax, eax
mov qword [rbx], rax
mov qword [rbx + 8], rax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], rax
mov qword [rbx + 0x20], rax
mov qword [rbx + 0x28], rax
mov qword [rbx + 0x30], rax
mov qword [rbx + 0x38], rax
mov qword [rbx + 0x40], rax
mov rax, 0xffffffffffffffff
mov word [rbx + 0x32], ax
mov byte [rbx], reloc.WSOCK32.dll_send
mov dword [rbx + 0x28], 1
mov rsi, qword [r13]
test rbx, rbx
jne 0x1401239a6
mov rdx, rbp
mov rcx, rsi
call fcn.140148420
xor edx, edx
mov rcx, rsi
call fcn.140148420
jmp 0x1401239da
movsxd rax, dword [rax]
lea rdx, [rsp + 0xa0]
imul rbx, rax, 0x78
call fcn.1401537e0
xor edx, edx
mov qword [rbx + r15 - 0x60], rax
mov rcx, r14
call fcn.1401537e0
mov qword [rbx + r15 - 0x68], rax
jmp 0x140123803
mov qword [rbx + 0x10], rbp
mov rcx, rbx
mov eax, dword [rbp + 4]
and eax, 0x200100
or dword [rbx + 4], eax
call fcn.140122380
mov rax, qword [r13]
mov r8d, dword [rax + 0x74]
cmp dword [rbx + 0x28], r8d
jle 0x1401239da
lea rdx, str.Expression_tree_is_too_large__maximum_depth__d_
mov rcx, r13
call fcn.140144b90
xor r9d, r9d
mov rdx, rbx
mov rcx, r14
mov rbp, rbx
lea r8d, [r9 + 1]
call fcn.140121dc0
mov qword [rdi + 0x18], rax
jmp 0x1401239fa
mov rbp, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x50]
mov rcx, r14
mov byte [r14 + 0x152], r15b
call fcn.140148420
mov rdx, rbp
mov rcx, r14
call fcn.140148420
mov rdx, qword [rsp + 0x70]
mov rcx, r14
call fcn.140149100
mov rdx, qword [rsp + 0x80]
mov r8d, 1
mov rcx, r14
call fcn.14011b030
cmp byte [r14 + 0x51], 1
mov rbp, qword [rsp + 0xc8]
jne 0x140123a5a
mov rdx, rdi
mov rcx, r14
call fcn.140124c30
xor eax, eax
jmp 0x140123acf
movzx eax, byte [rsp + 0x110]
mov rdx, qword [rsp + 0x128]
cmp al, 6
je 0x140123a85
cmp al, 9
jne 0x140123a7e
test rdx, rdx
jne 0x140123a7e
mov byte [r12], 0x6d
jmp 0x140123a8a
mov byte [r12], 0x6e
jmp 0x140123a8a
mov byte [r12], 0x77
mov r8, qword [rsp + 0x118]
test rdx, rdx
mov qword [r12 + 8], rdi
mov eax, 0x38
mov rcx, qword [r8 + 0x68]
mov qword [rdi + 0x28], rcx
mov rcx, qword [r8 + 0x68]
mov qword [rdi + 0x30], rcx
mov ecx, PathResolve
cmovne ecx, eax
mov rax, qword [rsp + 0x120]
mov qword [rcx + rax], rdi
setne cl
add cl, 0x6d
mov byte [rdi + 0x10], cl
mov rax, rdi
add rsp, 0xd0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret