Function at 0x140085e10
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
mov qword [r11 + 8], rcx
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xd0
mov r13, qword [rcx]
xor r12d, r12d
mov eax, r12d
test r9, r9
mov rdi, r8
mov rsi, rdx
setne al
movzx r15d, byte [rax + r8 + 0x2d]
add rax, 6
mov dword [rsp + 0x54], r15d
mov qword [rsp + 0xb8], rax
mov rbx, qword [r8 + rax*8]
test r15d, r15d
je 0x1400869fa
test rbx, rbx
jne 0x1400869fa
lea rax, [r11 - 0x88]
mov qword [r11 - 0x78], r12
lea r9, [r11 - 0x78]
mov qword [rsp + 0x20], rax
mov qword [r11 - 0x88], r12
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x78], r12
mov qword [rsp + 0x88], r12
mov qword [rsp + 0x70], r12
call fcn.140083da0
test eax, eax
jne 0x14008698b
or r14, 0xffffffffffffffff
mov qword [rsp + 0xc8], rbp
mov dword [rsp + 0x60], r12d
cmp dword [rdi + 0x28], r12d
jle 0x140086602
mov ecx, r12d
mov qword [rsp + 0x98], rcx
nop dword [rax]
mov rax, qword [rsp + 0x80]
test rax, rax
je 0x140085ef2
mov edx, dword [rax + rcx*4]
jmp 0x140085ef5
mov edx, dword [rdi + 0x40]
mov rax, qword [rsp + 0x90]
test rax, rax
je 0x140085f0c
mov rax, qword [rax + 8]
movzx ecx, word [rax + rcx*2]
jmp 0x140085f10
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 + 0x68], r8
lea rdx, [rax + rax*2]
mov rax, qword [rdi]
shl rdx, 4
mov qword [rsp + 0xb0], rdx
mov rcx, qword [rax + 8]
mov r15, qword [rdx + rcx]
mov qword [rsp + 0xa0], r15
test r8, r8
jne 0x140085f58
mov ebx, r12d
jmp 0x140085f6f
mov rbx, r14
nop dword [rax + rax]
inc rbx
cmp byte [r8 + rbx], r12b
jne 0x140085f60
and ebx, 0x3fffffff
test r15, r15
jne 0x140085f79
mov ebp, r12d
jmp 0x140085f8f
mov rbp, r14
nop dword [rax]
inc rbp
cmp byte [r15 + rbp], r12b
jne 0x140085f80
and ebp, 0x3fffffff
lea r14d, [rbp + 1]
mov rcx, r13
movsxd rdi, r14d
lea rdx, [rdi + 0x48]
call fcn.140036150
mov rsi, rax
test rax, rax
je 0x140085ffd
lea r8, [rdi + 0x48]
xor edx, edx
mov rcx, rax
call fcn.140218bd0
or rax, 0xffffffffffffffff
mov byte [rsi], reloc.WLDAP32.dll_Ordinal_27
mov word [rsi + 0x32], ax
test r14d, r14d
jne 0x140085fd5
or dword [rsi + 4], 0x400
mov dword [rsi + 8], r12d
jmp 0x140085ff6
lea rcx, [rsi + 0x48]
mov qword [rsi + 8], rcx
test ebp, ebp
je 0x140085fec
mov r8d, ebp
mov rdx, r15
call fcn.140218780
mov rax, qword [rsi + 8]
mov ecx, ebp
mov byte [rcx + rax], r12b
mov dword [rsi + 0x28], 1
lea r15d, [rbx + 1]
mov rcx, r13
movsxd r14, r15d
mov dword [rsp + 0x50], r15d
lea rdx, [r14 + 0x48]
call fcn.140036150
mov rdi, rax
test rax, rax
je 0x14008607c
lea r8, [r14 + 0x48]
xor edx, edx
mov rcx, rax
call fcn.140218bd0
or r14, 0xffffffffffffffff
mov byte [rdi], reloc.WLDAP32.dll_Ordinal_27
mov word [rdi + 0x32], r14w
test r15d, r15d
jne 0x140086050
or dword [rdi + 4], 0x400
mov dword [rdi + 8], r12d
mov dword [rdi + 0x28], 1
jmp 0x140086080
lea rcx, [rdi + 0x48]
mov qword [rdi + 8], rcx
test ebx, ebx
je 0x140086069
mov rdx, qword [rsp + 0x68]
mov r8d, ebx
call fcn.140218780
mov rax, qword [rdi + 8]
mov ecx, ebx
mov byte [rcx + rax], r12b
mov dword [rdi + 0x28], 1
jmp 0x140086080
or r14, 0xffffffffffffffff
mov edx, Ordinal_79
mov rcx, r13
call fcn.140036150
mov r8, rax
test rax, rax
je 0x1400860ef
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], reloc.WLDAP32.dll_Ordinal_27
mov word [r8 + 0x32], r14w
movzx eax, word [0x140299a18]
mov word [rcx], ax
movzx eax, byte [0x140299a1a]
mov byte [rcx + 2], al
mov rax, qword [r8 + 8]
mov byte [rax + 3], r12b
mov dword [r8 + 0x28], 1
mov r14, qword [rsp + 0x110]
mov r9, rdi
mov rcx, r14
mov qword [rsp + 0x20], r12
mov edx, 0x7a
call fcn.14006bf10
mov r8, rax
mov qword [rsp + 0x20], r12
mov r9, rsi
mov edx, reloc.WLDAP32.dll_Ordinal_79
mov rcx, r14
call fcn.14006bf10
mov rdx, qword [rsp + 0x58]
mov r8, rax
mov rcx, r13
call fcn.14006c120
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x128]
test rax, rax
je 0x140086396
movsxd rdi, r15d
mov rcx, r13
lea rdx, [rdi + 0x48]
call fcn.140036150
mov r15, rax
test rax, rax
je 0x1400861c7
lea r8, [rdi + 0x48]
xor edx, edx
mov rcx, rax
call fcn.140218bd0
mov esi, dword [rsp + 0x50]
or r14, 0xffffffffffffffff
mov byte [r15], reloc.WLDAP32.dll_Ordinal_27
mov word [r15 + 0x32], r14w
test esi, esi
jne 0x14008619a
or dword [r15 + 4], 0x400
mov dword [r15 + 8], r12d
mov dword [r15 + 0x28], 1
jmp 0x1400861cf
lea rcx, [r15 + 0x48]
mov qword [r15 + 8], rcx
test ebx, ebx
je 0x1400861b3
mov rdx, qword [rsp + 0x68]
mov r8d, ebx
call fcn.140218780
mov rax, qword [r15 + 8]
mov ecx, ebx
mov byte [rcx + rax], r12b
mov dword [r15 + 0x28], 1
jmp 0x1400861cf
mov esi, dword [rsp + 0x50]
or r14, 0xffffffffffffffff
mov edx, Ordinal_79
mov rcx, r13
call fcn.140036150
mov rdi, rax
test rax, rax
je 0x14008623b
xor eax, eax
lea rcx, [rdi + 0x48]
mov qword [rdi], 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
mov qword [rdi + 0x38], rax
mov qword [rdi + 0x40], rax
mov dword [rdi + 0x48], eax
mov qword [rdi + 8], rcx
mov byte [rdi], reloc.WLDAP32.dll_Ordinal_27
mov word [rdi + 0x32], r14w
movzx eax, word [0x140299a1c]
mov word [rcx], ax
movzx eax, byte [0x140299a1e]
mov byte [rcx + 2], al
mov rax, qword [rdi + 8]
mov byte [rax + 3], r12b
mov dword [rdi + 0x28], 1
movsxd rsi, esi
mov rcx, r13
lea rdx, [rsi + 0x48]
call fcn.140036150
mov r14, rax
test rax, rax
je 0x1400862ad
lea r8, [rsi + 0x48]
xor edx, edx
mov rcx, rax
call fcn.140218bd0
or rax, 0xffffffffffffffff
mov byte [r14], reloc.WLDAP32.dll_Ordinal_27
mov word [r14 + 0x32], ax
cmp dword [rsp + 0x50], r12d
jne 0x140086282
or dword [r14 + 4], 0x400
mov dword [r14 + 8], r12d
jmp 0x1400862a5
lea rcx, [r14 + 0x48]
mov qword [r14 + 8], rcx
test ebx, ebx
je 0x14008629b
mov rdx, qword [rsp + 0x68]
mov r8d, ebx
call fcn.140218780
mov rax, qword [r14 + 8]
mov ecx, ebx
mov byte [rcx + rax], r12b
mov dword [r14 + 0x28], 1
mov edx, Ordinal_79
mov rcx, r13
call fcn.140036150
mov rsi, rax
test rax, rax
je 0x14008631c
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
or rax, 0xffffffffffffffff
mov word [rsi + 0x32], ax
mov qword [rsi + 8], rcx
mov byte [rsi], reloc.WLDAP32.dll_Ordinal_27
movzx eax, word [0x140299a18]
mov word [rcx], ax
movzx eax, byte [0x140299a1a]
mov byte [rcx + 2], al
mov rax, qword [rsi + 8]
mov byte [rax + 3], r12b
mov dword [rsi + 0x28], 1
mov rcx, qword [rsp + 0x110]
mov r9, r15
mov r8, rdi
mov qword [rsp + 0x20], r12
mov edx, 0x7a
call fcn.14006bf10
mov r9, r14
mov qword [rsp + 0x20], r12
mov r14, qword [rsp + 0x110]
mov r8, rsi
mov rcx, r14
mov edx, 0x7a
mov rdi, rax
call fcn.14006bf10
mov r8, rax
mov qword [rsp + 0x20], r12
mov r9, rdi
mov edx, 0x49
mov rcx, r14
call fcn.14006bf10
mov rdx, qword [rsp + 0x70]
mov r8, rax
mov rcx, r13
call fcn.14006c120
mov r15d, dword [rsp + 0x50]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x128]
mov ecx, dword [rsp + 0x54]
cmp rcx, 6
je 0x1400865bd
cmp rcx, 9
jne 0x1400864bc
test rax, rax
je 0x1400865bd
movsxd rsi, r15d
mov rcx, r13
lea rdx, [rsi + 0x48]
call fcn.140036150
mov rdi, rax
test rax, rax
je 0x14008642c
lea r8, [rsi + 0x48]
xor edx, edx
mov rcx, rax
call fcn.140218bd0
or rsi, 0xffffffffffffffff
mov byte [rdi], reloc.WLDAP32.dll_Ordinal_27
mov word [rdi + 0x32], si
test r15d, r15d
jne 0x140086400
or dword [rdi + 4], 0x400
mov dword [rdi + 8], r12d
mov dword [rdi + 0x28], 1
jmp 0x140086430
lea rcx, [rdi + 0x48]
mov qword [rdi + 8], rcx
test ebx, ebx
je 0x140086419
mov rdx, qword [rsp + 0x68]
mov r8d, ebx
call fcn.140218780
mov rax, qword [rdi + 8]
mov ecx, ebx
mov byte [rcx + rax], r12b
mov dword [rdi + 0x28], 1
jmp 0x140086430
or rsi, 0xffffffffffffffff
mov edx, Ordinal_79
mov rcx, r13
call fcn.140036150
mov r8, rax
test rax, rax
je 0x14008649f
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], reloc.WLDAP32.dll_Ordinal_27
mov word [r8 + 0x32], si
movzx eax, word [0x140299a1c]
mov word [rcx], ax
movzx eax, byte [0x140299a1e]
mov byte [rcx + 2], al
mov rax, qword [r8 + 8]
mov byte [rax + 3], r12b
mov dword [r8 + 0x28], 1
mov r9, rdi
mov qword [rsp + 0x20], r12
mov edx, 0x7a
mov rcx, r14
call fcn.14006bf10
mov rbx, rax
jmp 0x140086550
cmp rcx, 8
jne 0x1400864f6
mov rax, qword [rsp + 0x120]
mov rdx, qword [rsp + 0xb0]
mov rax, qword [rax]
mov rcx, qword [rax + 8]
mov rdx, qword [rcx + rdx + 8]
test rdx, rdx
je 0x1400864f6
xor r9d, r9d
xor r8d, r8d
mov rcx, r13
call fcn.14006c790
mov rbx, rax
jmp 0x140086550
mov rcx, qword [r14]
mov r9d, 1
xor r8d, r8d
lea edx, [r9 + 0x64]
call fcn.14006bc80
mov rdi, qword [r14]
mov rbx, rax
test rax, rax
jne 0x14008652c
xor edx, edx
mov rcx, rdi
call fcn.14006c560
xor edx, edx
mov rcx, rdi
call fcn.14006c560
jmp 0x140086550
mov rcx, rbx
call fcn.14006bb50
mov rax, qword [r14]
mov r8d, dword [rax + 0x74]
cmp dword [rbx + 0x28], r8d
jle 0x140086550
lea rdx, str.Expression_tree_is_too_large__maximum_depth__d_
mov rcx, r14
call fcn.140038df0
mov rdx, qword [rsp + 0x78]
mov r8, rbx
mov rcx, r14
call fcn.14006d340
mov qword [rsp + 0x78], rax
mov rbx, rax
test rax, rax
je 0x1400865bd
mov eax, dword [rax]
dec eax
mov edi, ebp
mov rbp, qword [rsp + 0xa0]
cdqe
lea rcx, [rax + rax*4]
mov rax, qword [rbx + 8]
lea rsi, [rax + rcx*8]
test rbp, rbp
jne 0x140086593
mov rbx, r12
jmp 0x1400865b9
mov rcx, qword [r14]
lea rdx, [rdi + 1]
call fcn.140036150
mov rbx, rax
test rax, rax
je 0x1400865b9
mov r8, rdi
mov rdx, rbp
mov rcx, rax
call fcn.140218780
mov byte [rbx + rdi], r12b
mov qword [rsi + 8], rbx
mov edx, dword [rsp + 0x60]
mov r14, 0xffffffffffffffff
mov rcx, qword [rsp + 0x98]
inc edx
mov rdi, qword [rsp + 0x120]
inc rcx
mov rsi, qword [rsp + 0x118]
mov dword [rsp + 0x60], edx
mov qword [rsp + 0x98], rcx
cmp edx, dword [rdi + 0x28]
jl 0x140085ee0
mov r15d, dword [rsp + 0x54]
or r14, r14
mov rcx, qword [rsp + 0x80]
test rcx, rcx
je 0x14008665b
test r13, r13
je 0x140086656
cmp qword [r13 + 0x328], r12
je 0x14008662a
mov rdx, rcx
mov rcx, r13
call fcn.140035e30
jmp 0x14008665b
cmp rcx, qword [r13 + 0x170]
jb 0x140086656
cmp rcx, qword [r13 + 0x178]
jae 0x140086656
mov rax, qword [r13 + 0x168]
mov qword [rcx], rax
dec dword [r13 + 0x154]
mov qword [r13 + 0x168], rcx
jmp 0x14008665b
call fcn.140035dc0
mov rax, qword [rdi]
mov rbp, qword [rax]
test rbp, rbp
jne 0x14008666b
mov edi, r12d
jmp 0x14008667f
mov rdi, r14
nop
inc rdi
cmp byte [rdi + rbp], r12b
jne 0x140086670
and edi, 0x3fffffff
cmp r15d, 6
jne 0x1400867e4
lea edx, [r15 + 0x60]
mov qword [rsp + 0xa0], rbp
mov rcx, r13
mov dword [rsp + 0xa8], edi
call fcn.140036150
mov rsi, rax
test rax, rax
je 0x140086707
xor edx, edx
lea r8d, [r15 + 0x60]
mov rcx, rax
call fcn.140218bd0
mov byte [rsi], reloc.WS2_32.dll_gethostname
lea rcx, [rsi + 0x48]
mov qword [rsi + 8], rcx
mov word [rsi + 0x32], r14w
movups xmm0, xmmword [str.FOREIGN_KEY_constraint_failed]
movups xmmword [rcx], xmm0
movsd xmm1, qword [0x140299520]
movsd qword [rcx + 0x10], xmm1
mov eax, dword [0x140299528]
mov dword [rcx + 0x18], eax
movzx eax, byte [0x14029952c]
mov byte [rcx + 0x1c], al
mov rax, qword [rsi + 8]
mov byte [rax + 0x1d], r12b
mov dword [rsi + 0x28], 1
mov byte [rsi + 1], 2
mov edx, 0x80
mov rcx, r13
call fcn.140036150
mov rbx, rax
test rax, rax
je 0x14008675b
xor edx, edx
mov r8d, 0x80
mov rcx, rax
call fcn.140218bd0
mov dword [rbx + 4], 1
mov r8d, 1
mov r9d, dword [rbx]
mov rdx, rbx
mov rcx, r13
call fcn.14007ca50
mov r14, rax
mov rcx, r13
cmp byte [r13 + 0x51], r12b
je 0x1400867b4
mov rdx, rax
call fcn.14007cd60
mov r14, r12
mov r15, qword [rsp + 0x110]
mov r8, rsi
mov rcx, r15
xor edx, edx
call fcn.14006d340
mov r9, qword [rsp + 0x58]
mov rdx, rax
mov qword [rsp + 0x48], r12
mov r8, r14
mov qword [rsp + 0x40], r12
mov rcx, r15
mov word [rsp + 0x38], r12w
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
call fcn.140091310
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x58], r12
jmp 0x1400867ec
mov eax, dword [rax]
lea rdx, [rsp + 0xa0]
dec eax
cdqe
imul rbx, rax, 0x78
call fcn.140077a00
xor edx, edx
mov qword [rbx + r14 + 0x18], rax
mov rcx, r13
call fcn.140077a00
mov qword [rbx + r14 + 0x10], rax
jmp 0x14008675e
mov r15, qword [rsp + 0x110]
movzx r14d, byte [r13 + 0x152]
mov rcx, r13
mov esi, edi
mov byte [r13 + 0x152], r12b
lea rdx, [rsi + 0x91]
call fcn.140036150
mov rbx, rax
test rax, rax
je 0x140086825
lea r8, [rsi + 0x91]
xor edx, edx
mov rcx, rax
call fcn.140218bd0
test rbx, rbx
je 0x14008692a
lea r12, [rbx + 0x48]
mov r8, rsi
lea rcx, [r12 + 0x48]
mov qword [rbx + 0x38], r12
mov rdx, rbp
mov qword [r12 + 0x18], rcx
call fcn.140218780
mov rdx, qword [rsp + 0x58]
xor r9d, r9d
mov rcx, r13
lea r8d, [r9 + 1]
call fcn.14006c790
mov rdx, qword [rsp + 0x78]
mov r8d, 1
mov rcx, r13
mov qword [r12 + 0x20], rax
call fcn.14006cbb0
mov rdx, qword [rsp + 0x88]
mov r8d, 1
mov rcx, r13
mov qword [r12 + 0x28], rax
call fcn.14006d1e0
mov rbp, qword [rsp + 0x70]
mov qword [r12 + 0x10], rax
test rbp, rbp
je 0x14008692f
mov rcx, qword [r15]
mov r9d, 1
xor r8d, r8d
lea edx, [r9 + 0x12]
call fcn.14006bc80
mov rsi, qword [r15]
mov rdi, rax
test rax, rax
jne 0x1400868dc
mov rdx, rbp
mov rcx, rsi
call fcn.14006c560
xor edx, edx
mov rcx, rsi
call fcn.14006c560
jmp 0x14008690f
mov qword [rax + 0x10], rbp
mov rcx, rdi
mov eax, dword [rbp + 4]
and eax, 0x200100
or dword [rdi + 4], eax
call fcn.14006bb50
mov rax, qword [r15]
mov r8d, dword [rax + 0x74]
cmp dword [rdi + 0x28], r8d
jle 0x14008690f
lea rdx, str.Expression_tree_is_too_large__maximum_depth__d_
mov rcx, r15
call fcn.140038df0
xor r9d, r9d
mov rdx, rdi
mov rcx, r13
mov rbp, rdi
lea r8d, [r9 + 1]
call fcn.14006c790
mov qword [rbx + 0x18], rax
jmp 0x14008692f
mov rbp, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x58]
mov rcx, r13
mov byte [r13 + 0x152], r14b
call fcn.14006c560
mov rdx, rbp
mov rcx, r13
call fcn.14006c560
mov rdx, qword [rsp + 0x78]
mov rcx, r13
call fcn.14006d5b0
mov rdx, qword [rsp + 0x88]
mov r8d, 1
mov rcx, r13
call fcn.1400911f0
cmp byte [r13 + 0x51], 1
mov rbp, qword [rsp + 0xc8]
jne 0x14008698f
mov rdx, rbx
mov rcx, r13
call fcn.140085040
xor eax, eax
jmp 0x1400869fd
mov eax, dword [rsp + 0x54]
mov r8, qword [rsp + 0x128]
cmp eax, 6
je 0x1400869b8
cmp eax, 9
jne 0x1400869b1
test r8, r8
jne 0x1400869b1
mov byte [r12], WSASetLastError
jmp 0x1400869bd
mov byte [r12], WSASetLastError
jmp 0x1400869bd
mov byte [r12], 0x77
mov rdx, qword [rsp + 0x118]
test r8, r8
mov rax, qword [rsp + 0x120]
mov qword [r12 + 8], rbx
mov rcx, qword [rdx + 0x68]
mov qword [rbx + 0x28], rcx
mov rcx, qword [rdx + 0x68]
mov qword [rbx + 0x30], rcx
mov rcx, qword [rsp + 0xb8]
mov qword [rax + rcx*8], rbx
setne cl
add cl, 0x6d
mov byte [rbx + 0x10], cl
mov rax, rbx
add rsp, 0xd0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret